[iText-questions] Got the same x and y locations for different pieces of text

2008-11-19 Thread Neil Aggarwal
Kevin: This is strange. I am trying to process this file through my text parser: http://www.dallascad.org/forms/2008rate.pdf I am getting the same x and y coordinates for these two pieces of text on page 2 (They are in the notes on the bottom of the page): Taxes for this entity are collected by

[iText-questions] Top Margin Differences on Page 1 (with code)

2008-11-19 Thread Ron Olson
Hi all- Paulo asked to see some code regarding the top-margin issue and I have included it below. This "nothing" program will create a four page PDF that has a table in the header with 3 cells. In the onEndPage() method I set the top margin at document.top() + 30, and while the the table appears p

Re: [iText-questions] problem while merging/consolidating PDF's

2008-11-19 Thread Indraneel
Indraneel-3 wrote: > > > Hi Paulo, > I have correction here..Those individual pdfs are forms and they are > generated using ColdFusions inbuilt pdf generator (I think using Adobe > Life Cycle). But I was able to merge the pdfs generated using iText. > > > > Show us some code and PDFs. > > P

Re: [iText-questions] force pages to mononchrome (Jim Gabriel)

2008-11-19 Thread Leonard Rosenthol
What do you mean by "obscured"? The difference between the two images is that the 3rd party is writing out a DeviceGray image and the iText one is using an RGB image. Both are valid features of PDF since version 1.0. Can you say something more about your Linux & Cups setup? Do you know

[iText-questions] force pages to mononchrome (Jim Gabriel)

2008-11-19 Thread Jim Gabriel
This is a follow up to the prior question. Attached are similar PDFs, one created by iText and the other by a 3rd party application we want to deprecate. When the 3rdpty.pdf is printed under Linux through cups, it prints fine. However, when the itext.pdf is printed, the images are obscured.

Re: [iText-questions] Access tables from PDF file?

2008-11-19 Thread Kevin Day
I'm just not sure that there is sufficient state (that isn't already captured in the graphics state) to justify it.   We'll see how it goes - this is still very, very young code, so it's quite possible that the API of the inner workings could change...   - K   --- Original M

Re: [iText-questions] Access tables from PDF file?

2008-11-19 Thread Neil Aggarwal
Kevin: Since my class is not package local, making the members private will not affect me. The state approach sounds like a good idea since it will keep the related information together. Better organization. Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk e

Re: [iText-questions] Access tables from PDF file?

2008-11-19 Thread Kevin Day
Good suggestion.  done and comitted to HEAD.   I wound up making the member variables of the PdfContentStreamProcessor private (leaving them package exposed was just laziness on my part during inital development) - hopefully that doesn't break anything you have written.   I may decide that a bet

Re: [iText-questions] Access tables from PDF file?

2008-11-19 Thread Neil Aggarwal
Kevin: I wrote a class that extends PdfContentStreamProcessor and implemented my own displayText method. I am able to get the text and x and y coordinates. That gives me what I need. The only problem was that since my class is not in the com.lowagie.text.pdf.parser package, I had to add a prot

Re: [iText-questions] Usps Intelligent Mail Barcode?

2008-11-19 Thread Tobias van Treeck
Hi pickm, have a look at the barcode4j project since they support USPS. http://barcode4j.sourceforge.net/ Maybe you can integrate that lib into itext or you 1. generate a barcode as an image 2. add that with itext into an pdf Or you use FOP to create your PDFs and then you can use the already e

Re: [iText-questions] MDP Siganture - Report Code 4000 Unrecognized PDF Content

2008-11-19 Thread Mario Bianchi
Ok, thank you kindly. --- Mer 19/11/08, Leonard Rosenthol <[EMAIL PROTECTED]> ha scritto: Da: Leonard Rosenthol <[EMAIL PROTECTED]> Oggetto: Re: [iText-questions] MDP Siganture - Report Code 4000 Unrecognized PDF Content A: [EMAIL PROTECTED], "Post all your questions about iText here" Data: M

