Med venlig
hilsen
________________________________________
Jan
Eliasen
WM-data
Fredrik Bajers Vej 1
9220
Aalborg Øst
Tel.: +45 9630 5800, direkte:
+45 9630 5818
Mobil: +45 2518 8024, fax: +45 9630 5805
mailto:
jaela@wmdata.com
http://www.wmdata.dk
AcroFields form = pdfdoc.AcroFields;
to
AcroFields form = st.AcroFields;
From: itext-questions-bounces@lists.sourceforge.net [mailto:itext-questions-bounces@lists.sourceforge.net] On Behalf Of Eliasen Jan
Sent: Tuesday, July 25, 2006 9:23 AM
To: Post all your questions about iText here
Subject: [iText-questions] Error in PDF file after filling in and signingHiI have a PDF file (http://www.eliasen.dk/files/20031008 TakeBack.pdf) which has some funny functionality.If you open it, you can see that at the top there are some language-buttons. If you press any language-button, all text in the PDF formular except the text you have filled in yourself, changes to the language of your choice. But if I fill in values into the fields and then sign the document, these buttons stop working. I can still click the buttons, but instead of the text switching to another language, the text disappears all together :-(I have placed my code to fill in values into the Form and signing the form at http://www.eliasen.dk/files/PDF_Assembler_External.cs for you to look at. Also, an XML file is needed to run the code, because the PDF fields get their values from this XML file. It is placed in http://www.eliasen.dk/files/Input.xml.I have placed the three file in a zip file at http://www.eliasen.dk/files/Signing a PDFDocument.zipIn order to test the code, you will need a valid certificate, as I haven't included mine :-)Any thoughts are very welcome.Med venlig hilsen
________________________________________
Jan EliasenWM-data
Fredrik Bajers Vej 1
9220 Aalborg Øst
Tel.: +45 9630 5800, direkte: +45 9630 5818
Mobil: +45 2518 8024, fax: +45 9630 5805
mailto: jaela@wmdata.com
http://www.wmdata.dk