[iText-questions] Filled InfoPath 2010 converter to PDF file with password encrypted

2012-02-20 Thread Doorga_Prasad_Shukla
Hi Team, I have the business requirement, filled out designed InfoPath 2010 and it contains button called publish and while clicked on publish, need to convert InfoPath 2010 to PDF file with encrypted password security mechanism. I have been explored built-in InfoPath 2010 export to PDF method

[iText-questions] onEndPage no longer working...

2012-02-20 Thread Rod Hall
We ported our java application from Google App Engine to a dedicated server running Tomcat. PDF creation works great, except that it appears that onEndPage is no longer called, as we are not getting our page headers or footers anymore. Code looks good, we still have our PdfHeaderFooter class whic

Re: [iText-questions] PdfContentStreamProcessor and changes in graphics state

2012-02-20 Thread Kevin Day
Sure, I'd be happy to add a note to to the processContent() method. Did you happen to note the reset() method? -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfContentStreamProcessor-and-changes-in-graphics-state-tp4403123p4405492.html Sent from the iText - General

Re: [iText-questions] PdfContentStreamProcessor and changes in graphics state

2012-02-20 Thread Peter Schwalm
Hi Kevin, thank you for your answer. Perhaps it would be nice, if this could be mentioned at a promiment place in the api docs and / or in the itext book. The examples I have found tend to look as if ProcessContent() was something like a "per page action" that begins with a tabula rasa at each

[iText-questions] How to view all form fields values before submit to the server?

2012-02-20 Thread Evian Silverman
Hello, On my PDF form I have Javascript code for each Date field to format the date value to mm/dd/. If user enters date value in different format, such as May 2, 2012, the Javascript code can correctly convert it to 05/02/2012 and display the new format in the text field. I then click the Sub

Re: [iText-questions] iText 5.1.4 text extraction issue

2012-02-20 Thread sselvia
Paulo, I downloaded the SVN 5.1.4 trunk and yes the fix does work. Thanks again for your help. -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-5-1-4-text-extraction-issue-tp4392568p4405070.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] ToUnicode CMap parsing issue

2012-02-20 Thread Paulo Soares
Fixed in the SVN. Paulo - Original Message - From: Kevin Day To: itext-questions@lists.sourceforge.net Sent: Monday, February 20, 2012 6:47 PM Subject: [iText-questions] ToUnicode CMap parsing issue One of the CMaps used in this document: http://www.sec.gov/about/forms/

[iText-questions] ToUnicode CMap parsing issue

2012-02-20 Thread Kevin Day
One of the CMaps used in this document: http://www.sec.gov/about/forms/formid.pdf is causing the cmap parser to choke. Here is the CMap: /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (NBWVJK+TimesNewRomanPS+0) def /Ordering (T1UV) def /Supplement 0 def

[iText-questions] Unordered list doesn't work in ColumnText?

2012-02-20 Thread Greg Holling
Hi, All. I've been trying to embed an ordered/unordered list in a ColumnText without much luck. I'm attaching test code that illustrates the problem. The difference between these two examples is that the (unordered) list is added to the ColumnText object in the first example, and to the doc

Re: [iText-questions] PdfContentStreamProcessor and changes in graphics state

2012-02-20 Thread Kevin Day
This is intentional and by design. PdfContentStreamParser is stateful - create a new one for each page. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfContentStreamProcessor-and-changes-in-graphics-state-tp4403123p4404506.html Sent from the iText - General mailing

Re: [iText-questions] iText 5.1.4 text extraction issue

2012-02-20 Thread sselvia
Yes I read your reply, however since the stream of the PDF I uploaded is different from the PDF stream from the original PDF I could not upload I did not know if your fix would resolve the problem of the text losing the space between the words. -- View this message in context: http://itext-gene

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Wain, Matthew
Bounce (restart) the server (or both if you have more than one). I believe your issue is setting up the class path incorrectly though. From: Andreas Kuehne [mailto:kue...@trustable.de] Sent: 20 February 2012 12:41 To: Post all your questions about iText here Subject: Re: [iText-questions]

Re: [iText-questions] iText 5.1.4 text extraction issue

2012-02-20 Thread Paulo Soares
It's already fixed. Don't you read the replies? Paulo - Original Message - From: sselvia To: itext-questions@lists.sourceforge.net Sent: Monday, February 20, 2012 12:58 PM Subject: Re: [iText-questions] iText 5.1.4 text extraction issue I installed the Netbeans Debug PDF p

Re: [iText-questions] iText 5.1.4 text extraction issue

