On 31/07/2012 20:55, Walter Cybis wrote: > Hi, > > Is there a way to preserve the tags in an original taggedPDF when we > copy it using Pdf(Smart)Copy, PdfImportedPage and PageStamp objects ?
The tags are kept in the content stream, but the StructTreeRoot and the MarkInfo is lost. It's your responsibility to adapt the StructTreeRoot correctly and add it along with the MarkInfo if you use PdfCopy. > My specific goal is to add footers with pages numbers in a taggedPDF, as > a way to improve its accessibility... If your goal is to add footers with page numbers to one and only one document, and at the same time preserve the existing document, why would you use Pdf(Smart)Copy instead of PdfStamper? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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
