[ 
https://issues.apache.org/jira/browse/PDFBOX-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500381#comment-14500381
 ] 

Johanneke Lamberink edited comment on PDFBOX-2758 at 4/17/15 6:35 PM:
----------------------------------------------------------------------

I've attached a patch, I hope I made it correctly, not really experienced with 
SVN.

Most of the required and optional attributes for the usual annotations are now 
processed by the fdf package, but not all. 
I couldn't figure out what to do with the defaultStyle and defaultAppearance.
And there are a couple of annotations I did not change (link, attachments).

Please note that there are attributes that are now set when creating the 
FDFAnnotation objects, but are not used by the different PDAnnotation objects 
(for example, the inklist from the ink annotation). Since the subject of this 
story was to support annotations when importing XFDF, I felt like that would be 
a separate story to work on.


was (Author: johanneke):
I've attached a patch, I hope I made it correctly, not really experienced with 
SVN.

Most of the required and optional attributes for the usual annotations are now 
processed by the fdf package, but not all. 
I couldn't figure out what to do with the defaultStyle and defaultAppearance.
And there are a couple of annotations I did not change (link, attachments).

> 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.patch
>
>
> 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]

Reply via email to