Re: [iText-questions] Iterate through elements

2008-05-08 Thread Lars Eirik Rønning
What i am looking at is a way to start iterating through all visible elements on a given page and in a way be able to do the following: switch(element.getType()){ case PdfObject.Xobject:{ //get the element and process it at necessary for my task.. } I have read the book and think it is

Re: [iText-questions] New Page is not added for the end of the page for a very, very long text

2008-05-08 Thread krishnan.1000
Hi, I am sorry if I was not clear. I want to show as much text as possible as specified by the column width. If the height is not sufficient enough, I want the remaining text to be displayed on the new page. thanks, Karthik info-1527 wrote: Quoting krishnan.1000 [EMAIL PROTECTED]: Hi

Re: [iText-questions] New Page is not added for the end of the page for a very, very long text

2008-05-08 Thread krishnan.1000
Sorry, I should have added this. I want to start adding text from the first page. I only want to create a new page if there is still some text remaining. krishnan.1000 wrote: Hi, I am sorry if I was not clear. I want to show as much text as possible as specified by the column width. If

[iText-questions] Problem with the page event

2008-05-08 Thread Javier Del Amo
Good Morning. I have a problem and I would like sombody can help me. The question is: is possible cancel the event onEndPage, when the last page of the document is created? I am using onEndPage to create the header and footer of the document. The footer have the page number. But I create the

Re: [iText-questions] New Page is not added for the end of the page for a very, very long text

2008-05-08 Thread Bruno Lowagie
krishnan.1000 wrote: Sorry, I should have added this. I want to start adding text from the first page. I only want to create a new page if there is still some text remaining. Read the answer provided by 1T3XT BVBA!!! Make one small adaptation and it will be exactly the way you want it. We

Re: [iText-questions] Iterate through elements

2008-05-08 Thread Bruno Lowagie
Lars Eirik Rønning wrote: What i am looking at is a way to start iterating through all visible elements on a given page and in a way be able to do the following: switch(element.getType()){ case PdfObject.Xobject:{ //get the element and process it at necessary for my task.. } Reading

Re: [iText-questions] Problem with the page event

2008-05-08 Thread Bruno Lowagie
Javier Del Amo wrote: The question is: is possible cancel the event onEndPage, when the last page of the document is created? Add a boolean membervariable to your Page Event implementation, for instance: protected boolean lastPage = false; Also add a setter method: public void

[iText-questions] PDF Signatures: Field name of invisible signatures; configuring the hash function to use with PPKLITE

2008-05-08 Thread Starke, Rico
Hi, can you help me with two questions regarding signatures? 1) Is there a way to set the field name when applying an invisible signature? For visible signatures, PDFSignatureAppearance offers two setVisibleSignature methods to accomplish this, but for invisible signatures, a default name seems

[iText-questions] Which Font to Use

2008-05-08 Thread Wagoner, Mark
I have a Swing app that generates a report that contains a couple of special characters; the Greek mu and the degree symbol. The characters are encoded as Unicode characters and they appear fine when rendered on the screen or sent to a printer. I am now trying to add a Print to PDF function.

[iText-questions] Export UTF-8 Char in PDF

2008-05-08 Thread san kar
Hi I want to export a pdf with UTF-8 char. whether i-text support UTF-8 char to export in PDF if yes, please give link for the example Thanks SAN - This SF.net email is sponsored by the 2008 JavaOne(SM)

Re: [iText-questions] Export UTF-8 Char in PDF

2008-05-08 Thread Bruno Lowagie
san kar wrote: Hi I want to export a pdf with UTF-8 char. You forgot half of the above sentence; please add the missing target. whether i-text support UTF-8 char to export in PDF Your question doesn't make sense, but... I suppose it's safe to say that iText supports UTF-8. if

[iText-questions] New JAR Versions and The Book..

2008-05-08 Thread glen . hamel
Hi, With the new version about to be released and a version having been released not that long ago, how up to date is the Book if I wanted to get myself a copy. Should I wait for the book to be re-released to match a newer JAR version? Glen Hamel Lead Programmer / Technician Auric Networks

Re: [iText-questions] New JAR Versions and The Book..

2008-05-08 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi, With the new version about to be released and a version having been released not that long ago, how up to date is the Book if I wanted to get myself a copy. The book will always remain the best introduction to iText for new iText users. The new functionality

Re: [iText-questions] New JAR Versions and The Book..

2008-05-08 Thread glen . hamel
Thanks Bruno.. Much appreciated... I'll go get the book... Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.3912 http://www.auricnet.ca From: Bruno Lowagie [EMAIL PROTECTED] To: Post

Re: [iText-questions] Which Font to Use

2008-05-08 Thread Paulo Soares
Map in DefaultFontMapper the font Symbol with the encoding Symbol. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wagoner, Mark Sent: Thursday, May 08, 2008 12:54 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions]

Re: [iText-questions] PDF Signatures: Field name of invisiblesignatures; configuring the hash function to use with PPKLITE

2008-05-08 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Starke, Rico Sent: Thursday, May 08, 2008 10:55 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] PDF Signatures: Field name of invisiblesignatures; configuring the hash

Re: [iText-questions] iTextSharp XMLParser Problem

2008-05-08 Thread Daniel Foster
Paulo, Many thanks for your e-mail that worked like a charm!!! Dan. Re: [iText-questions] iTextSharp XMLParser Problem From: Paulo Soares [EMAIL PROTECTED] - 2008-05-07 15:11 ITextHandler.SetControlOpenClose(false). You must open and close the document yourself. Paulo

[iText-questions] Groovy based DSL for IText ?

2008-05-08 Thread Helmut Denk
hi itext-users, currently i am reading venkat subramaniam's book http://pragprog.com/titles/vslg/programming-groovy Programming Groovy and also work for a project that makes use of itext. my guess is, that a groovy-based dsl could be a very smart way to let people produce itext-output.

[iText-questions] Changing xml-part of PDF and inject it to the final PDF file

2008-05-08 Thread Ricardo Matos
Hi, I'm having an hard time trying to do something that I don't even know if it's possible. I have read a lot about iText and goggled like a maniac (I had dozens of tabs opened in my Firefox, all about iText). Here's my problem: - I have a dynamic pdf form with a repetitive part. Let's say I

Re: [iText-questions] Which Font to Use

2008-05-08 Thread Wagoner, Mark
I'm afraid I'm not following. This is what I have but I get the same result. Can you tell me where I am going wrong? DefaultFontMapper fontMapper = new DefaultFontMapper(); DefaultFontMapper.BaseFontParameters parameters = new DefaultFontMapper.BaseFontParameters(Symbol);

Re: [iText-questions] Groovy based DSL for IText ?

2008-05-08 Thread mister bean
Groovy is a great language. While in Java, not Groovy, the Platypus project (http://platypus.pz.org) is working on providing a higher-level layer for iText. The project is in the middle of a rewrite now (I am part of the team) to move to a plugin architecture so PDF, HTML, and Word docs will