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

Import XFDF stamp annotation loses appearance

    XMLWordPrintableJSON

    Details

      Description

      When loading an XFDF which has a stamp annotation which contains an appearance element after added to the PDF in place of the annotation is an box with an X.

      Reviewing the FDFAnnotationStamp class, it skips all internal elements.  Is there any development being done to enhance this?

      I've attached "xfdf stamp annotation to PDF.zip" which has an example, if you open the stamp_annot.xfdf it will show on the PDF.  While using PDFBox API the only piece missing is the appearance of the stamp.

        Attachments

        1. xfdf stamp annotation to PDF.zip
          2.10 MB
          Andrew Hung
        2. FDFAnnotationStamp.java
          10 kB
          Andrew Hung
        3. Stamp_appearance_decoded.txt
          18 kB
          Andrew Hung
        4. stamp_annotation.xfdf
          377 kB
          Andrew Hung
        5. A1.01 - MYLES - 2ND-4TH FLOOR PLAN.pdf
          1.00 MB
          Andrew Hung
        6. FDFAnnotationStamp2.java
          19 kB
          Andrew Hung
        7. ap.xml
          269 kB
          Tilman Hausherr
        8. example.zip
          1.32 MB
          Andrew Hung
        9. FDFAnnotationStamp_final.java
          5 kB
          Andrew Hung
        10. FDFAnnotationStampAppearance_final.java
          9 kB
          Andrew Hung
        11. A1.01 - MYLES - 2ND-4TH FLOOR PLAN_stamp_markup.pdf
          1.42 MB
          Tilman Hausherr

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                andrew.hung Andrew Hung
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: