[iText-questions] PDF Signing and Timestamping it using iText

2007-08-08 Thread Gurpreet Singh
Hi I have been looking at http://itextpdf.sourceforge.net/howtosign.html because I need to sign a PDF file programatically. I am using java programming language to sign the pdf. I am using Luna as HSM and iText for embedding the signature into the PDF. Can anyone point me in the right direction

[iText-questions] How to populate a listbox

2007-08-08 Thread Robert Cearley
i'm trying to populate a listbox for a document that was created with adobe acrobat 8 life cycle designer. When I run the following, i get the error: object reference not set to an instance of an object. ListBox1 is the name of the listbox I'm wanting to populate. Is the setlistoption not suppo

[iText-questions] posting in list of itext...

2007-08-08 Thread Marcel Gil Vega
Hi, I only want to post at mailing list. Regards, Marcel - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. - This SF.net email is spon

[iText-questions] posting in list of itext...

2007-08-08 Thread Marcel Gil Vega
Hi, I only want to post at mailing list. Regards, Marcel - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. - This SF.net email is spon

Re: [iText-questions] How to Digital signing in two steps

2007-08-08 Thread Paulo Soares
It's not possible to do a two step signing. To be able to do that requires some source modifications. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, August 08, 2007 7:32 PM Subject: [iText-questions] How to Digital signing in two steps Hi, I have read th

Re: [iText-questions] ExceptionConverter: java.io.IOException: The document has no pages.

2007-08-08 Thread Derk Crezee
Probably due to the html you're using, try: String tmp = "This is a test"; > Why am I getting this? > > doc = new Document(PageSize.A4,10,10,10,10); > pw = PdfWriter.getInstance(doc,new FileOutputStream("c:\\out.pdf")); > doc.open(); > String tmp = "This is a test"; > HtmlParser.parse(doc,new Byt

[iText-questions] How to Digital signing in two steps

2007-08-08 Thread lmen
Hi, I have read the tutorial http://itextpdf.sourceforge.net/howtosign.html. In the tutorial, the step of generating the hash, signing it and them given the result to PDF is done in the same program. I need to use two distinct programs to sign one PDF file: one to generate the hash and the ot

[iText-questions] ExceptionConverter: java.io.IOException: The document has no pages.

2007-08-08 Thread claytont
Why am I getting this? doc = new Document(PageSize.A4,10,10,10,10); pw = PdfWriter.getInstance(doc,new FileOutputStream("c:\\out.pdf")); doc.open(); String tmp = "This is a test"; HtmlParser.parse(doc,new ByteArrayInputStream tmp.getBytes())); doc.close(); pw.close(); -- This message was sent on

Re: [iText-questions] pdf to html

2007-08-08 Thread ssinai
I found out I that rather than converting from pdf to png, gif, etc., I can convert a Swing image to png, gif, etc., using javax.imageio. Then I can embed the image name in the html code. This was ultimately what I needed to do, although I wasn't very clear about that. When I first asked the que

Re: [iText-questions] java.lang.ClassCastException: com.lowagie.text.pdf.PRIndirectReference cannot be cast to com.lowagie.text.pdf.PdfNumber

2007-08-08 Thread Paulo Soares
I can see the probable cause of the problem. Can you post a link to the PDF to be sure? Paulo - Original Message - From: "moshe" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 08, 2007 4:11 PM Subject: [iText-questions] java.lang.ClassCastException: com.lowagie.text.pdf.PRIndirectRef

Re: [iText-questions] question

2007-08-08 Thread Paulo Soares
iText can and is used for reporting usually for custom reporting. This involves some work. For everyday reporting, simple tables, master detail, etc. it's better to use specialized tools such as birt or jasperreports. Paulo - Original Message - From: "Cole, Jared (MOH)" <[EMAIL PROTECT

[iText-questions] question

2007-08-08 Thread Cole, Jared (MOH)
Hello, We are investigating options for a reporting tool for our java-web application. We need something that will be able to accept images through some sort of parameter. Basically our app will display information and an image, and we need a report that can accept this data, and the image, th

[iText-questions] java.lang.ClassCastException: com.lowagie.text.pdf.PRIndirectReference cannot be cast to com.lowagie.text.pdf.PdfNumber

2007-08-08 Thread moshe
I am getting the following error while trying to load a pdf . I have tested with 1.4, 1.5 and 2. java.lang.ClassCastException: com.lowagie.text.pdf.PRIndirectReference cannot be cast to com.lowagie.text.pdf.PdfNumber at com.lowagie.text.pdf.PdfReader.getNormalizedRectangle(Unknown Sour

Re: [iText-questions] Urgent:Bangla unicode font not displaying properly

2007-08-08 Thread Felipe Gaúcho
other tip: iText uses only Stream to read and write PDF contents. It is fine but forces the user to pre-process any character not compliant with Unicode ... Check if your characters are fine in memory. If not, you cannot fix that, otherwise, use a Writer.. On 8/8/07, Paulo Soares <[EMAIL PROTECT

Re: [iText-questions] Urgent:Bangla unicode font not displaying properly

2007-08-08 Thread Paulo Soares
iText can't shape Indic languages, only Arabic. Paulo - Original Message - From: "Raquib Mahmood Shoeb" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 08, 2007 10:43 AM Subject: [iText-questions] Urgent:Bangla unicode font not displaying properly > Hi, > We are using iText2.0 for ge

[iText-questions] Urgent:Bangla unicode font not displaying properly

2007-08-08 Thread Raquib Mahmood Shoeb
Hi, We are using iText2.0 for generating pdf which contain bangla unicode font. The problem is the pdf is not showing bangla characters properly.It displays some words correctly and some are not. When i text from this document and paste it to word it showing properly. My code for generating pdf is