Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 4.0 - Beta, 4.0
-
Component/s: API, Core/Parsing, Viewer RI
-
Labels:None
-
Environment:None
Description
Implement text selection via mouse and keyboard commands and corresponding clipboard interaction.
This will likely be a four part implementations.
- Ghyph selected state painting
- Addition of mouse listeners for text selection
- Addition of key listeners for text selection
- Integration with clipboard.
Once the mouse to glyph geometry is complete the adding the interactive layer should be relatively straight forward.
This will likely be a four part implementations.
- Ghyph selected state painting
- Addition of mouse listeners for text selection
- Addition of key listeners for text selection
- Integration with clipboard.
Once the mouse to glyph geometry is complete the adding the interactive layer should be relatively straight forward.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Text selection has been added the component page view and RI. Also a new edit menu has been added to the RI that contains a 'copy', 'select all', and 'deselect all'.
There is system property for changes the selected text colour, "org.icepdf.core.views.page.text.selectionColor" and the default colour is #0077FF.
Support for double click word selection has been added and triple click sentence/line selection is also available. There is now support as of yet for right to left selection at this time.
For very long documents it is more efficient to use 'export text' rather then "select all" -> "copy".