The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

I have searched the archives on this topic but did not
really come across an answer.

Basically I am wondering how to embed one PDF into
another---optionally specifying the page # of the
target PDF file just incase the target is a multi-page
document.

1)  One way that I can think of doing is to parse the
target for the required objects and merge the required
objects in the host PDF file---this approach needs a
parser.

2)  Second is to use Reference XObjects.  I have read
that external references cause problems in Reader.  So
the approach would be to first embed the entire target
PDF as an Embedded FileStream in the host PDF. Then we
can specify the embedded streams's name in the /F
entry in the Reference XObject's dictionary.  This way
one may not have to parse the target PDF file and read
the target in its entirety.

The question is would approach 2) work?  I am writing
a PDF library and wondering if the approach would work
before I code it up.

Salman

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to