Joachim, you say you manipulate PDF files, thus you are likely to use a PdfStamper. In that case you might consider using the four parameter constructor, the fourth parameter being a boolean called append set to true. Or if you create the PdfStamper for adding a signature, use the five parameter overload of createSignature.
Regards, Michael. -------- Original-Nachricht -------- > Datum: Wed, 11 Mar 2009 09:16:09 +0100 > Von: [email protected] > An: [email protected] > Betreff: [RE:] Re: [iText-questions] iText2.1.3 and Internet Explorer 6 > Dear Michael, > > thanks for Your idea. > But how can I use the append mode? > > Regards > Joachim > > > -----Ursprüngliche Nachricht----- > Von: [email protected] mailto:[email protected] > Gesendet: 11.03.2009 09:02:26 > An: mailto:[email protected] > Betreff: Re: [iText-questions] iText2.1.3 and Internet Explorer 6 > > Joachim, > > have you considered using the append mode when manipulating > existing PDFs? That way everything new is going to be added at the end of the > file, thus IE6 wont find any different magic bytes for file type > determination. > > And do you already send the correct file type to the IE6? (Ok, ok, > there are some products out there which simply ignore file type > information and try to do better using extension and magic byte information; > I'm not > sure whether IE6 is one of them...) > > Additionally you might want to update iText as there had been some > fixes to metadata handling meanwhile. > > Regards, Michael. > > ------------------------------------------------------------ > From: [email protected] [mailto:[email protected]] > Sent: Wednesday, March 11, 2009 8:19 AM > To: [email protected] > Subject: [iText-questions] iText2.1.3 and Internet Explorer 6 > > > Hallo everybody, > > we have some problems with iText2.1.3 in combination with Internet > Explorer 6: > > Within a normal PDF there are XML-data concerning the metadata > (title, author, and so on) of the PDF. > When we manipulate on the server-side such a normal PDF with > iText2.1.3, two things happen: > The XML-data are placed on the beginning of the PDF and the > following statement is added: > <?xml version="1.0" encoding="UTF-8"?>. > > An example is attached to this mail. > > If now the PDF is sent from the server to the Internet Explorer 6, > Internet Explorer thinks it's a XML-file. > He tries to present the data by himself, which leads to a mistake > of course. > > So I have two questions: > 1) Is it right, that iText2.1.3 adds the statement <?xml > version="1.0" encoding="UTF-8"?>? > 2) If so, is there a possibility to prevent iText from adding this > statement? > > Yours sincerly > Joachim Sieglen > Java-Entwickler > > Form-Solutions e.K. > Winzerstr. 54 > D-75217 Birkenfeld-Gräfenhausen > > Fon: +49 7082 9464-0 > Fax: +49 7082 9464-17 > > http://www.form-solutions.de > mailto:[email protected] > > Ust-IdNr.: DE207718873, SteuerNr.: 49129/42507, HRA 702062, > Amtsgericht Mannheim > > -- > Nur bis 16.03.! DSL-Komplettanschluss inkl. WLAN-Modem für nur > 17,95 ¿/mtl. + 1 Monat gratis!* > http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. > Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through > debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > > -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
