Re: [iText-questions] BaseFont.createFont - unicode?

2003-07-25 Thread Paulo Soares
All the string in Java are Unicode but there are different ways to put them in the PDF. For TT fonts you can use the Identity-H encoding and forget about charsets. The downside is that each character will take 2 bytes in the PDF instead of one. Best Regards, Paulo Soares - Original Message --

Re: [iText-questions] Table/PTable and onNewPage()

2003-07-25 Thread Paulo Soares
- Original Message - From: "Philipp Keller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 21:36 Subject: [iText-questions] Table/PTable and onNewPage() > I've got a few questions: > > - I implemented a PdfPageEvent listener. When onStartPage occurs, I add > a

[iText-questions] BaseFont.createFont - unicode?

2003-07-25 Thread David Thielen
Hi;   Is there a way when calling BaseFont.createFont() and FontFactory.getFont() to tell it the encoding is unicode? Since all the strings I pass are unicode shouldn't I be able to bypass telling it the original encoding of the chars?   thanks - dave

[iText-questions] Table/PTable and onNewPage()

2003-07-25 Thread Philipp Keller
I've got a few questions:   - I implemented a PdfPageEvent listener. When onStartPage occurs, I add a chunk to the document. This chunk is just drawn from the 4th or 5th page.. the doc.add(chunk) funktion always returns true..??? - When I add a Table or PdfPTable at the top of each page (not

Re: [iText-questions] Re: UnsupportedEncodingException

2003-07-25 Thread David Thielen
I want to swear on a ton of bibles that it worked on my last computer but maybe not. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 9:56 AM Subject: Re: [iText-q

Re: [iText-questions] PDF file opening error

2003-07-25 Thread Kenny G. Dubuisson, Jr.
I upgraded to iText 1.00 and it solved the problem. Thanks, Kenny - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 3:41 AM Subject: Re: [iText-questions] PDF file opening error

Re: [iText-questions] Re: UnsupportedEncodingException

2003-07-25 Thread Paulo Soares
A chinese pdf encoding with a latin built in font couldn't work. Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 14:43 Subject: Re: [iText-questions] R

[iText-questions] Encodings

2003-07-25 Thread Sam Maina
Title: Message I need help. I am new to Itext and I was wondering if there is a way I can programmatically using a servlet convert the following ASCII characters to there respective symbols. This data comes from the database and I would like to convert it on the fly.   for example: | co

Re: [iText-questions] Re: UnsupportedEncodingException

2003-07-25 Thread David Thielen
Here is the code:   System.out.println("name = " + internalName);  System.out.println("codepage = " + codePage);  BaseFont bf = BaseFont.createFont(internalName, codePage, BaseFont.NOT_EMBEDDED); And here's the output: [java] Testing report src/net/windward/xmlreport/test/report7.pdf   

Re: [iText-questions] adding content to pdf using PdfStamper

2003-07-25 Thread Paulo Soares
Use the last iText version. Best Regards, Paulo Soares - Original Message - From: "Stefanie Hölderl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 12:28 Subject: [iText-questions] adding content to pdf using PdfStamper > Hi Paulo, > > I have the same problem wi

Re: [iText-questions] unable to download examples-123.zip

2003-07-25 Thread Paulo Soares
Download in binary mode. Whatever the case, the archive is good. Best Regards, Paulo Soares - Original Message - From: "SriHarsha_Parigi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 13:02 Subject: [iText-questions] unable to download examples-123.zip > hi, >

[iText-questions] unable to download examples-123.zip

2003-07-25 Thread SriHarsha_Parigi
hi, I am able to download examples-123.zip. when i am opening i am getting an error "It doesnot appear to be a valid archive". I have tried in both the sites - www.geocities.com/itextpdf and http://itext.execuchoice.net/ regards, sri harsha p *

[iText-questions] adding content to pdf using PdfStamper

2003-07-25 Thread Stefanie=20H=F6lderl
Hi Paulo, I have the same problem with PdfStamper. The Java Code is not working correct, because of the setCellEvent. The CellEvent is unknown. How can I fix this?? __ ComputerBild (15-03) empfiehlt: Der beste Spam-Schut

Re: [iText-questions] adding content to pdf using PdfStamper

2003-07-25 Thread Paulo Soares
See the example stamped.java in www.geocities.com/itextpdf Best Regards, Paulo Soares - Original Message - From: "SriHarsha_Parigi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 11:03 Subject: [iText-questions] adding content to pdf using PdfStamper > hi, >

[iText-questions] adding content to pdf using PdfStamper

2003-07-25 Thread SriHarsha_Parigi
hi, I am using PdfCopy to copy a PDF file but i want to add some content in any of the pages.After copying the file using PdfCopy,i am using PdfStamper to add content to this.I don't know how to use PdfStamper. Is there any example available. PdfReader reader = new PdfReader

Re: [iText-questions] Re: UnsupportedEncodingException

2003-07-25 Thread Paulo Soares
How are you creating the fonts? Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 21:47 Subject: [iText-questions] Re: UnsupportedEncodingException > Hi all; > > It's also displaying

[iText-questions] Re: Height of table when cell contains a huge text

2003-07-25 Thread Paulo Soares
You'll probably need PdfPTable to do such measurements. Best Regards, Paulo Soares - Original Message - From: "Janarthan S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 16:00 Subject: Height of table when cell contains a huge text >

Re: [iText-questions] how to add content for pdf files

2003-07-25 Thread Paulo Soares
First create the full doc with PdfCopy then read it and use PdfStamper to add new content. Best Regards, Paulo Soares - Original Message - From: "SriHarsha_Parigi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 6:16 Subject: [iText-questions] how to add content fo