pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4437) Import XFDF stamp annotation loses appearance
Date Wed, 23 Jan 2019 17:12:00 GMT

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

Tilman Hausherr commented on PDFBOX-4437:

COSStream is also a COSDictionary. So in this appearance, N and xobj1 are streams.

NAME is a COSName.

I haen't found a COSString… maybe you have other files. Or maybe it is explained in the
XFDF specification. (will look later)

{color:#333333}createRawOutputStream {color} is to write the data of a COSStream low level,
i.e. no encoding. (It is already encoded)

ifyou're using jdk6, then use {{DatatypeConverter.parseBase64Binary()}}.

> Import XFDF stamp annotation loses appearance
> ---------------------------------------------
>                 Key: PDFBOX-4437
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4437
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13
>            Reporter: Andrew Hung
>            Priority: Major
>         Attachments: A1.01 - MYLES - 2ND-4TH  FLOOR PLAN.pdf, FDFAnnotationStamp.java,
FDFAnnotationStamp2.java, Stamp_appearance_decoded.txt, stamp_annotation.xfdf, xfdf stamp
annotation to PDF.zip
> 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.

This message was sent by Atlassian JIRA

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

View raw message