ICEpdf
  1. ICEpdf
  2. PDF-990

Improve text selection accuracy

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49529 Wed Nov 09 11:04:30 MST 2016 patrick.corless PDF-990 missed merging of LinePositionComparator.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LinePositionComparator.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49528 Tue Nov 08 13:15:11 MST 2016 patrick.corless PDF-990 reword text selection to use first and second word inclusion for selecting multiple lines.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49484 Tue Nov 08 10:01:38 MST 2016 patrick.corless PDF-990 update margin declaration so it can be set on a per document basis. Update api for improved integration with client's code.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49479 Tue Nov 08 09:49:26 MST 2016 patrick.corless PDF-990 fixed waiting icon lag, multiline/page clean up, added text selection on scroll wheel moves.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/listeners/DefaultPageViewLoadingListener.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49477 Tue Nov 08 09:23:18 MST 2016 patrick.corless PDF-990 created new methods by request of client to make extending mvc viewer classes a bit easier.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49476 Tue Nov 08 09:05:49 MST 2016 patrick.corless PDF-990 moving back to text selection alpha paint rather then a composite blend that is causing problems on linux.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49475 Tue Nov 08 09:04:27 MST 2016 patrick.corless PDF-990 furhter improvements to line selection accross multiple pages.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49474 Tue Nov 08 09:01:27 MST 2016 patrick.corless PDF-990 added exclusion margins for text selection.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49473 Tue Nov 08 08:59:46 MST 2016 patrick.corless PDF-990 code clean up and further refinements to multiline selection.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49472 Tue Nov 08 08:57:50 MST 2016 patrick.corless PDF-990 code clean up and further refinements to multiline selection.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49471 Tue Nov 08 08:54:04 MST 2016 patrick.corless PDF-990 reword text selection to use first and second word inclusion for selecting multiple lines.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentViewModel.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/OnePageView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/CollectionDocumentView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/LineAnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/ZoomInPageHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/SquareAnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/HighLightAnnotationHandler.java
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/TwoColumnPageView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/FreeTextAnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/SelectionBoxHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/OneColumnPageView.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/CircleAnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/AdditionalActionsDictionary.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/AbstractText.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/PageText.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/CommonToolHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/ZoomInViewHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractPageViewComponent.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/LinkAnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/examples/component/ViewerComponentExample.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/TwoPageView.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48934 Mon Jun 13 09:35:26 MDT 2016 patrick.corless PDF-990 update margin declaration so it can be set on a per document basis. Update api for improved integration with client's code.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph 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 #48873 Wed Jun 01 13:45:58 MDT 2016 patrick.corless PDF-990 fixed waiting icon lag, multiline/page clean up, added text selection on scroll wheel moves.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/listeners/DefaultPageViewLoadingListener.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/TextSprite.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48781 Thu May 12 16:35:08 MDT 2016 patrick.corless PDF-990 created new methods by request of client to make extending mvc viewer classes a bit easier.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph 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 #48780 Thu May 12 16:17:26 MDT 2016 patrick.corless PDF-990 moving back to text selection alpha paint rather then a composite blend that is causing problems on linux.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph 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 #48779 Thu May 12 16:01:48 MDT 2016 patrick.corless PDF-990 furhter improvements to line selection accross multiple pages.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java
        Commit graph 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 PDF-990 added exclusion margins for text selection.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48651 Fri Apr 22 13:02:52 MDT 2016 patrick.corless PDF-990 code clean up and further refinements to multiline selection.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/SelectionBoxHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph 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 #48646 Thu Apr 21 11:42:31 MDT 2016 patrick.corless PDF-990 code clean up and further refinements to multiline selection.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph 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 #48644 Wed Apr 20 15:02:09 MDT 2016 patrick.corless PDF-990 reword text selection to use first and second word inclusion for selecting multiple lines.
        Files Changed
        Commit graph ADD /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelection.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentViewModel.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/TwoColumnPageView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/SelectionBoxHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/CommonToolHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractDocumentView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/HighLightAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/LinkAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/CircleAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/ZoomInPageHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/TwoPageView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/OneColumnPageView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LinePositionComparator.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractPageViewComponent.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/FreeTextAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/PageText.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/AbstractText.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionViewHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/OnePageView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/ZoomInViewHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/CollectionDocumentView.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/SquareAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/LineAnnotationHandler.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewModel.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: