[iText-questions] PdfPCell.setColSpan doesn't work for RTF

2008-10-29 Thread Ross Cohen
Hi, I dropped the example code from http://itext.ugent.be/library/com/lowagie/examples/objects/tables/MyFirstTable.java into the addTable() method below, only to discover that the setColSpan method of PdfPCell does not seem to work for RTFs. To double-check my code I did a similar table for

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9 - iText-questions Digest, Vol 29, Issue 79

2008-10-29 Thread Umashankar Palani
Hi Paulo, Thanks for the reply. Is there any way to use PdfEncoding to convert to the regular pattern and use that for the text extraction. Thanks, Uma On Wed, Oct 29, 2008 at 1:07 PM, < [EMAIL PROTECTED]> wrote: > Send iText-questions mailing list submissions to >itext-questions@lists

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Kevin Day
I think that this will ultimately come down to using PdfEncodings to process the ToUnicode value associated with the content stream/page. Once that's done and tested, we'll have usable text strings. Then it's a matter of correctly handling each of the text operations, the current coordinate sy

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Vinoo
Thanks Kevin for the reply and providing some insight into this. Can we usePdfEncoding to convert the format and use them for the extraction. Thanks, Uma Vinoo wrote: > > Hi, > I am trying to parse the contents of the PDF with iTextSharp using : > PdfReader reader = new PdfReader("Test.pdf");

Re: [iText-questions] Type 1 font (subset)

2008-10-29 Thread Paulo Soares
Maybe he is using an iText version without the CFF font fix. Paulo > -Original Message- > From: 1T3XT info [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2008 5:49 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Type 1 font (subset) > > Sand

Re: [iText-questions] Type 1 font (subset)

2008-10-29 Thread 1T3XT info
Sander Bisschops wrote: > How can I make my Cyrillic Type 1 font work? IDENTITY_H should work, but maybe you do something wrong. What? I don't know, I can't reproduce the problem. Alternatively, you could try creating different font objects (the same font, but different encodings) and use FontS

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Kevin Day
Very nice - exactly what I needed - thanks!   - K   --- Original Message ---    From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Cc:  Date: Wed, 29 Oct 2008 17:31:28 + Subject: Re: [iText-questions] Help with parsi

Re: [iText-questions] setField for multi-select lists?

2008-10-29 Thread 1T3XT info
Dajana Milinov wrote: > Hi, > > Are there any plans to add multiselect listbox support in XfdfReader and > FdfReader? Below are xfdf related changes in case you would like to review > or use. I've looked at your solution. It breaks plenty of other things. It needs more work to make it work. --

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Paulo Soares
See DocumentFont.fillMetrics() for some ideas. Paulo > -Original Message- > From: Kevin Day [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2008 5:07 PM > To: itext-questions-request@ > Subject: Re: [iText-questions] Help with parsing the PDF > generated by Crystal reports-V9

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Kevin Day
Paulo- Are there any examples or documentation that show how to use iText to work with CMaps (esp when parsing PDF content)? I have code that does the required spacial analysis, etc... I wound up abandoning the project when I hit the CMap situation and started using PDFBox for parsing PDF tex

Re: [iText-questions] URGENT : Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Kevin Day
PDF content streams are more complicted than you may think.  In particular, PDF can specify a mapping table to translate character sets (this is called a CMap).  Crystal Reports uses CMaps in it's output (as do many other PDF generators - especially when international character sets are being us

Re: [iText-questions] Read Digital Singature From PDF

2008-10-29 Thread Paulo Soares
private void validateButton_Click(object sender, System.EventArgs e) { wse.X509CertificateStore store = new wse.X509CertificateStore(wse.X509CertificateStore.StoreProvider.System, wse.X509CertificateStore.StoreLocation.LocalMachine, wse.X509CertificateStore.RootStore); store.Open();

Re: [iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Paulo Soares
Text extraction in PDF is rocket science. Your simplistic method may work or not depending on the encoding used. Your workflow is flawed, you'd better look for other ways to do it, ways that don't involve looking for text in the PDF. Paulo > -Original Message- > From: Umashankar Palani

[iText-questions] Read Digital Singature From PDF

2008-10-29 Thread Ghislain, Ludwig (L.)
Hello, Is it possible to verify a digital signature with iTextSharp? What do I mean with verify. Check if the document that's singed has a valid certificate. (Came from a trusted source and is not expired,) I've already found how to sign a pdf document. Public Shared Sub SingPdfWithVi

[iText-questions] URGENT : Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Vinoo
Hi, I am trying to parse the contents of the PDF with iTextSharp using : PdfReader reader = new PdfReader("Test.pdf"); reader.GetPageContent(pageNumber); byte[] pageContentByteArray; I am using this byte array to search for a partcular text based on a Delimiter pattern by converting this to string

[iText-questions] Help with parsing the PDF generated by Crystal reports-V9

2008-10-29 Thread Umashankar Palani
Hi, I am trying to parse the contents of the PDF with iTextSharp using : PdfReader reader = new PdfReader("Test.pdf"); reader.GetPageContent(pageNumber); byte[] pageContentByteArray; I am using this byte array to search for a partcular text based on a Delimiter pattern by converting this to stri

Re: [iText-questions] Change submit url of button

2008-10-29 Thread 1T3XT info
Martyn Hiemstra wrote: > I have saved the file as a Dynamic PDF and not as a xdp file. I can load > the pdf and then say pdfStamper.getAcroForm() and read all the > components and set their values. The thing is, I can set the values of > the all the text fields so it has to be a acroform. If it

Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
I'm sorry for last one. I have right. Thank you. -- View this message in context: http://www.nabble.com/Problem-with-adding-textfield-tp20222830p20224362.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] Change submit url of button

2008-10-29 Thread Martyn Hiemstra
I have saved the file as a Dynamic PDF and not as a xdp file. I can load the pdf and then say pdfStamper.getAcroForm() and read all the components and set their values. The thing is, I can set the values of the all the text fields so it has to be a acroform. If it wasn't a acroform pdf then sho

Re: [iText-questions] Change submit url of button

2008-10-29 Thread Martyn Hiemstra
I meant stamper.getAcroFields() instead of stamper.getAcroForm() Martyn > Martyn Hiemstra wrote: > >> Hi, >> >> Unfornately this doesn't work. I tried the code but the submit button >> url doesn't change. >> >> I created the pdf using adobe lifecycle designer and I set the url of >> the sub

Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread 1T3XT info
precyz wrote: > I bought the book. The book gives genareal idea but nothing specific that's > why I posted this message. And please don't tell me "Read book carefuly". Have you read my answer? I didn't say anything about the book. What is not specific about the example I gave you: http://1t3xt.in

Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
1T3XT info wrote: > > precyz wrote: >> I have problem with adding textfield to PDF. I have document that >> contains >> AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't >> created by me. I want to add new textfield (multiline) to second page of >> this document. > >> and

Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread 1T3XT info
precyz wrote: > I have problem with adding textfield to PDF. I have document that contains > AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't > created by me. I want to add new textfield (multiline) to second page of > this document. > and it doesn't work. Could somebody hel

[iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
I have problem with adding textfield to PDF. I have document that contains AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't created by me. I want to add new textfield (multiline) to second page of this document. I've tried this: PdfReader reader = new PdfReader("c:/file.pdf

[iText-questions] Add blank signature fields using PdfStamper

2008-10-29 Thread Michael Klink
Hello, when creating a PDF document you can add a blank signature field explicitely simply doing this: writer.getAcroForm().addSignature("foobarsig", 73, 705, 149, 759); When post-processing an existing PDF document using a PdfStamper, is there a comparably easy way? Simply trying