2012-02-20 Thread sselvia
I installed the Netbeans Debug PDF plugin, I'm able to get the stream from page one from the original PDF that does not have any sensitive material. I don't see the <001>'s but I do see <003>'s, I'm posting this just in case it would point out another issue. Since my hack using preview did not ge

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Andreas Kuehne
Hi AppalaNaidu, if you don't know how to do simple classpath setup and if you are not fimiliar with Eclipse and didn't walked thru the documentation avialable for iText .. you will never meet your deadline! Greetings Andreas > HI Alexis, This is AppalaNaidu. > I downloaded latest version of itex

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Wain, Matthew
It's been a while for me but: I think you may want to update your version of iText as I don't believe 2.1.7 is supported anymore. (updating isn't as painful as you might think). To me it looks like you are missing a library? From: GaneshKumar AppalaNaidu [mailto:pilla.appalanaidu1...@g

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Balder VC
1. Your itext version is outdate, consider upgrading 2. Add bouncycastle to your classpath, required libraries for your code that do encryption, that's whats missing ( www.bouncycastle.org ) 3. Read more documentation and you would not have to ask this question On 20/02/12 11:38, GaneshKumar App

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Andreas Kuehne
Hi AppalaNaidu, try the most obvious: Add the class that's missing the classpath, in this case the bouncy castle jar ... maybe you should refresh your Java basics .. Greetings, Andreas > HI Friends, This is ApplaNaidu. > Client requirement is file sending or saving with password protection > thr

Re: [iText-questions] PDF Related Issue

2012-02-20 Thread Alexis Pigeon
Hi ApplaNaidu, On 20 February 2012 11:38, GaneshKumar AppalaNaidu < pilla.appalanaidu1...@gmail.com> wrote: > HI Friends, This is ApplaNaidu. > Client requirement is file sending or saving with password protection > through. > but at this time it will raise the given below error. > If any one kno

Re: [iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread Shriram
I had mentioned in my first post that I had used just a PdfTextExtractor. And I never alleged any tool of not working. Anyway, thanks for the quick answer. I'll try using TextRenderInfo. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Reading-blocks-of-text-based-on-th

Re: [iText-questions] Extracting text font style

2012-02-20 Thread manojkumar1412
>OK, I assume you're using the com.itextpdf.text.pdf.parser classes to do so. >To me it's evident you're not trying to extract text with a cork screw, >but as you're not being specific, one never knows. I am sorry for the inconvenience. I am new to community. Yeah. You are right, I am using the

Re: [iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread iText Info
Op 20/02/2012 10:11, Shriram schreef: > Thanks for the answer. I would like to know what tool has to be used to > extract such information. I again want to stress that there can be text > blocks with different fonts/sizes within the same page and I want to extract > their information sequentially.

Re: [iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread Shriram
@1T3XT BVBA Thanks for the answer. I would like to know what tool has to be used to extract such information. I again want to stress that there can be text blocks with different fonts/sizes within the same page and I want to extract their information sequentially. -- View this message in context:

Re: [iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread iText Info
Op 20/02/2012 9:56, Shriram schreef: > In other words, is it possible to retrieve the font, size and other > attributes of the text in the PDF file? Of course! -- Try before you buy = See our experts in action! The most co

Re: [iText-questions] Reg: Extracting text font style

2012-02-20 Thread iText Info
Op 20/02/2012 9:45, manoj kumar schreef: > Thanks for your reply. > > I am trying to extract text from pdf. OK, I assume you're using the com.itextpdf.text.pdf.parser classes to do so. To me it's evident you're not trying to extract text with a cork screw, but as you're not being specific, one ne

Re: [iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread Shriram
In other words, is it possible to retrieve the font, size and other attributes of the text in the PDF file? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Reading-blocks-of-text-based-on-their-font-size-tp4403517p4403538.html Sent from the iText - General mailing list

Re: [iText-questions] Reg: Extracting text font style

2012-02-20 Thread manoj kumar
Thanks for your reply. I am trying to extract text from pdf. Text is written in hierarchical way..lets say i have a chapter, inside it section, inside section might be another section or any paragraph..and i need to recognize the origin of text(i.e whether it is coming from paragraph or section or

Re: [iText-questions] Reg: Extracting text font style

2012-02-20 Thread manojkumar1412
Thanks for your reply. I am trying to extract text from pdf. Text is written in hierarchical way..lets say i have a chapter, inside it section, inside section might be another section or any paragraph..and i need to recognize the origin of text(i.e whether it is coming from paragraph or section or

[iText-questions] Reading blocks of text based on their font/size

2012-02-20 Thread Shriram
Hi. I have created a PDF file using iText(Java) which has text(essentially multiple Strings in a single page) in different fonts and sizes. Now, when I read back this file thorugh PdfTextExtractor, I get the entire text in the page as a single String. Is there a way to extract each String by String

Re: [iText-questions] Reg: Extracting text font style

2012-02-20 Thread iText Info
Op 20/02/2012 7:30, manoj kumar schreef: > Is this possible to extract text font style from pdf? The concept of font style doesn't really exist in PDF. For instance, if you have the font family Helvetica, different fonts will be used for the styles normal, bold, italic and bold-italic. In this c