ICEpdf
  1. ICEpdf
  2. PDF-645

IncrementalUpdater provides deleted annotations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.3
    • Fix Version/s: 5.0.4
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Win XP

      Description

      As we need to store annotations seperatly we use the IncrementalUpdater to extract the annotations. Unfortunatly when all annotations of a document are deleted there will be still annotation information provided by the IncrementalUpdater. Cause of that we are not able to know when every once made annotation of a document is deleted and the document is free from annotations again.

      This is how it looks after some text and popup annotations are deleted:

      5 0 obj
      <</Resources <</XObject <</IMCyUpgFrN 7 0 R >> /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] >> /MediaBox [0 0 592.56 832.68] /Type /Page /Parent 1 0 R /Contents 6 0 R /Annots 13 0 R >>
      endobj
      12 0 obj
      <</BaseFont /Helvetica /Encoding /WinAnsiEncoding /FirstChar 32 /Subtype /Type1 /Type /Subtype /Name /ice1 /LastChar 255 >>
      endobj
      13 0 obj
      []
      endobj
      16 0 obj
      <</BaseFont /Helvetica /Encoding /WinAnsiEncoding /FirstChar 32 /Subtype /Type1 /Type /Subtype /Name /ice1 /LastChar 255 >>
      endobj

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38289 Thu Sep 26 11:02:47 MDT 2013 patrick.corless PDF-645 updated the deleteAnnotation() to clean up any fonts object associated with TextAnnotations.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38290 Thu Sep 26 11:02:55 MDT 2013 patrick.corless PDF-645 updated the deleteAnnotation() to clean up any fonts object associated with TextAnnotations.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Stefan Franz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: