Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.1
-
Fix Version/s: 6.1.2
-
Component/s: Core/Parsing, Viewer RI
-
Labels:None
-
Environment:any
Description
A client has asked us to enhance the text selection capabilities of the Viewer RI. The current implementation defines a selected region by using a selection box that is created with a mouse press and drag. This approach work OK for paragraph selection but for selecting a sentence it can get a little unyielding.
The new approach will map the first and last word of a selection and fill in the words in between.
The new approach will map the first and last word of a selection and fill in the words in between.
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48646 | Thu Apr 21 11:42:31 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48651 | Fri Apr 22 13:02:52 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/SelectionBoxHandler.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48652 | Mon Apr 25 09:58:51 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java |
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.1.2 [ 13070 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48779 | Thu May 12 16:01:48 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48780 | Thu May 12 16:17:26 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Page.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48781 | Thu May 12 16:35:08 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48934 | Mon Jun 13 09:35:26 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49472 | Tue Nov 08 08:57:50 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49473 | Tue Nov 08 08:59:46 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49474 | Tue Nov 08 09:01:27 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49475 | Tue Nov 08 09:04:27 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49476 | Tue Nov 08 09:05:49 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49477 | Tue Nov 08 09:23:18 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49479 | Tue Nov 08 09:49:26 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/listeners/DefaultPageViewLoadingListener.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49484 | Tue Nov 08 10:01:38 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49528 | Tue Nov 08 13:15:11 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49529 | Wed Nov 09 11:04:30 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LinePositionComparator.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
A tone of work has been done to make text selection feel more natural. The new algorithm allows a users to select a paragraph as define by a start and end glyph range. The older method of intersection with selection box has been removed in favour of the new method.
Further enhancements have been made to allow for text selection starting on one page and then continuing on to two or more pages. This feature was available in version 4.x but was removed until now.
There is also the ability to manually set exclusion zones. The purpose of this is to avoid selecting text that may repeat in a header or footer. The features is turned off by default but can be turned on with the system property -Dorg.icepdf.core.views.page.marginExclusion.enabled=true
The margins are controlled with the properties -Dorg.icepdf.core.views.page.marginExclusion.top and -Dorg.icepdf.core.views.page.marginExclusion.bottom. An integer value in pixels represent each margin. The default values are 75 and 75. And finaly it's possible to show the margins visually on the page for testing purposes with the property -Dorg.icepdf.core.views.page.marginExclusionBorder.enabled=true.