Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Error in PDF file after filling in and signing

Error in PDF file after filling in and signing

2006-07-25       - By Eliasen Jan

 Back
Reply:     1     2     3     4     5  

Hi

I have a PDF file (http://www.eliasen.dk/files/20031008 TakeBack.pdf <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 <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 <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.zip <http://www.eliasen.dk/files/Signing a PDFDocument
.zip>

In 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 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@(protected)
http://www.wmdata.dk



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2>Hi</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>I have a PDF file
(</FONT><A href="http://www.eliasen.dk/files/20031008 TakeBack.pdf"><FONT
face=Arial color=#000000 size=2>http://www.eliasen.dk/files/20031008
TakeBack.pdf</FONT></A><FONT face=Arial size=2>)&nbsp;</FONT></SPAN><SPAN
class=062491308-25072006><FONT face=Arial size=2>which has some funny
functionality.</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>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 :-(</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>I have placed my
code to fill in values into the Form and signing the form at </FONT><A
href="http://www.eliasen.dk/files/PDF_Assembler_External.cs"><FONT face=Arial
color=#000000
size=2>http://www.eliasen.dk/files/PDF_Assembler_External.cs</FONT></A><FONT
face=Arial size=2>&nbsp;</FONT></SPAN><SPAN class=062491308-25072006><FONT
face=Arial size=2>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 </FONT><A href="http://www.eliasen.dk/files/Input.xml"><FONT face=Arial
color=#000000 size=2>http://www.eliasen.dk/files/Input.xml</FONT></A><FONT
face=Arial size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>I have placed the
three file in a zip file at <A
href="http://www.eliasen.dk/files/Signing a PDFDocument.zip">http://www.eliasen
.dk/files/Signing
a PDFDocument.zip</A></FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006></SPAN><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>In order to test
the
code, you will need a valid certificate, as I haven't included mine
:-)</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial size=2>Any thoughts are
very welcome.</FONT></SPAN></DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=062491308-25072006></SPAN><SPAN lang=DA
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-ansi-language: DA">Med venlig
hilsen<BR></SPAN><SPAN lang=DA
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DA">__ ____ ____
__ ____ ____ ____ ____ _____<BR></SPAN><STRONG><SPAN
lang=DA style="FONT-FAMILY: Arial; mso-ansi-language: DA">Jan
Eliasen</SPAN></STRONG><SPAN lang=DA
style="mso-ansi-language: DA"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV class=Section1>
<DIV>
<P><SPAN lang=DA
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-ansi-language: DA">WM-data<BR>
<SPAN
class=SpellE>Fredrik</SPAN> Bajers Vej 1<BR><SPAN class=GramE>9220&nbsp;
Aalborg</SPAN> ?st<BR><SPAN class=SpellE>Tel</SPAN>.: +45 9630 5800, direkte:
+45 9630 5818<BR>Mobil: +45 2518 8024, fax: +45 9630 5805<BR>mailto:
jaela@(protected)<BR>http://www.wmdata.dk<o:p></o:p></SPAN></P></DIV></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions

©2008 junlu.com - Jax Systems, LLC, U.S.A.