ICEpdf
  1. ICEpdf
  2. PDF-74

Add ability to view/edit a link annotations attributes to the ICEpdf Viewer RI

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0 - Beta, 4.0
    • Component/s: API, Core/Parsing, Examples
    • Labels:
      None
    • Environment:
      ICEpdf Viewer RI, underlying ICEpdf core API as required.

      Description

      Need the ability to view and edit the properties associated with a link annotation. This GUI for this should be a standard name-value pair property sheet panel.

      The following link annotation properties are viewable/editable:

      1. Picture 6.png
        61 kB
      2. Picture 7.png
        45 kB

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Please edit to complete the reqs. for this.

          Show
          Ken Fyten added a comment - Please edit to complete the reqs. for this.
          Hide
          Ken Fyten added a comment -

          Annotation Properties panel mockups.

          Show
          Ken Fyten added a comment - Annotation Properties panel mockups.
          Hide
          Patrick Corless added a comment -

          Checked in AnnotationComponent which wrap page Annotation for a particular PageViewComponent. When the new "Selection" tool is selected all none bordered annotations are given a border so that the editor know where they are. Any other annotation type has a rollover effect to mark the annotation to the editor.

          When an annotation gains focus either by the mouse or keyboard tabbing it is then eligible for editing. Currently link annotation can be resized and moved and all other annotation types can only be moved. The resize and move change an annotations rectangle properties and the update is immediately repainted.

          Next step is is to extend the annotation callback api to notify the user of edits and of new annotations creation. Annotation creation will occur via a new tool,

          Show
          Patrick Corless added a comment - Checked in AnnotationComponent which wrap page Annotation for a particular PageViewComponent. When the new "Selection" tool is selected all none bordered annotations are given a border so that the editor know where they are. Any other annotation type has a rollover effect to mark the annotation to the editor. When an annotation gains focus either by the mouse or keyboard tabbing it is then eligible for editing. Currently link annotation can be resized and moved and all other annotation types can only be moved. The resize and move change an annotations rectangle properties and the update is immediately repainted. Next step is is to extend the annotation callback api to notify the user of edits and of new annotations creation. Annotation creation will occur via a new tool,
          Hide
          Carlo Guglielmin added a comment -

          Added an AnnotationLinkPanel that contains UI elements for modifying the properties of an Annotation. Current this panel is displayed in the utility pane as a new tab.

          When an Annotation is selected on the page all available properties (current just border color) will be applied to the properties panel and displayed. Also choosing a new border color will reapply to the AnnotationComponent object, but currently doesn't automatically update on the page.

          Show
          Carlo Guglielmin added a comment - Added an AnnotationLinkPanel that contains UI elements for modifying the properties of an Annotation. Current this panel is displayed in the utility pane as a new tab. When an Annotation is selected on the page all available properties (current just border color) will be applied to the properties panel and displayed. Also choosing a new border color will reapply to the AnnotationComponent object, but currently doesn't automatically update on the page.
          Hide
          Carlo Guglielmin added a comment -

          The border color, style, and width now all properly apply to the AnnotationComponent. Also the actions can be undone/redone using the standard menu items thanks to new integration with the UndoCaretaker.

          Show
          Carlo Guglielmin added a comment - The border color, style, and width now all properly apply to the AnnotationComponent. Also the actions can be undone/redone using the standard menu items thanks to new integration with the UndoCaretaker.
          Hide
          Patrick Corless added a comment -

          After some testing it apears that I'm still having problems with wither a border thckness error or a rounding error when moving back and forth between component bounds and float based annotation bounds. The problem shows up when moving an annotation around the page at 100% zoom, every move results in the annotation bounding box shrinking slightly. If the zoom is higher things are ok which I guess makes it a rounding error.

          The other major issue is that undoing a delete seems to break the component location, after a move things are ok but if you move, delete and then undo twice the annotation component bounds are off, the annotation draws correctly though.

          Show
          Patrick Corless added a comment - After some testing it apears that I'm still having problems with wither a border thckness error or a rounding error when moving back and forth between component bounds and float based annotation bounds. The problem shows up when moving an annotation around the page at 100% zoom, every move results in the annotation bounding box shrinking slightly. If the zoom is higher things are ok which I guess makes it a rounding error. The other major issue is that undoing a delete seems to break the component location, after a move things are ok but if you move, delete and then undo twice the annotation component bounds are off, the annotation draws correctly though.
          Hide
          Patrick Corless added a comment -

          Finished last of annotation and action dialoge tweaks. Will create new bugs for any future problems.

          Show
          Patrick Corless added a comment - Finished last of annotation and action dialoge tweaks. Will create new bugs for any future problems.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: