Re: [iText-questions] Form fields via ColumnText and getFieldPositions()

2010-01-26 Thread 1T3XT info
hansgeerdink wrote: > ct.setSimpleColumn(position[1],-position[2],position[3],-position[4]); > System.out.println(position[1]+"\t"+position[2]+"\t"+position[3]+"\t"+position[4]+"\t"+veld); Why are you using a negative value for the y-coordinates? -- This answer is provided by 1T3XT BVBA http://ww

Re: [iText-questions] open pdf and add image

2010-01-26 Thread 1T3XT info
Aleksey (Alex) Rakhlin wrote: > I'd like to open a PDF file stored locally and add an image to it. I > should only have 1 file when this is done, meaning I don't want to open > existing file stamp it and save to another file. I want to affect the > existing file. That's not an iText question, t

[iText-questions] Form fields via ColumnText and getFieldPositions()

2010-01-26 Thread hansgeerdink
Hi all, I am trying very hard to get text from a data base to be inserted into formfields. Somehow (I do not understand how to fix this) the text is not shown, however if I enlarge the fields of my template pdf I do see the text was written, but not where I would expect it to be written. Here i

[iText-questions] open pdf and add image

2010-01-26 Thread Aleksey (Alex) Rakhlin
I'd like to open a PDF file stored locally and add an image to it. I should only have 1 file when this is done, meaning I don't want to open existing file stamp it and save to another file. I want to affect the existing file. -Alex ---

Re: [iText-questions] Alternate Text for Figures

2010-01-26 Thread Leonard Rosenthol
That's a LOT of work. You will need to locate the object(s) that you wish to tag in the content stream and add the marks around them. Then put the necessary tags into the tags tree. Leonard -Original Message- From: Selvakumar, Sivagnanam [mailto:s.selvakum...@spi-bpo.com] Sent: Wedne

Re: [iText-questions] Alternate Text for Figures

2010-01-26 Thread Selvakumar, Sivagnanam
Hi, The sample code given below is to construct new tagged pdf document. How do I add alternate text for figure in existing document of user specified area? Regards, Selvakumar -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Tuesday, January 26, 2010 12:33 PM To: Post

Re: [iText-questions] Verify PDF whit revision comparation

2010-01-26 Thread mkl
Oscar, OscarP wrote: > some time ago asked how to verify as Adobe Acrobat. Your response was > that > I had to develop and modify itext to solve it. > > I think I've achieved my goal, but I'm not sure. > > Can I send the modified classes from itext1.5 for you to evaluate if this > is > correc

Re: [iText-questions] Pdf signature validation

2010-01-26 Thread Mathieu Fortin
Ocsp is used for long term validation. In order to use it, you have to embed the ocsp info in the pdf AND your signature provider must have the ocsp server component up and running. But still, without ocsp/embedded crl you should be able to validate the pdf in reader on whatever computer. Can

[iText-questions] Verify PDF whit revision comparation

2010-01-26 Thread Oscar P
Hi, some time ago asked how to verify as Adobe Acrobat. Your response was that I had to develop and modify itext to solve it. I think I've achieved my goal, but I'm not sure. Can I send the modified classes from itext1.5 for you to evaluate if this is correct? thanks for all.

[iText-questions] Insering another PDF document when generating one with XML/tagmaps

2010-01-26 Thread Eugene Dzhurinsky
Hello there! Can somebody please explain, is it possible to include another PDF document into the current one during transformation of an XML file with tagmaps? For example for the XML: Some title here Some text goes here Some another text hoes here

[iText-questions] Pdf signature validation

2010-01-26 Thread Sérgio Onofre
Hi, I’m using itext to sign pdf documents with smart cards certificates and it Works fine. The problem I have is verifying the signatures throw the itext in Java. It only works in the computer where is installed the smart-card. I see that Acrobat Reader uses OCSP co

Re: [iText-questions] Merge of detached signature

2010-01-26 Thread Mathieu Fortin
Yes we made the usual error then. Notarius Inc. 700-1080 Côte du Beaver Hall Montréal, Québec, H2Z 1S8 Avis de confidentialité / Confidentiality Notice Notarius Inc. - Certifié ISO 9001 : 2000 Centre de certification du Québec - Certifié ISO 27001 : 2005 - Original Message - From

Re: [iText-questions] SHA-256 Signing Itextsharp

2010-01-26 Thread mkl
Zewin, Zewin wrote: > Any news about SHA-256 signing? > > I tried modify example code at > > http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2 > > replacing > > HashAlgorithm sha = new SHA1CryptoServiceProvider(); > > with > > HashAlgorithm sha = new SHA256CryptoServiceP

Re: [iText-questions] Merge of detached signature

2010-01-26 Thread Andreas Kuehne
Hi Michael, you absolutely right : Never throw away the PDF you once created the hash for ! We store it on disk because you can't create it again with the same hash. Thanks for emphasizing it ! Andreas - Original Message From: mkl To: itext-questions@lists.sourceforge.net Sent:

Re: [iText-questions] Merge of detached signature

2010-01-26 Thread mkl
Leonard, Andreas, Mathieu, Leonard Rosenthol-3 wrote: > Right - that's the normal approach for external signing which the poster > said doesn't work for them. > > Leonard Maybe they simply made the usual error --- throwing away the PdfStamper they calculated the hash with, and injecting the re

Re: [iText-questions] PDFPTableEvents and Canvasing (Rodney Williams)

2010-01-26 Thread 1T3XT info
Rodney Williams wrote: > Can someone help me with this one? I hope I didn't misunderstand any > questions that were asked. Your design is unusual. Seems like you want to get the content from the cells. This might be possible, but it's weird. Table and cell events will get you all the info you nee

Re: [iText-questions] Xfa signature

2010-01-26 Thread Andreas Kuehne
Hi Mathieu, does your XML validate ? How did you apply the XML signature ? Could you share the XML document / the PDF ? Greetings Andreas From: Mathieu Fortin To: itext-questions@lists.sourceforge.net Sent: Mon, January 25, 2010 11:04:31 PM Subject: Re: [iT

Re: [iText-questions] Merge of detached signature

2010-01-26 Thread Leonard Rosenthol
Right - that's the normal approach for external signing which the poster said doesn't work for them. Leonard From: Andreas Kuehne [mailto:akue...@yahoo.com] Sent: Monday, January 25, 2010 11:44 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Merge of detached signa

Re: [iText-questions] Xfa signature

2010-01-26 Thread Leonard Rosenthol
NO! Everything you need to know is documented in either ISO 32000-1 or the XFA specification. You just need to read those documents. Nothing proprietary. Leonard From: Mathieu Fortin [mailto:mathieu.for...@notarius.com] Sent: Monday, January 25, 2010 11:05 PM To: itext-questions@lists.source

Re: [iText-questions] PDFPTableEvents and Canvasing (Rodney Williams)

2010-01-26 Thread Rodney Williams
Can someone help me with this one? I hope I didn't misunderstand any questions that were asked. > > > LOL. The CreatePDF procedure below successfully creates a my PDF. It > also hooks up the table event but couldn't make it further than tat. > Dim myevent As New PdfPTableEvents >