[iText-questions] Strange Dash Problem

2004-11-01 Thread Rajnish Srivastava
Hi, I am facing a strange problem. I generate PDF using IText..The java code is installed on JRUN 4 application server. When the user requests for a pdf, I read some file (text file) and generate the corresponding PDF. The pdf generation works fine for some hours, but after say 12 hours or

[iText-questions] x,y position at the document

2004-11-01 Thread dee3lmo
My question is about this statement: cb.showTextAlignedKerned(PdfContentByte.ALIGN_LEFT, This is the first line., 0, 0, 0) ; Why is the text 'This is the first line.' written at the bottem left of the document? If x=0 and y=0 I thought it should be printed at the top left of the document? thanx,

RE: [iText-questions] x,y position at the document

2004-11-01 Thread Bill Ensley
That's java coords, in postscript and pdf, x is still at the left, but y is from bottom up. -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of dee3lmo Sent: Monday, November 01, 2004 7:57 AM To: [EMAIL PROTECTED] Subject:

[iText-questions] HTML webpage conversion using Itext and JSP

2004-11-01 Thread Simon Fuller
Hi, I am a novice to JSP and itext and wondered if it is possible to to use it to convert a webpage containing images to a pdf file? If so, is there any examples? Thanks, Simon This email and any files transmitted with it are confidential and may be privileged and intended solely for the use

Re: [iText-questions] Possible to prevent HtmlWriter replacing and with entities?

2004-11-01 Thread Benjamin Pasero
Replying to my own post, I am know extending the HtmlWriter and overwriting the write() Method such as any gt; and lt; from the String is restored as and . Will this result in any problems? Why at all is iText using that HtmlEncoder:encode() Method? Regards, Ben Hi, I am using iText to