Details
-
Type: Bug
-
Status: Closed
-
Priority: 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
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
Thanks for the feedback Stephan, cleanup should be possible with the exception of the page object but I'll see what can be done.