Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Larry Evans
On 03/22/12 14:49, Zhang.Xun-An wrote: > Actually, I updated: > http://itextpdf.com/examples/iia.php?id=157 > by changing the > form.setField("text_1", " "); > form.setField("text_2", " "); > ... > with > form.setField(key,""); > > The 'k

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Zhang . Xun-An
Actually, I updated: http://itextpdf.com/examples/iia.php?id=157 by changing the form.setField("text_1", " "); form.setField("text_2", " "); ... with form.setField(key,""); The 'key' are gotten from the example, http://1t3xt.be/?107

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Zhang . Xun-An
I used its idea to get the fields of pdf. Then use form.setField(key,"M, "); to populate a value into the 'key' field. Xun-An Zhang NHQ - Information Management and Technologies | AC - Gestion et technologies de l'information Citizenship and Immigration Canada | Citoyenne

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Larry Evans
On 03/22/12 14:17, Zhang.Xun-An wrote: > Here is a useful example. I have solved my problem by reference the example. > > Thanks all for the helps. > >> 2. You have an interactive form that is based on AcroForm technology. >> >> The PDF created with Open Office as described in section 6.3.5 is su

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Zhang . Xun-An
Here is a useful example. I have solved my problem by reference the example. Thanks all for the helps. >2. You have an interactive form that is based on AcroForm technology. > >The PDF created with Open Office as described in section 6.3.5 is such a form. >By adapting the code sample from the bo

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
Hi Christian, I completely agree with 's...'! All this Smartcard / HSM stuff is a bloody mess. My lucky guess would be that itext is far away from the crypto level, and the handling of PKCS11 is done by the sun wrapper. So both iText and bc are not my prominent suspects. Could you turn on some kin

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread 1T3XT BVBA
On 22/03/2012 18:36, Larry Evans wrote: > On 03/22/12 11:59, Zhang.Xun-An wrote: >> Hi Paulo, >> >> Thank you for response so fast. >> >> I don't know the inside of a general PDF file. What I have are some general >> editable pdf files. They are not created in Java with 'PdfPCell' or >> 'pdfField

Re: [iText-questions] Split Cell issue with setSplitLate -last row getting repeated, resulting an extra row in next page

2012-03-22 Thread 1T3XT BVBA
On 22/03/2012 16:53, arindam wrote: > Any thought/solutions is available without changing the iText version? This is a known issue in old iText versions. It was fixed about a year ago. > Currently I am using itext 2.1.7 Seriously? Why are you still wasting time with a version that is almost 3 y

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread 1T3XT BVBA
On 22/03/2012 17:59, Zhang.Xun-An wrote: > Hi Paulo, > > Thank you for response so fast. > > I don't know the inside of a general PDF file. We're very sorry, but the concept of "a general PDF file" isn't mentioned in SO-32000-1 (which is the ISO standard defining PDF), so we can't answer your qu

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Larry Evans
On 03/22/12 11:59, Zhang.Xun-An wrote: > Hi Paulo, > > Thank you for response so fast. > > I don't know the inside of a general PDF file. What I have are some general > editable pdf files. They are not created in Java with 'PdfPCell' or > 'pdfField'. Is it possible we fill in values with 'Acro

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Zhang . Xun-An
Hi Paulo, Thank you for response so fast. I don't know the inside of a general PDF file. What I have are some general editable pdf files. They are not created in Java with 'PdfPCell' or 'pdfField'. Is it possible we fill in values with 'AcroFields' in iText jar. Thanks, Xun-An Zhang Governme

Re: [iText-questions] How to fill a general writable PDF file

2012-03-22 Thread Paulo Soares
Is it a PDF with fields? It would be useful if you could post a PDF. Paulo On Thu, Mar 22, 2012 at 4:30 PM, Zhang.Xun-An wrote: > Hello, > > > > I am researching a way to fill fields in our existing pdf files in Java. I > noticed that there are some examples in your website: > http://itextpdf.co

[iText-questions] Split Cell issue with setSplitLate -last row getting repeated, resulting an extra row in next page

2012-03-22 Thread arindam
I am having an issue in PDF doc creation using PdfPTable object using setSplitLate(false) for splitting cells data In case of large cell data, when data reaches a page break, PDF is rendered with the cell spilling over to the next page, and the last line of text is repeated in that cell. Means the

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Christian Fritschka
Hmm ok I created a java keystore and it works. But its s... Because pkcs11 works in past with older itext and bouncy castle Am 22.03.2012 um 15:31 schrieb Andreas Kuehne: > Hi Christian, > > now I see! I didn't came across any CryptoVision stuff, yet . But my > standard approach would be to ch

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
Hi Christian, now I see! I didn't came across any CryptoVision stuff, yet . But my standard approach would be to check whether your installation signs using another tools using the PKCS11 interface. Can you check that? Greetings Andreas > Hey, > > thanks for replying > > It is an external librar

Re: [iText-questions] Tagging PDF

2012-03-22 Thread Leonard Rosenthol
How do you plan to locate the table in the PDF? How do you plan to figure out what the geometry of the table is? The problem is not in the tagging - it's in the identification of the untagged content into semantically rich information. -Original Message- From: satyadsp [mailto:satya..

Re: [iText-questions] how to use rups on linux

2012-03-22 Thread Balder VC
Sorry for the late reply just doing mvn package should be enough, this creates the jars, the jar-with-dependencies is created together with the normal build. You should make sure you checked out a tagged release (like https://itextrups.svn.sourceforge.net/svnroot/itextrups/tags/rups-1.0.0/ )

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Christian Fritschka
Hey, thanks for replying It is an external library. I load it with the following lines: String configName = "/Users/christian/pkcs11.cfg"; Provider p = new sun.security.pkcs11.SunPKCS11(configName); Security.addProvider(p); KeyStore ks = KeyStore.getInstance("pkc

Re: [iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Andreas Kuehne
Hi Christian, can you give a little more information about the PKCS11 lib you are using? As far as I can see from the log that the PKCS11wrapper detected a problem. But that's quite generic ... Greetings Andreas > Hey @all, > > I tried the example "How to sign with an external signature and a st

[iText-questions] Sign a pdf with text 5.2.0 and bouncy castle

2012-03-22 Thread Christian Fritschka
Hey @all, I tried the example "How to sign with an external signature and a standard filter" from http://itextpdf.sourceforge.net/howtosign.html with itext 5.2.0, bouncy castle 1.46 and a pkcs11 token. Every time I get the following exception: Exception in thread "main" java.security.Provider