ICEpdf
  1. ICEpdf
  2. PDF-245

Locked annotations are not visilbe in Viewer RI

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf Viewer RI 4.0 beta or higher.

      Description

      A user on the form posted an PDF where the digital signatures where not being rendered in the Viewer RI but were printed correctly. I took a closer look and found that the annotations in question are "locked" which means they can not be moved or resized. The code in AnnotationHandler.initializeAnnotationComponents for some reason doesn't build components for the "locked" annotations. In this case locked is grouped with readonly locked, invisible and hiddend.

      The AnnotationHandler should be refactored so that readonly and locked annotations components are created and painted. The AnnotationComponentImpl should be updated to to insure that the locked and readonly flags are respected for various event types.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.2 [ 10243 ]
        Patrick Corless made changes -
        Salesforce Case []
        Assignee Priority P1
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23979 Thu Feb 17 09:53:27 MST 2011 patrick.corless PDF-245 touched up the AnnotationComponentImpl so that locked and readonly annotation would be added as component to the view component. Also updated the AnnotationHandler so that readonly and locked annotation could not be moved and readonly annotation could not have it's properties edited. The specification is a bit gray as to what exactly locked means, I'm assuming it just mean position information and that border and actions can be changed.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/AnnotationComponentImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/common/AnnotationHandler.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Shapes.java
        Hide
        Patrick Corless added a comment -

        Checked updated annotation code, closing.

        Show
        Patrick Corless added a comment - Checked updated annotation code, closing.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten 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: