ICEpdf
  1. ICEpdf
  2. PDF-807

DocumentSearchControllerImpl not using pageViewText()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.1.1
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      A support request came in via the forms with regards to a PDF that when executed using the NewAnnotationPostPageLoad the annotation would not be created in the correct locations.

      I've taken closer look at this and it appears that the DocumentSearchControllerImpl is not using the the page.getViewText() method. It's currently useing page.getText() which returns the text but the coordinate space hasn't been setup correctly.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42621 Wed Sep 24 13:37:30 MDT 2014 patrick.corless PDF-807 update search controller to use page view text instead of the extraction method view text. This address an issue with our annotation samples in that annotation locations are off if the page/shape stack has a none identity affine transform.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/examples/annotation/NewAnnotationPrePageLoad.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/search/DocumentSearchControllerImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/examples/annotation/NewAnnotationPostPageLoad.java
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.1.1 [ 11770 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42622 Wed Sep 24 13:46:11 MDT 2014 patrick.corless PDF-807 possibility of null shapes.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Hide
        Patrick Corless added a comment -

        I've updated the annotation examples to be a little more AWT friendly and have checked in the updated code for the DocumentSearchControllerImp.java

        Show
        Patrick Corless added a comment - I've updated the annotation examples to be a little more AWT friendly and have checked in the updated code for the DocumentSearchControllerImp.java
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: