Since I couldn't find a library that could do what I needed to do (modification of one object and rebuilding all the indexes) I've decided to write my own little library to do that. Fortunately the PDFs I need to modify are small, adhere to an older PDF format, and are consistent (so far).

I've encountered something that is not addressed in the specification, if anyone can help me with this, it would be greatly appreciated.

The trailer contains "/XRefs" tag. I could not find any reference to such tag in either the 1.5 or 1.3 specification. What is this exactly? It points to an object that contains a list of numbers i.e. "/XRef [ [ ... ] [ ... ] [ ... ] ]" that I am not sure what they mean or are used for. If I delete this object and its reference in the trailer, the PDF still opens fine (after a rebuild), so I don't think I need it, but I'd like to make sure of that, and know what it is/was used for.

If anyone knows the answer, that would be helpful. Thanks.


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

Reply via email to