Planet PDF Forum Archive

Planet PDF ForumThe page you are viewing is part of our 160,000 page PDF discussion forum archive spanning 1999-2008. Would you believe we have a 2nd forum archive which covers 2008 - 2011? But... if you really want to bust-a-move head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner discussions to in-depth developer and pre-press discussions.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) What's Wrong with my PDF?


Topic: Incremental update on PDF 1.5 xref stream?
Conf: (P-PDF) What's Wrong with my PDF?, Msg: 163699
From: boardhead
Date: 12/12/2007 12:51 PM

I am writing an application to update meta information in PDF images. It is working fine except for PDF files that use cross-reference streams entirely.

Here is my latest attempt at updating such a file, but something is wrong because the file is not readable by my PDF readers (sorry for the size of the PDF, but it's my only sample with an xref stream -- the incremental update part is attached below for convenience):

http://owl.phy.queensu.ca/~phil/test.pdf

Does anyone know what I am doing wrong? I can't find any examples of increment updates on cross-reference stream PDF's.

Any help would be appreciated.

TIA

- Phil


%-------- ExifTool incremental update --------
109198 0 obj
<<
/ModDate (D:20041114163850-08'00')
/CreationDate (D:20041114084116Z)
/Title (PDF Reference, version 1.6)
/Creator (FrameMaker 7.0)
/Subject (Adobe Portable Document Format \(PDF\))
/Producer (Acrobat Distiller 6.0.1 for Macintosh)
/Author (me)
>>
endobj
xref
0 1
0000000000 65535 f
109198 1
0009142155 00000 n
109200 1
0000015477 00000 n
trailer
<<
/Size 109993
/Root 109200 0 R
/ID [ <0b1f990718e2a92c0c112fbf08b233fb> ]
/Info 109198 0 R
/XRefStm 116
>>
startxref
9142425
%%EOF


P.S. I had originally used "/Prev 116" instead of "/XRefStm 116" the trailer dictionary to point to the previous xref stream, but this didn't work either. Also, I have tried defining more or less objects in my xref table (I even tried setting all other objects to free), but that didn't work either.

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist 11

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

LockLizard Safeguard PDF Security

Made specifically for publishers of high value information published in PDF format, it protects your PDF...

Download free demo

Ubiquitous PDF: DIY PDF magazines, courtesy of CNET and Magazinify

Thanks to Magazinify.com, it's possible to have web articles delivered right to your inbox in PDF form. If that weren't enough, the nice folks at CNET have been nice enough to publish a step-by-step guide about how to set this all up using just a little time and a free Magazinify account.

September 06, 2011
Search Planet PDF
more searching options...
PDF Resources
Platinum Sponsor

Debenu - Unrivaled PDF Productivity | PDF Library, Acrobat Plug-Ins

Create & Edit PDF - Nitro PDF Software

Silver Sponsors

LockLizard DRM PDF Security Quick PDF Library: The Unrivaled PDF Developer Toolkit

Featured Product

Debenu PDF Aerialist 11

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Featured Event

Adobe Digital Marketing Summit

March 20-23, 2012 -- Salt Palace Convention Center, Salt Lake City, Utah

The Digital Marketing Summit is the premier event for digital marketers and advertisers to learn about and share key strategies for driving marketing innovation. Attend Summit to learn how you can create, measure, and optimize digital experiences to revolutionize how the world engages with ideas and information.