[
https://issues.apache.org/jira/browse/PDFBOX-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555909#comment-14555909
]
Johanneke Lamberink commented on PDFBOX-2758:
---------------------------------------------
[~msahyoun] Thank you for the patching :)
I've just tried it, but it doesn't work for me. The new COSNames that were
added are not being used in the FDFAnnotation and PDAnnotation classes. This is
a problem especially for the FDFAnnotation classes.
For example, in FDFAnnotation.java line 435 you set the color for the key
"color", but when creating a PDAnnotation you look for the key "C" (COSName.C).
As a result, a PDAnnotation created from an FDFAnnotation COSObject will not
have a color, even though the information is there.
> Support additional annotation types when importing XFDF files
> -------------------------------------------------------------
>
> Key: PDFBOX-2758
> URL: https://issues.apache.org/jira/browse/PDFBOX-2758
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.8.9, 2.0.0
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Attachments: pdfbox-2758-cosname.patch, pdfbox-2758-fdf.patch,
> pdfbox-2758-fdfDictionary.patch, pdfbox-2758-pd.patch,
> pdfbox-2758-test.patch, xfdf-test-document-annotations.xml,
> xfdf-test-document.pdf
>
>
> When importing an XFDF file an IOException is generated if the annotation
> type is not {{text}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]