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

Maruan Sahyoun commented on PDFBOX-2281:
----------------------------------------

A quick explanation on 'Invisible' annotations. 

The PDF specification describes several standard annotations but the list of 
annotations is extensible i.e. one could define new annotation types. The 
handling of annotations should be done by an annotation handler and is 
implementation specific. This allows to extend the list of annotation types.

>From the spec for 'invisible'
{quote}
If set, do not display the annotation if it does not belong to one of the 
standard annotation types and no annotation handler is available. If clear, 
display such an unknown annotation using an appearance stream specified by its 
appearance dictionary
{quote}

For PDFBox and rendering IMHO

if 'invisible' is SET
- render using the appearance stream
- if there is none and it's a standard annotation generate an appearance stream 
with defaults and render that
- if it's not one of the standard annotations don't render it
- maybe provide a mechanism to provide appearance generation for non standard 
appearances

if 'invisible' is CLEAR
- render using the appearance stream

But I think we can very much wait until such a document comes up.




> Yellow box shown
> ----------------
>
>                 Key: PDFBOX-2281
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2281
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>            Assignee: Tilman Hausherr
>              Labels: Annotations
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2281-2_unc.pdf, PDFBOX-2281-yellownoprint.pdf, 
> image.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> image.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to