[poppler] z-order of annotation objects in PDF document

Tobias Koenig tobias.koenig at kdab.com
Thu Apr 12 00:31:46 PDT 2012


I have a PDF document here that has been created with pdflatex and the
movie15 LaTeX package. The following code snippet:


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?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120412/4e0975d3/attachment-0001.bin>

More information about the poppler mailing list