pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruan Sahyoun <sahy...@fileaffairs.de>
Subject Re: How to set the appearance stream entry for a PDAnnotation?
Date Fri, 14 Aug 2015 07:19:03 GMT

> Am 14.08.2015 um 01:07 schrieb Sameer Kalburgi <sameer@fieldwire.com>:
> As mentioned here: https://issues.apache.org/jira/browse/PDFBOX-2019, I'm
> trying to generate an appearance stream so viewers beyond Adobe Acrobat
> will correctly display annotations.
> What exactly is supposed to go into the appearance dictionary for a
> PDAnnotationPolyline or PDAnnotationPolygon?

the details of the content of the appearance stream for annotations - as Acrobat creates them
- are not part of the PDF specification. What I've done when looking at doing the same for
form fields is have some sample files created with Acrobat, inspecting the content using the
PDFDebugger and replicate that.


> Ref:
> http://pdfbox.apache.org/docs/1.8.9/javadocs/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.html#setAppearance(org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary)

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

View raw message