[iText-questions] End/Beginning of Line troubles

2004-10-26 Thread Ito Kazumitsu
Hi, I am using iText with the attached dirty patch. This patch is needed for Japanese text processing, which has such rules as "some characters should not appear at the beginning of a line" and "a line should not end with some characters". My patch is far from complete to respect such rules. C

[iText-questions] Unable to display Header with additional data.

2004-10-26 Thread Pankaj Sinha
Hi I am able to generate PDF file along with Header and Footer. I have few doubts 1. Inside footer 1st page is displayed as PageNo 2 instead of page No1. 2. I want to display few fields which is set into Properties as part of header and I am unable to do so. The method which does the same is c

[iText-questions] URGENT!!! html to pdf columns

2004-10-26 Thread Natalia De Rogatis
Hi, I'm trying to convert a html to pdf using SaxMyHtmlHandler(), and I'm having problem with the table's column. In the pdf the first column of the table is bigger than the others, and if I set the with attribute in the html td, it doesn't pay attention to it, it leaves the first column as

[iText-questions] Frank Zhou/ReserveFunds is out of the office.

2004-10-26 Thread Frank_Zhou
I will be out of the office starting 10/26/2004 and will not return until 10/27/2004. I will respond to your message when I return. --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld

[iText-questions] Frank Zhou/ReserveFunds is out of the office.

2004-10-26 Thread Frank_Zhou
I will be out of the office starting 10/26/2004 and will not return until 10/27/2004. I will respond to your message when I return. --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld

Re: [iText-questions] mirror image

2004-10-26 Thread Paulo Soares
PdfTemplate tp = cb.createTemplate(img.width(), img.height()); tp.addImage(img, -img.width(), 0, 0, img.height(), img.width(), 0); Image i2 = Image.getInstance(tp); document.add(i2); - Original Message - From: "Jörg Schmalzbauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [iText-questions] how to toggle checkbox in an existing PDF with AcroFields setField() method?

2004-10-26 Thread Paulo Soares
See AcroFields.getAppearanceStates() - Original Message - From: "Bao Trang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 20:47 Subject: [iText-questions] how to toggle checkbox in an existing PDF with AcroFields setField() method? > the setField method in

Re: [iText-questions] UTF-8 Text

2004-10-26 Thread Paulo Soares
UTF-8 is not supported because the PDF support doesn't support it. Whatever you do you must always have a String to generate text. Best Regards, Paulo Soares - Original Message - From: "David Bogus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 20:16 Subject

[iText-questions] how to toggle checkbox in an existing PDF with AcroFields setField() method?

2004-10-26 Thread Bao Trang
the setField method in AcroFields has 2 Strings as parameters, the field name and the value. But if the underlying field to set is a checkbox, what do we enter for the value to toggle the checkbox on? --- This SF.Net email is sponsored by: Syba

[iText-questions] UTF-8 Text

2004-10-26 Thread David Bogus
I have a large amount of content that is in utf-8 encoding. I would like to set the encoding the pdf stream to BaseFont.UTF8 but that is not an option. Has anyone else faced this problem, and is there a reason why UTF-8 is not supported. I see that you can put chars in in the \u format, but I

Re: [iText-questions] Acrobat 6 compression

2004-10-26 Thread Leonard Rosenthol
At 02:07 PM 10/26/2004, Peter Sutton wrote: Is there a version of iText (or will there be) with the ability to read object compressed Acrobat 6 files? Possibly even generate them? The current version of iText from Paolo fully supports PDF 1.5 compressed xrefs and objects. Leonard

[iText-questions] Acrobat 6 compression

2004-10-26 Thread Peter Sutton
Is there a version of iText (or will there be) with the ability to read object compressed Acrobat 6 files? Possibly even generate them? Thanks Peter Sutton -- --- Mr Peter Sutton Telephone: (+44) 115 9524333 / (+44

[iText-questions] Re: how to set a Font for PdfPTable?

2004-10-26 Thread Jerome Jacobsen
Michael Korolyov iplocks.com> writes: > > > Yes, I can set font for each Cell like as > > table.addCell(new Phrase(db.getDbName(), font10)); > > > > Any other way to set âglobalâ > font to a table? > > > Thanks > > > Best Regards. > Michael. > > Maybe this would work? table.get

Re: [iText-questions] mirror image

2004-10-26 Thread Andrea Antonello
Hi Joerg, I would convert it to a BufferedImage and then go on with that. As the Java Developers Almanac 1.4 suggests: // Flip the image horizontally tx = AffineTransform.getScaleInstance(-1, 1) tx.translate(-image.getWidth(null), 0); op = new AffineTransformOp(tx, AffineTransformOp.TYPE_NEAREST_

[iText-questions] mirror image

2004-10-26 Thread Jörg Schmalzbauer
Hi, I\'m trying to mirror an image to insert it into a document. //get image Image img = Image.getInstance(\"test.gif\"); // flip the image horizontally ??? // add it to the document document.add(img); can somebody help me? i really don\'t know how to do it, without generating a second (flipped) i

[iText-questions] mirror image

2004-10-26 Thread Joerg Schmalzbauer
Hi, I\'m trying to mirror an image to insert it into a document. //get image Image img = Image.getInstance(\"test.gif\"); // flip the image horizontally ??? // add it to the document document.add(img); can somebody help me? i really don\'t know how to do it, without generating a sec

Re: [iText-questions] parsing Rich Text Format

2004-10-26 Thread Mark Hall
On Tuesday 26 October 2004 06:36, Paul Lindo wrote: > I did not see any sample docs to parse a RTF file with form fields using > iText? I can't comment on the rest of your questions, but I can state that there is no support for reading RTF files in iText. Greetings, Mark -- My GPG public key is

RE: [iText-questions] Need help urgently with conversion of tiff images (.odm) to pdf files...

2004-10-26 Thread Paulo Soares
Post a couple of .ODM files and maybe we can tell what's inside.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ritha ayanSent: Monday, October 25, 2004 5:45 PMTo: [EMAIL PROTECTED]Subject: [iText-questions] Need help urgently with conversion of tiff im

[iText-questions] parsing Rich Text Format

2004-10-26 Thread Paul Lindo
I have a project that starts with MS Word templates with Form Fields that has to be fill with data from a database based upon user selections.  We can save the MS Word templates with Form Fields as a RTF document.   I did not see any sample docs to parse a RTF file with form fields using iText?   I