Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4498

ExportFDF tool skips FDF from annotations

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.14
    • None
    • Utilities

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nick Nick Burch

            Dates

              Created:
              Updated:

              Slack

                Issue deployment