Re: [iText-questions] Usps Intelligent Mail Barcode?

2008-11-19 Thread Paulo Soares
No, unless there's a contribution or someone is willing to sponsor the development. Paulo From: pickm [EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 4:20 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Usps Intelligent Ma

Re: [iText-questions] Usps Intelligent Mail Barcode?

2008-11-19 Thread pickm
Is there any future plan for support for this new barcode? pickm wrote: > > I could not find any information on the mailing list or in the book for > Usps Intelligent Mail Barcodes. Does iText support it? > -- View this message in context: http://www.nabble.com/Usps-Intelligent-Mail-Barc

Re: [iText-questions] MDP Siganture - Report Code 4000 Unrecognized PDF Content

2008-11-19 Thread Leonard Rosenthol
This just came up internally yesterday as well - though maybe it came from you ;). It turns out there is a bug in the "PDF validator" for certified documents - so it's flagging your valid items as invalid. Sorry about that - we'll fix it at some time in the future. Leonard Rosenthol Adobe

Re: [iText-questions] Showing Comment&Markup toolbar using viewerPreferences

2008-11-19 Thread Leonard Rosenthol
Adobe Reader 8 and later will do that automatically, if the file has comment extended rights. Leonard On Nov 19, 2008, at 1:04 AM, Johanj wrote: > > Hi, > > I have a PDF file created using iText and Reader extended using Adobe > LiveCycle Reader extension component. How can I set the viewer

Re: [iText-questions] Problem with PDF/A validation

2008-11-19 Thread Leonard Rosenthol
I don't know...Probably a bug in their software Why don't you ask them? Leonard On Nov 18, 2008, at 11:26 PM, Schalück, Elmar wrote: > Clarification: > Intarsys reports: > 1 Error: Font QTCBLA+DejaVuSansMono must be embedded > 2 Warnings: No unique ID found > No history entry existing > >

Re: [iText-questions] "Scanline must begin with EOL codeword" when reading certain Fax files

2008-11-19 Thread Tessler, Micah (M.B.)
http://www.itu.int/rec/T-REC-T/e I think you want T.4 -Micah Micah Tessler [EMAIL PROTECTED] Consulting Architect Ford Motor Credit Company Enterprise Architecture 313-322-4267 From: Stefan Unterhofer [mailto:[EMAIL PROTECTED] Sent: Tuesday, November

Re: [iText-questions] 62 column PdfPTable sizing (spreadsheet format)

2008-11-19 Thread Billy Bacon
That seems to have helped, thank you so much Paulo! I had to set the totalWidth value to 5000! Now is there anyway to have the pages span horizontally rather than vertically in the PDF document or is that not a function of iText? For readability purpose it would be nice to read the entire row horiz

Re: [iText-questions] 62 column PdfPTable sizing (spreadsheet format)

