Mark,
I was thinking it was you that suggested PDFStamper in append mode to retain
the original PDF structure.
It works great until .close. If I look at the new PDF just prior to close it
is Identical to the input PDF except the last couple K are not there. Then
after .cloes I get some differences. Sometimes it renders the PDF invalid in
Adobe.
I can send you some examples. Are there considerations for .flush and .close
related to using PdfStamper in append mode?
Thanks,
Bob
From: Mark Storer [mailto:msto...@autonomy.com]
Sent: Thursday, September 30, 2010 3:59 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Fairly new to Itext
It might, but I can offer some assistence right now.
1) iText's PDF version is whatever you tell it to be. We don't do anything to
check which features might be used.
2) iText rewrites the entire PDF when it saves (unless you're using 'append'
mode, but files get big pretty fast that way). The objects are stored in a
hash map and written out in that order IIRC... pretty much "at random". We
make no effort to maintain the original object order (though it wouldn't be all
THAT hard... or would it? Hmm.)
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
________________________________
From: Woolverton, Bob [mailto:bob.woolver...@protective.com]
Sent: Thursday, September 30, 2010 1:27 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Fairly new to Itext
I have a large PDF that we convert to PostScript and process on a Xerox
Docutech.
I changed the process that creates the PDF to create it as a series of PDFs.
Then I used a JAVA / iText application to reassemble the PDFs with some
additional PDFs inserted.
The output PDF look fine, but will not process after being converted to
PostScript.
Looking in the PDFs the version going into Itext appears to be 1.2 and the
version coming out of iText appears to be 1.4.
The internal PDF structure appears to be radically changed.
I need a little guidance.
Would "The Book" be of help in resolving the problem.
Many thanks,
Bob Woolverton
________________________________
Confidentiality Notice: This e-mail communication and any attachments may
contain confidential and privileged information for the use of the designated
recipients named above. If you are not the intended recipient, you are hereby
notified that you have received this communication in error and that any
review, disclosure, dissemination, distribution or copying of it or its
contents is prohibited. If you have received this communication in error,
please notify me immediately by replying to this message and deleting it from
your computer. Thank you.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.856 / Virus Database: 271.1.1/3162 - Release Date: 09/28/10
22:37:00
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php