You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2019/03/28 13:45:00 UTC

[jira] [Created] (PDFBOX-4498) ExportFDF tool skips FDF from Comments

Nick Burch created PDFBOX-4498:
----------------------------------

             Summary: ExportFDF tool skips FDF from Comments
                 Key: PDFBOX-4498
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4498
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.14
            Reporter: Nick Burch
         Attachments: SimpleWithComments.pdf, SimpleWithComments.xfdf

I have a PDF which contains lots of comments, which I want to export as XFDF. (Currently, this is done manually by firing up Acrobat, going to the Comment tool, and picking {{Export all to Data File}})

If I use the {{org.apache.pdfbox.tools.ExportFDF}} tool, I get a FDF with no comments in. If I tweak it to use {{saveXFDF}} instead of {{saveFDF}}, I get an almost-empty XFDF with no comments either

From some limited research, it seems that the tool only handles the form-based FDFs, not the annotation-based FDFs. Ideally it would be extended to handle both.

In case it helps, attached is a simple 1 page PDF with 2 comments in, and the XFDF you get if you export the comments in Acrobat



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org