« Return to Thread: Changing xml-part of PDF and inject it to the final PDF file

Re: Changing xml-part of PDF and inject it to the final PDF file

by Ricardo Matos :: Rate this Message:

Reply to Author | View in Thread

Leonard Rosenthol <leonardr <at> pdfsages.com> writes:

> On May 13, 2008, at 6:23 AM, Ricardo Matos wrote:
> > Then, I grab that temporary file and I try using a PDFCopy object  
> > to simply
> > copy the useful pages to a final output pdf.
>
> PDFCopy is for copying REAL PDF pages - you are working with an XML-
> based form.  You can't intermix the two!
>
> What you want to do is just throw away all the PDF stuff and leave  
> yourself with a "shell PDF" and just the XML.   This will work  
> perfectly in Acrobat/Reader 8...
>
> Leonard

Thanks for letting me know that I'm scrambling incompatible things.

But when you say "What you want to do", you mean "what you are trying to do" or
"what you should do"?

If the first: what is the alternative? Is there a way to do it?

If the second: how do I throw away the PDF stuff?






-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

 « Return to Thread: Changing xml-part of PDF and inject it to the final PDF file

LightInTheBox - Buy quality products at wholesale price