[iText-questions] How to read data from pdf

2009-01-22 Thread s.rajesh
Hi, Am S.Rajesh Kumar working in this organization and want to know the logic that is used to READ the data that is present in a PDF file using itext. Can u please forward me the code or logic through which we can get this functionality? Regards S.Rajesh Kumar.

Re: [iText-questions] HTMLWorker Alignment

2009-01-22 Thread Dominic Maricic
Wow! In all this time, I never considered that HTMLWorker would be working any differently than a browser would (which ignores all white space outside of tags). So basically all white space between tags must be eliminated. That's what I'll have to rework our editor for then, thanks! I did not

Re: [iText-questions] How to read data from pdf

2009-01-22 Thread Alexis Pigeon
Hi Rajesh, On 22/01/2009, s.raj...@birlasoft.com s.raj...@birlasoft.com wrote: Hi, Am S.Rajesh Kumar working in this organization and want to know the logic that is used to READ the data that is present in a PDF file using itext. Can u please forward me the code or

[iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread Starke, Rico
Hi, I have a problem removing a signature from a pdf file with iText. Can someone help me? I remove the signature with acroFields.removeField and write the document back to disk using the pdfstamper. Now the signature is gone (acrobat says there are no signatures in the newly written

[iText-questions] Hi everybody

2009-01-22 Thread sylkat
Hello, this is my first post, First of first, i´m a spanish man, and my english is not good. I have to migrate a application coded in java with itext.0.90. I am having a lot of problems updating the itext0.90 to itext1.2. The code is in java and the IDE is websphere, actually the app is

Re: [iText-questions] How to read data from pdf

2009-01-22 Thread Leonard Rosenthol
Read WHAT? PDF data structures? Text on a page? Images on a page? Form data? Other? Leonard On 1/22/09 8:20 AM, s.raj...@birlasoft.com s.raj...@birlasoft.com wrote: Hi, Am S.Rajesh Kumar working in this organization and want to know the logic that is used to

Re: [iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread Leonard Rosenthol
Why would you want to remove a signature? And do you have the rights to do so (eg. Are you the signatory)? After removing the field, be sure to do a FULL save on the PDF and not an incremental one. Leonard On 1/22/09 12:29 PM, Starke, Rico rico.sta...@gl-group.com wrote: Hi, I have a

Re: [iText-questions] Hi everybody

2009-01-22 Thread Alexis Pigeon
Hi sylkat, (encontrarás una traducción al español más abajo...) You have to understand that iText 1.2 is 4 years old now, and no support is given for such an old version, at least not for free. If your company is eager to get support for a fee, please mention it on this list, the iText

Re: [iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread Starke, Rico
Hi, thanks for your quick reply! Can you provide more information on how to do a full save with iText after removing the signature field? What I do right now is: InputStream signedFileStream = // FileInputStream for a temporary java.io.File OutputStream resultFileStream = // FileOutputStream

[iText-questions] iTextDotNet FIPS

2009-01-22 Thread David Thielen
Hi; The government has a new security standard called FIPS. One of our customers turned on their implementation of FIPS and with iTextDotNet (not the Java version) we now get the following - and we do not do any encryption of the PDF. It runs fine if FIPS is not turned on. Any ideas -

Re: [iText-questions] Hi everybody

2009-01-22 Thread sylkat
Thanx, I know that iText 1.2 is a very old version but is not my decision, i can´t determine this. This is a big company with a strict rules, so big architecture problems. I supose that the big solution is rewrite all code Thanks to all. On Thu, Jan 22, 2009 at 3:05 PM, Alexis Pigeon

[iText-questions] RtfShape and open office

2009-01-22 Thread Benoit Dupont
Hello, I want to add a RTFshape at the end of a rtf document, but when I save it with OpenOffice, it loose some informations and my shape dissapear. Anyone know how to fix this ? _ Découvrez vite le nouveau Hotmail !

Re: [iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread Leonard Rosenthol
You can't use a Stamper, AFAIK. It always does an incremental update save. Why would you want to encrypt files in a DMS? Why not use the native DRM features of the DMS to secure the files? Leonard On 1/22/09 3:31 PM, Starke, Rico rico.sta...@gl-group.com wrote: Hi, thanks for your quick

Re: [iText-questions] iTextDotNet FIPS

2009-01-22 Thread Leonard Rosenthol
FWIW: FIPS isn't new - it's been around for MANY years. In addition, there are multiple variants of FIPS... Leonard On 1/22/09 3:31 PM, David Thielen da...@windward.net wrote: Hi; The government has a new security standard called FIPS. One of our customers turned on their implementation of

Re: [iText-questions] RtfShape and open office

2009-01-22 Thread Howard Shank
If you are saving the document from OpenOffice I'd suggest asking on their message boards. Howard Shank From: Benoit Dupont gand...@hotmail.com To: itext-questions@lists.sourceforge.net Sent: Thursday, January 22, 2009 9:44:11 AM Subject: [iText-questions]

[iText-questions] acroform spanning multiple pages

2009-01-22 Thread Dan Koehler
Hi, I am not understanding something fundamental here. When I create an Acroform across multiple pages, it always renders the fields on the last page only. I use 2 examples, one from the book (with modifications to increase rows), and one of my own. They both demonstrate my problem. Dan

Re: [iText-questions] Changing submit button URL

2009-01-22 Thread Roopa Bethi
I tried live cycle designer to convert XFA form to AcroForm. I did not find in UI. where to do it? can we really do it. In some other message i saw you said it cannot be done and use some program to remove XFA content from pdf...?? thank you. Roopa Leonard Rosenthol-3 wrote: Because SOME

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-22 Thread tlc
But how do I make the background transparent? I added the following code to create a shading color instead of using the image for the header background: ShadingColor tableHeaderBgColor; Rectangle page = document.getPageSize(); PdfShading axial = PdfShading.simpleAxial(writer,

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-01-22 Thread sam krasnik
Matthias Uhler wrote: sam krasnik wrote: I tried doing the same thing, but I couldn't figure out a way to create the VP dictionary on the page, because I don't know how to get a direct PdfPage object whose dictionary I can modify. I can get an indirect reference through the writer via

[iText-questions] PHP port in the works

2009-01-22 Thread Bernd Oliver Sünderhauf
Dear Bruno, dear Paolo, I want to inform you that some weeks ago I started porting iText to PHP. The plan is to lower the prerequisites for running iText on shared servers, so every webmaster can make use of the library without needing a Java environment. For some reasons, several PHP-based

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-01-22 Thread sam krasnik
sam krasnik wrote: Matthias Uhler wrote: sam krasnik wrote: I tried doing the same thing, but I couldn't figure out a way to create the VP dictionary on the page, because I don't know how to get a direct PdfPage object whose dictionary I can modify. I can get an indirect

Re: [iText-questions] when i add an image to a pdf the edges are cut off

2009-01-22 Thread 1T3XT info
Ryan Wexler wrote: It appears as if the dpi and the pixels are the same, yet the size is drastically different. So why does the second one yield an image that is 10 times as big? Most of the other subscribers remain silent because they assume this is a rhetorical question. At least I do. If

Re: [iText-questions] HTMLWorker Alignment

2009-01-22 Thread 1T3XT info
Dominic Maricic wrote: I did not find this noted in the book or anywhere else online. Did I miss something? p459: You typically won’t use HtmlWorker to parse complete HTML files with an html, head, and body tag, but rather to parse small snippets of HTML. I don’t say it’s good design, but I

Re: [iText-questions] Hi everybody

2009-01-22 Thread 1T3XT info
sylkat wrote: This is a big company with a strict rules, so big architecture problems. So they have plenty of $$$ of which none were paid for iText so far. Do you hear me whistling? I supose that the big solution is rewrite all code I'm sorry, but I don't believe what you wrote in your

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-22 Thread 1T3XT info
tlc wrote: But how do I make the background transparent? Not by ignoring my previous answers: 17/01/2009 9:49: Have a look at this example: http://1t3xt.info/examples/browse/?page=exampleid=164 It's sufficient to adapt the subclass Ellipse so that it draws a rectangle to the BACKGROUNDCANVAS

Re: [iText-questions] PHP port in the works

2009-01-22 Thread 1T3XT info
Bernd Oliver Sünderhauf wrote: Dear Bruno, dear Paolo, I want to inform you that some weeks ago I started porting iText to PHP. That's very good news! And also: you're realistic, it won't be obvious. Please keep us posted on your progress. I'm thinking of making a lite version of iText. It

Re: [iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread 1T3XT info
Leonard Rosenthol wrote: You can't use a Stamper, AFAIK. It always does an incremental update save. No, it doesn't ;-) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- This

Re: [iText-questions] Removing a signature thoroughly (acroFields.removeField not sufficient?)

2009-01-22 Thread 1T3XT info
Starke, Rico wrote: Hi, thanks for your quick reply! Can you provide more information on how to do a full save with iText after removing the signature field? What I do right now is: InputStream signedFileStream = // FileInputStream for a temporary java.io.File OutputStream

Re: [iText-questions] acroform spanning multiple pages

2009-01-22 Thread 1T3XT info
Dan Koehler wrote: Hi, I am not understanding something fundamental here. When I create an Acroform across multiple pages, it always renders the fields on the last page only. I didn't look at your example, but you should look at mine: http://1t3xt.info/examples/browse/?page=exampleid=374

Re: [iText-questions] Issue with Courier font white spaces width

2009-01-22 Thread 1T3XT info
TaRe wrote: I am creating a PDF document that requires all characters to be the same width. protected static Font defaultFont = FontFactory.getFont(FontFactory.COURIER, 6, Font.NORMAL); However, I find that the whitespaces have different width than the other letters and numbers.

Re: [iText-questions] iTextDotNet FIPS

2009-01-22 Thread David Thielen
Any idea why the variant they are using would cause this problem? thanks - dave From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Thu 1/22/2009 7:51 AM To: Post all your questions about iText here Subject: Re: [iText-questions] iTextDotNet FIPS

Re: [iText-questions] when i add an image to a pdf the edges are cut off

2009-01-22 Thread Ryan Wexler
Well is there a tutorial or docs on changing compression levels using itext when saving a document because I don't see much in the docs? I am trying keep the files reasonably small and the documents I am compressing are generally but not always text documents captured through a scanner. What

Re: [iText-questions] when i add an image to a pdf the edges are cut off

2009-01-22 Thread 1T3XT info
Ryan Wexler wrote: Well is there a tutorial or docs on changing compression levels using itext when saving a document because I don't see much in the docs? I have said NOTHING about compression levels whatsoever. That is completely irrelevant in your context. All I did was point you to the fact

Re: [iText-questions] HTMLWorker Alignment

2009-01-22 Thread Dominic Maricic
I actually did read that, that's why I wrote in the last email By the way, the HTMLWorker only generates about 10% of the content within the program. The rest is all using normal Chunks, Paragraphs, etc. I have exactly what you said, a few fields that users can input html and then that gets

Re: [iText-questions] HTMLWorker Alignment

2009-01-22 Thread 1T3XT info
Dominic Maricic wrote: There's no way to use another program to parse the html and the insert it into a PdfPTable right? I don't see the problem. In my applications I usually use dom4j to preprocess the XML/HTML and I tell dom4j to remove the ignorable whitespace. Another possibility would be