[poppler] z-order of annotation objects in PDF document
Leonard Rosenthol
lrosenth at adobe.com
Thu Apr 12 11:50:49 PDT 2012
Z order of annotations is the order of the Annots array - FIFO style.
(aka the first one in the list is the lowest in Z).
Leonard
On 4/12/12 3:31 AM, "Tobias Koenig" <tobias.koenig at kdab.com> wrote:
>Hej,
>
>I have a PDF document here that has been created with pdflatex and the
>movie15 LaTeX package. The following code snippet:
>
> \includemovie[]
> {40mm}
> {40mm}
> {LMF_test.avi}
>
>generates two annotations inside the PDF, a MediaRendition annotation and
>a
>FileAttachment annotation. Unfortunately both have the very same
>coordinates
>which means that they are placed on top of each other.
> ....
> /Annots [ 15 0 R 16 0 R ]
> ....
> 15 0 obj <<
> /Type /Annot
> /Subtype /FileAttachment/F 0/T (LMF_test.avi)/Contents (Media
>File(video/avi))/AP <</N<<>>/R<<>>/D<<>>>>/FS 14 0 R
> /Rect [124.724 74.448 238.11 187.833]
> >> endobj
>
> 16 0 obj <<
> /Type /Annot
> /Subtype /Screen/Border [0 0 0]/BS <</S/S/W 0>>/F 5/T
> (LMF_test.avi)/Contents (Media File (video/avi))/P 9 0 R/A 11 0 R/AA 12
>0 R/AP <</N<<>>/R<<>>/D<<>>>>
> /Rect [124.724 74.448 238.11 187.833]
> >> endobj
> ...
>
>I searched through the PDF spec already but couldn't find any hint how
>such
>a case should be handled.
>Does the PDF spec and/or poppler define a z-order for annotations, so
>that viewer applications
>can decide which annotation should be shown on top of another annotation?
>
>Ciao,
>Tobias
>--
>Tobias Koenig | tobias.koenig at kdab.com | Developer
>KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
>Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
>KDAB - Qt Experts - Platform-independent software solutions
More information about the poppler
mailing list