Is there a simple way to copy the necessary data for a FreeText annot's "defaultAppearance"?
Is this the stream in the /AP dictionary entry of an existing FreeText annot? Could I possibly copy that stream to a bytearray and then put it back? The only entry inside any that I have explored (with RUPS) that might cause difficulty is that there seems to be a Font "dictionary" indirect reference - which surprises me a little, but I guess I could look-out for that. Thanks again, AJ On 3/29/2012 2:46 PM, 1T3XT BVBA wrote: > On 29/03/2012 20:22, AJ Weber wrote: >> 1) Glad the summit was successful!!! >> >> 2) Thanks for confirming what I thought. So I have to copy the >> individual PdfDictionaries (Annots), then basically add them back to the >> new document. Which might make it just easier to copy the content and >> create new ones, since I'm only concerned about TextBox/text annots >> anyway, it makes the parsing of the data easier... > Another possibility is to take a look at the source code of classes such > as PdfCopyForm(Imp) and PdfCopyFields(Imp). > Although your approach may be easier to implement. > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > 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 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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