[
https://issues.apache.org/jira/browse/PDFBOX-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247766#comment-17247766
]
Tilman Hausherr commented on PDFBOX-5039:
-----------------------------------------
I got the other test to work too.
- added {{addSimpleCommentNeedToBeUpdatedTrue(doc, oldImage);}} at line 247 and
284 after {{load()}}
- added {{objectsToWrite.add(doc.getPage(0).getCOSObject());}} at line 324
before {{saveIncremental()}}
- the other thing I mentioned earlier.
> Annotations with the saveIncrement method are not added to a signed PDF
> document
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-5039
> URL: https://issues.apache.org/jira/browse/PDFBOX-5039
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.22
> Reporter: Anze Germovsek
> Priority: Major
> Attachments: TestAddAnnotationOnExistingSignPdf.java
>
>
> When I add an annotation to an existing signed PDF document, it is not
> visible changes in the new saved document with method *saveIncremental*.
> However, if I use the *save* method, the signed document is corrupted.
> I tested in version 2.0.22-SNAPSHOT with test on attachments:
> TestAddAnnotationOnExistingSignPdf.java
> Can you please explain to me what I am doing wrong?
> Is it known in which version and when the pdfbox should allow adding various
> annotations to signed documents?
> Thanks
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]