2008-11-19 Thread Paulo Soares
Set the total width to 1800 or something like that depending on how many pages you expect the output. Paulo From: Billy Bacon [EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 1:34 PM To: [EMAIL PROTECTED] Cc: Paulo Soares Subject: [iText-questions] 62 column

Re: [iText-questions] 62 column PdfPTable sizing (spreadsheet format)

2008-11-19 Thread Paulo Soares
What value are you giving to PdfPTable.setTotalWidth()? Paulo From: Billy Bacon [EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 1:02 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] 62 column PdfPTable sizing (spreadsheet format) Hi,

[iText-questions] 62 column PdfPTable sizing (spreadsheet format)

2008-11-19 Thread Billy Bacon
Hi, iText Version: 2.1.3 I have a 62 column spreadsheet (CSV format), very basic, just outputs strings to each cell. I'm trying to produce the same exact layout/content in PDF format with iText. The problem is, there are 62 column headers and this does not fit on the page very well (at all actuall

Re: [iText-questions] problem while merging/consolidating PDF's

2008-11-19 Thread Paulo Soares
Show us some code and PDFs. Paulo From: Indraneel Sanikommu [EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 11:21 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] problem while merging/consolidating PDF's Hi all, I have different pdf fi

Re: [iText-questions] Where can I find the iText.dtd?

2008-11-19 Thread Paulo Soares
Don't validate the parser and it will ignore the dtd. Paulo From: 车佳敏 [EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 3:25 AM To: itext-questions Subject: [iText-questions] Where can I find the iText.dtd? hi, I'm testing your example (Chap0701.java) about ho

Re: [iText-questions] Why is the top margin on first page of a document different than subsequent pages?

2008-11-19 Thread Paulo Soares
Show us some code so that we'll be able to reproduce the problem. Paulo From: Ron Olson [EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 5:09 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Why is the top margin on first page of

[iText-questions] Antwort: [Viessmann SPAM-Filter] 'pageFull event' while adding paragraphs

2008-11-19 Thread Benjamin Rein
Hi, the solution you are looking for is the class ColumnText (in particular the methods addElement and go(true)). Just have a look at chapter 7 "constructing columns" in iText in Action. Best Regards Benjamin Tobias van Treeck <[EMAIL PROTECTED]> 18.11.2008 19:08 Bitte antworten an Post al

[iText-questions] Antwort: TIFF image to PDF

2008-11-19 Thread Benjamin Rein
Hi, just look at this example: http://stderr.org/doc/libitext-java-doc/www/tutorial/ch06.html I'm wondering what you exactly mean with "damaging the integrity of the data". Best Regards Benjamin "Mukherjee, Sankar" <[EMAIL PROTECTED]> 18.11.2008 19:23 Bitte antworten an Post all your quest

[iText-questions] Document notes

2008-11-19 Thread marco catuogno
How can i do this the note is on the bottom of the page. Thanx all word[1] <#11db4495438dac31__ftn1> -- [1] <#11db4495438dac31__ftnref1> Word note - This SF.Net email is sponsored by th

[iText-questions] Why is the top margin on first page of a document different than subsequent pages?

2008-11-19 Thread Ron Olson
Hi all- I'm confused about why the top margin for document content on the first page is slightly smaller than on subsequent pages while the content I put in onEndPage() is slightly greater. Everything looks fine from page 2 onward; only the first page has this particular situation. I see in the e

[iText-questions] Where can I find the iText.dtd?

2008-11-19 Thread 车佳敏
hi, I'm testing your example (Chap0701.java) about how to generate .pdf from .xml, but I've got a problem. When I run this example, the eclipse showed these exception below: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at ja

[iText-questions] Showing Comment&Markup toolbar using viewerPreferences

2008-11-19 Thread Johanj
Hi, I have a PDF file created using iText and Reader extended using Adobe LiveCycle Reader extension component. How can I set the viewer preference to see the Comment&Markup toolbars automatically when the PDF is opened in Adobe Reader? Basically, if the comment&markup toolbar is not set in Clien

[iText-questions] problem while merging/consolidating PDF's

2008-11-19 Thread Indraneel Sanikommu
Hi all, I have different pdf files which were generated using different pdf writers (UJAC..etc). Now I am trying to add them up into a single pdf file, I am using Lowagie (iText 2.0.1) for this purpose. Now I have generated a pdf containing pages from different pdf's, but some of the pages came

Re: [iText-questions] Font Encoding

2008-11-19 Thread zoharat
I think I got what I needed. I was registering the fonts. So using the FontFactory.getFont(font name, size, style) method I could retrieve the font. I didn't need any encoding. -- View this message in context: http://www.nabble.com/Font-Encoding-tp20564938p20566017.html Sent from the iText

[iText-questions] MDP Siganture - Report Code 4000 Unrecognized PDF Content

2008-11-19 Thread Mario Bianchi
  Hello.   I used iText to add a certifying signature to a PDF document.   Verifying the signature with Adobe Acrobat 9, in Legal Notice->View Document Integrity Properties, I get this error: 4000 Unrecognized PDF Content.   With Preflight Tool I obtained this report:   General File Format Error