Re: [iText-questions] PDFA conformance and "invisible" fonts

2011-04-08 Thread Mark Storer
Ouch. The font check is performed as the font is set in the PdfContentByte.setFontAndSize(). We don't know at that point whether or not a font will be used For Good or Ill. AND, we don't track whether a font was only used in Mode 3 or not. IF we did, we could delay this check until we wrote out

[iText-questions] Getting a list of field names on a pdf

2011-04-08 Thread John Williams
I am very new to iTextSharp. I have found an example of this (the W2 example on thecodeproject), but I receive an error in the code. Does anyone know of a simple example that will list all the field names in a pdf? John Williams -

Re: [iText-questions] Highlighting text

2011-04-08 Thread Mark Storer
I suggest you use a TextRenderListener based on LocationTextExtractionStrategy. If you draw a rectangle with the information from TextRenderInfo.getDescentLine() & getAscentLine(), you should be good to go. You'll almost certainly have to do some "word assembly" which is why I suggest looking

Re: [iText-questions] Problems using skipFirstHeader for a tabledisplayed on a new page.

2011-04-08 Thread Jason Berk
I believe that's be design. SkipFirstHeader will be ignored if the table is the first/only item added via doc.add( ) Jason From: Palmer, Richard [mailto:richard.pal...@catlin.com] Sent: Friday, April 08, 2011 11:42 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Pr

[iText-questions] Problems using skipFirstHeader for a table displayed on a new page.

2011-04-08 Thread Palmer, Richard
Are there any known issues with the use of setSkipFirstHeader when the PdfPTable in question is displayed on a new page? I've created a pdfptable that has one header row but even with the SkipFirstHeader property set to true I still see this header row on the first page. It works fine if t

Re: [iText-questions] getDirectContent

2011-04-08 Thread 1T3XT BVBA
Op 8/04/2011 16:27, SALAZAR, DANTE schreef: Yes you are right. I am using asp.net and VB code writer.DirectContent runs OK, but also other instructions fail. Can you complete for me the lines of code necesary to write "Hello world" directly to position 300,500 for example? Do y

Re: [iText-questions] getDirectContent

2011-04-08 Thread SALAZAR, DANTE
Yes you are right. I am using asp.net and VB code writer.DirectContent runs OK, but also other instructions fail. Can you complete for me the lines of code necesary to write "Hello world" directly to position 300,500 for example?. I need to write a few pieces of text on some special positions on a

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Nitin Tomer
Ok sirs. I am at it :-) Regards Nitin -Original Message- From: Balder Sent: 08/04/2011, 7:13 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] PDF Forms on Google App Engine We also took a look at your PDF and when looking at the form, we noticed there are

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Nitin Tomer
Ok sirs. I am at it :-) Regards Nitin -Original Message- From: Balder Sent: 08/04/2011, 7:13 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] PDF Forms on Google App Engine We also took a look at your PDF and when looking at the form, we noticed there are

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Balder
We also took a look at your PDF and when looking at the form, we noticed there are no fields attached to the submit button of the form. (We used Rups for that ) I advise to read Chapter 9 of "iText in Action - Second Edition". Kind Regards Balder ( & Emiel a co-worker) On 8/04/2011 14:33,

[iText-questions] PDFA conformance and "invisible" fonts

2011-04-08 Thread Thomas Danckaert
Hi, I'm using creating iText to create documents containing scanned images and an invisible text layer obtained via OCR. The documents should conform to the PDF/A1B standard. I'm writing the text layer in rendering mode 3 (no stroke, no fill), and don't want to embed the fonts in order to red

[iText-questions] PDFA conformance and "invisible" fonts

2011-04-08 Thread Thomas Danckaert
Hi, I'm using creating iText to create documents containing scanned images and an invisible text layer obtained via OCR. The documents should conform to the PDF/A1B standard. I'm writing the text layer in rendering mode 3 (no stroke, no fill), and don't want to embed the fonts in order to red

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread 1T3XT BVBA
Op 8/04/2011 14:33, Nitin Tomer schreef: > I printed a statement at the beginning of processRequest and then > submitted the form and that statement wasn't printed. But the servlet > was called, as I was able to check from Google App Engine's logs. > > Do you need to specify something specific in

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Balder
On 8/04/2011 14:33, Nitin Tomer wrote: Hi Balder, Thanks for your reply. I printed a statement at the beginning of processRequest and then submitted the form and that statement wasn't printed. But the servlet was called, as I was able to check from Google App Engine's logs. Do you need to

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Nitin Tomer
Hi Balder, Thanks for your reply. I printed a statement at the beginning of processRequest and then submitted the form and that statement wasn't printed. But the servlet was called, as I was able to check from Google App Engine's logs. Do you need to specify something specific in the Form's

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread 1T3XT BVBA
Op 8/04/2011 13:29, Nitin Tomer schreef: > On Fri, 08 Apr 2011 13:13:11 +0200, 1T3XT BVBA wrote: > Thanks for your reply. > > OK, I got it. But in that case, how can I display the confirmation > message on Acrobat Reader - something like "Your form has been submitted > and action will be

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Balder
On 8/04/2011 13:29, Nitin Tomer wrote: On Fri, 08 Apr 2011 13:13:11 +0200, 1T3XT BVBA wrote: Thanks for your reply. OK, I got it. But in that case, how can I display the confirmation message on Acrobat Reader - something like "Your form has been submitted and action will be taken soon

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread Nitin Tomer
On Fri, 08 Apr 2011 13:13:11 +0200, 1T3XT BVBA wrote: Thanks for your reply. OK, I got it. But in that case, how can I display the confirmation message on Acrobat Reader - something like "Your form has been submitted and action will be taken soon."? And any pointers on why I am not able

Re: [iText-questions] Exporting XML Data from PDF

2011-04-08 Thread 1T3XT BVBA
Op 8/04/2011 12:34, Balajiprasad schreef: Hi, I am using PDF(Dynamic XFA) and I can export *XML* from PDF using *Acrobat* by Clicking *Document->Forms->Export Data*. I want to do it programmatically in c#. Can you please give me sample code for that. How to export xml from pdf and assign th

Re: [iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread 1T3XT BVBA
Op 8/04/2011 13:03, ntomer schreef: > When I submit the form, I get this message - "An error occured during the > submit process. Cannot process content of type text/html;charset=utf-8." You are submitting a form from the standalone PDF Viewer (e.g. Adobe Reader), and you're sending HTML to that v

[iText-questions] PDF Forms on Google App Engine

2011-04-08 Thread ntomer
Hi, I have created a PDF form and on it's submission, I am calling a servlet. The form is attached with this post. http://itext-general.2136553.n4.nabble.com/file/n3435890/TestForm.pdf TestForm.pdf When I submit the form, I get this message - "An error occured during the submit process. Cannot

[iText-questions] Exporting XML Data from PDF

2011-04-08 Thread Balajiprasad
Hi, I am using PDF(Dynamic XFA) and I can export XML from PDF using Acrobat by Clicking Document->Forms->Export Data. I want to do it programmatically in c#. Can you please give me sample code for that. How to export xml from pdf and assign the exported xml to XMLDocument??. Regards, R

[iText-questions] Highlighting text

2011-04-08 Thread Lasse L
Hi all, Basically I am trying to find text and highlight it in some scanned PDF's with OCR data layered in. With Adobe Reader I can see that the OCR software has done a decent job, and I am able to select text with the mouse and do a good enough mark with the mouse where I select the hidden OCR t