Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | 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):

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.


- 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)
0 1
0000000000 65535 f
109198 1
0009142155 00000 n
109200 1
0000015477 00000 n
/Size 109993
/Root 109200 0 R
/ID [ <0b1f990718e2a92c0c112fbf08b233fb> ]
/Info 109198 0 R
/XRefStm 116

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

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

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

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


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.