x27;ll buy your 2nd Edition of iText in Action the next days. I have already
the on from 2006.
Regards
_apollo
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Table-of-content-tp2261864p2261864.html
Sent from the iText - Gen
Got it now with the execute method.
Nevertheless I would like to understand, why my posted code did not work.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/How-to-extract-embedded-file-tp2247128p2260226.html
Sent from the iText - General mailing list archive at Na
I want the same, and searched about 6 hours now. I've made a little example
pdf:
pdftk b.pdf attach_files a.txt a.edi output a.pdf
I suppose the result are document level attachments.
I'am working with iText 2.1.7, and tried the following code with
iText-toolbox-2.1.7.jar:
import java.io.IOExce
Is the functionality above 2.1.7 helpfull/necessary for tagging?
Is the functionality above 2.1.7 helpfull/necessary for PDF/A validation?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/iText-in-Action-2nd-Edition-tp2253729p2254043.html
Sent from the iText - General
Hello.
iText 2.1.7 is from July 2009. The ready book is announced about 1,5 years
later. How useful is the new book for 2.1.7?
Regards
_apollo
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/iText-in-Action-2nd-Edition-tp2253729p2253729.html
Sent from the iText
Thanks for your fast answer.
>If you want Document Level Attachments to be copied, you need to add
>them to PdfCopy explicitly (because now you're only copying annotations
>that belong to pages, you aren't copying the Document Level Attachments).
>Or you could use PdfStamper; that would simplify
PdfReader reader = new PdfReader("/tmp/a.pdf");
PdfStamper stamper = new PdfStamper(reader, new
FileOutputStream("/tmp/b.pdf"));
PdfContentByte under = stamper.getUnderContent(1);
stamper.addFileAttachment(null, null, "/tmp/a.xml", "a.xml");
stamper.close();
That seems to be ok. I wonder why getU
I've tried to make an copy of an existing PDF and add new attachments. It
works with the following code, but I lose the old attachments and the old
bookmarks, although I used PdfCopy, like described in the book from 2006.
I'am using iText 2.1.7
import java.io.FileOutputStream;
import java.io.IOEx