Bug 48077 - Values in PDF Number Trees must be indirect references
Summary: Values in PDF Number Trees must be indirect references
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: all
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 09:58 UTC by Vincent Hennebert
Modified: 2012-04-07 01:51 UTC (History)
0 users



Attachments
Sample FO file (1.62 KB, text/x-xslfo)
2009-10-28 09:58 UTC, Vincent Hennebert
Details
The resulting PDF. See object 9 0 (6.23 KB, application/pdf)
2009-10-28 09:59 UTC, Vincent Hennebert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hennebert 2009-10-28 09:58:03 UTC
Created attachment 24437 [details]
Sample FO file

See PDF Reference, Third Edition, Section 3.8.5, "Number Trees": the Nums entry
must be an array of key-value pairs where value is an indirect reference to the
object associated with the key.

However, the o.a.f.pdf.PDFNumsArray class does nothing to ensure that elements
added to the array are actually indirectly referenced. So generated PDFs are
strictly speaking invalid.
Comment 1 Vincent Hennebert 2009-10-28 09:59:16 UTC
Created attachment 24438 [details]
The resulting PDF. See object 9 0
Comment 2 Glenn Adams 2012-04-07 01:42:29 UTC
resetting P2 open bugs to P3 pending further review