pdfAnnotate icon indicating copy to clipboard operation
pdfAnnotate copied to clipboard

Problem with removing annotations, when annots on page is array and dont have a pointer

Open BrandajskyMatus opened this issue 4 years ago • 5 comments

Hello, we have a problem with delete a annotations, when annots is a array and dont have a pointer (object where value are array of annotations)

When I try to remove this annotation - I get this error message image

Problem is that pageReference dont have a annotsPointer in object: image

Thank you for help

BrandajskyMatus avatar Dec 08 '21 09:12 BrandajskyMatus

problem.pdf

This is a example PDF, when annotation not remove.

BrandajskyMatus avatar Dec 08 '21 09:12 BrandajskyMatus

Also having this issue, would be great if we could get some advice on how to handle this and why the annotsPointer is missing

hdsysdev avatar Jan 12 '22 11:01 hdsysdev

Hi @BrandajskyMatus and @hdudowicz, thank you for reporting.

I'll look into it ASAP. We are in the final testing stages of a huge update and if I remember correctly, there are even fixes merged related to removal issues. So it might be that the problem will be solved by that. I'll try finish testing until end of this week and then focus on the removal issue.

highkite avatar Jan 12 '22 12:01 highkite

@highkite Great to hear! Many thanks for the reply and your work on this library

hdsysdev avatar Jan 12 '22 13:01 hdsysdev