Re: [iText-questions] can't get images and text on same line using ColumnText

2005-01-21 Thread Paulo Soares
Paragraph p = new Paragraph(); p.add(new Chunk("1. ")); p.add(new Chunk(img, 0, -img.scaledHeight()); p.setSpacingAfter(img.scaledHeight()); ct.addElement(p); - Original Message - From: "Timothy Woolley" <[EMAIL PROTECTED]> To: Sent: Friday, January 21, 2005 9:55 PM Subject: [iText-ques

Re: [iText-questions] Unbalanced save/restore state operators

2005-01-21 Thread Paulo Soares
It means that you did one restoreState() too many. For each restoreState() you must have a saveState(). - Original Message - From: "Steven Green" <[EMAIL PROTECTED]> To: Sent: Friday, January 21, 2005 8:48 PM Subject: [iText-questions] Unbalanced save/restore state operators > What cau

Re: [iText-questions] Problems with rotated text

2005-01-21 Thread Paulo Soares
The spacing changed to match the java.awt.Font spacing. If you had something right aligned in Graphics2D it would look bad in the old version. In the new version the alignment will be correct even with a substitution font. - Original Message - From: "Christian Lauer" <[EMAIL PROTECTED]> T

RE: [iText-questions] Problems with rotated text

2005-01-21 Thread Christian Lauer
Hi Paulo, your patch did it, this looks very much better! Comparing the output of Release 1.1.4 with the new one (both attached) you can see that there letter spacing seems to have been changed. Is this correct? Best regards, Christian On Fri, 2005-01-21 at 09:58 +, Paulo Soares wrote: > Se

Re: [iText-questions] itext -- help needed

2005-01-21 Thread Paulo Soares
Form filling and flattening is not particularly fast in iText and to add on top of it you are also rereading the resulting PDF to concatenate it. Other alternatives are possible but must be tailored to your specific workflow. - Original Message - From: "Najaf Shah" <[EMAIL PROTECTED]> To

Re: [iText-questions] PdfGraphics2D convertImagesToJPEG

2005-01-21 Thread Paulo Soares
Send me your version and I'll include it. - Original Message - From: "Bill Ensley" <[EMAIL PROTECTED]> To: "iText Mail Group" Sent: Friday, January 21, 2005 8:41 PM Subject: [iText-questions] PdfGraphics2D convertImagesToJPEG > Hello Paulo, > > I just upgraded my internal version of iT

Re: [iText-questions] AcroFields error at com.lowagie.text.pdf.AcroFields.fill(AcroFields.java:99)

2005-01-21 Thread Paulo Soares
Problem fixed. The fix will be in the next release. - Original Message - From: "Noah Mattern" <[EMAIL PROTECTED]> To: Sent: Friday, January 21, 2005 5:52 PM Subject: [iText-questions] AcroFields error at com.lowagie.text.pdf.AcroFields.fill(AcroFields.java:99) > A predecessor of mine u

[iText-questions] RE:PdfPCell.setBorder(1)

2005-01-21 Thread Domenick Lacertosa
Title: Message i have a problem... i build pdf documents using itext.. i use a strange way, using an oracle table... and all sounds good... but when i say, when i need PdfPCell.setBorder(1) it doen"t build horizontal and verticalborders... but only the top horizontal one... why??? thanks t

Re: [iText-questions] PdfPCell.setBorder(1)

2005-01-21 Thread Wendy Smoak
From: Andrea Bertoli > but when i say, when i need PdfPCell.setBorder(1) it doen't build horizontal and vertical borders... > but only the top horizontal one... The setBorder(int) method is inherited from Rectangle: http://itext.sourceforge.net/docs/com/lowagie/text/Rectangle.html#setBorder(int)

[iText-questions] can't get images and text on same line using ColumnText

2005-01-21 Thread Timothy Woolley
I am trying to generate a PDF which contains Images and text in Columns. I am using ColumnText to do this, with limited success. I need to format to be something like:   1.     |  |     |   IMAGE| --- 2.     |  |

[iText-questions] Unbalanced save/restore state operators

2005-01-21 Thread Steven Green
What causes the message "Unbalanced save/restore state operators." to be issued by iText. My application is generating this message seemingly at random. I did a google search and it came up with a hit on the code but nothing that lets me know what I am doing wrong. Any ideas? Thanks, Steven Gre

[iText-questions] PdfGraphics2D convertImagesToJPEG

2005-01-21 Thread Bill Ensley
Hello Paulo,   I just upgraded my internal version of iText to your newest version.   Thank you for adding my convertImagesToJPEG option to PdfGraphicsPrinter.   One other note on this subject, would it be advisable to add the same funtionality to the private setPaint() method when Texture

[iText-questions] PdfPCell.setBorder(1)

2005-01-21 Thread Andrea Bertoli
i have a problem... i build pdf documents using itext.. i use a strange way, using an oracle table... and all sounds good... but when i say, when i need PdfPCell.setBorder(1) it doen't build horizontal and vertical borders... but only the top horizontal one... why???   thanks to everyone who

RE: [iText-questions] itext -- help needed

2005-01-21 Thread Bill Ensley
NEED MORE INPUT!!! What is it that your program does. Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Najaf Shah Sent: Friday, January 21, 2005 9:54 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] itext -- h

[iText-questions] AcroFields error at com.lowagie.text.pdf.AcroFields.fill(AcroFields.java:99)

2005-01-21 Thread Noah Mattern
A predecessor of mine used an old (acrobat 3) SDK to create an API which allows for fields to be placed on a PDF via a small GUI tool. Using iText, I am unable to create an AcroFields object based on the fields created with this tool. I have attached a sample PDF which has a single field (EVENT_D

[iText-questions] itext -- help needed

2005-01-21 Thread Najaf Shah
Hi, I've written a program that makes use of the itext librarythe problem is that even on a dual xeon with loads of ram and scsi drives, it's pretty slow. I'd welcome any ideas that you might have to speed the program up..has anyone tried to use gcj to accomplish this...if yes, can you

Re: [iText-questions] RE: itext and xfa/xdp forms

2005-01-21 Thread Leonard Rosenthol
At 11:58 AM 1/21/2005, Wolfgang Mitterbucher wrote: what must i do to convert a xdp (out of an Designer 7) to a pdf in iText? You must parse the XML and find the object (encoded as Base64) and extract it. It's a real PDF that you can then use with iText. Are there special xdp functions

[iText-questions] Adding a Unorder list to a table on a pdf document

2005-01-21 Thread srinivasu . l . vempuluru
Hi, I am trying to add a Unordered list to a cell in table on a pdf document. It is not displaying the bullet and the order. It displays the content in one line. If I add the list to the document, it is displaying correctly. The following is the code snippet i am using. Par

[iText-questions] about Adobe Reader 7.0 question

2005-01-21 Thread yuanjk
Hi, I use iText(version 0.92 and version 1.2) to create pdf files. I can open the generated PDF files in Adobe Reader 5.1 and Adobe Reader 6.0. But some the generated files can not be opened--Adobe Reader 7.0 says "Token type not recognized ",And if you scroll down the pages, everything disappea

RE: [iText-questions] Document/PdfPTable problem from v1.0

2005-01-21 Thread Paulo Soares
I don't see how that can happen. Post a short example so that the problem can be reproduced and fixed. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jani Bäckman > Sent: Friday, January 21, 2005 12:03 PM > To: itext-questions@lists.sourceforg

[iText-questions] insert an image on header

2005-01-21 Thread Thomas
hi everybody!   i want to insert an image in a header of the document but i couldn´t it! its possible? thanks!

[iText-questions] RE: itext and xfa/xdp forms

2005-01-21 Thread Wolfgang Mitterbucher
Hello, what must i do to convert a xdp (out of an Designer 7) to a pdf in iText? Is it also possible to store this pdf as an eg. version 1.3 ? Are there special xdp functions in iText so that i can retrieve objects like DataConnection, or must this be done via sax..? Thanks in advance Wolfgang

[iText-questions] Document/PdfPTable problem from v1.0

2005-01-21 Thread Jani Bäckman
I have just been thrown into a new project where final release is on Monday and my part is to implement a Kerning-method for an itext application. The person who has made the application has gone to Malaysia so she can't be reached... In itext1.0 the API lacks BaseFont.setKerning and therefo

RE: [iText-questions] Problems with rotated text

2005-01-21 Thread Paulo Soares
See if this change in PdfGraphics2D solves the problem: public void drawString(String s, float x, float y) { if (s.length() == 0) return; setFillPaint(); if (onlyShapes) { TextLayout tl = new TextLayout(s, this.font, new FontRenderContext(new Aff

[iText-questions] Table Problem from Itext 0.9.8 to v1.1.0

2005-01-21 Thread Domenick Lacertosa
Title: Message We created a Table using the 0.9.8 release and that Table displayed correctly in pdf.  It would have a row of empty cells (technically new Cell("")) and it also had cells where the text would wrap in a cell correctly.  When upgrading to 1.1.0 the wrapping would not work anymor