Re: [iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Jürgen Lind
It's a plain Tomcat 4.0.4 installation running under a Jdk1.4.0. Furthermore, the profiler tells me that most of the time is spent in PdfWriter.createInstance. Looks quite strange to me... Best Regards, Jürgen Paulo Soares wrote: It looks like a problem with the class loader of your servlet co

RE: [iText-questions] newbie : Is it possible to add a line

2003-10-01 Thread Kumar, Hemanth
Thanks for the help Paulo, I have one more question. When I use the following code to load an image Image image = Image.getInstance("companyLogo.jpeg"); Could u please tell me which directory does the iText expect to have the image.Is there a way I can specify a relative path exclusively ? tha

Re: [iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Paulo Soares
It looks like a problem with the class loader of your servlet container. No heavy initializations are done as you can check with the command line speed. Best Regards, Paulo Soares - Original Message - From: "Jürgen Lind" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October

Re: [iText-questions] newbie : Is it possible to add a line

2003-10-01 Thread Paulo Soares
That's possible with PdfPTableEvent or PdfPCellEvent. Best Regards, Paulo Soares - Original Message - From: "Kumar, Hemanth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 15:43 Subject: RE: [iText-questions] newbie : Is it possible to add a line > Hello,

Re: [iText-questions] HTMLParser-more info

2003-10-01 Thread i t
Sorry!  My bad!!!  Thanks for your patience and help!  Changing the end-tag to a start-tag on the row fixed the problem.  So for this HTML code, this is the error iText gives.   Thanks again,  Bruno Lowagie <[EMAIL PROTECTED]> wrote: i t wrote:> the following error :> > error = Insertion of illega

RE: [iText-questions] newbie : Is it possible to add a line

2003-10-01 Thread Kumar, Hemanth
Hello, Is it possible to add a horizontal line inside a row of the table. or is there any way I can insert a line which should position automatically(move down/up) with respect to other rows above it. thanks for the help Hemanth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI

Re: [iText-questions] HTMLParser-more info

2003-10-01 Thread i t
Thanks for the input Bruno!  I hope to get a chance to work on it!  Right now I have a bigger issue.  The code I had working   HtmlParser.parse(document222, baisStrm2);   has quit working with the following error :   error = Insertion of illegal Element: 20 The HTML I am using is:         Temp tit

Re: [iText-questions] HTMLParser-more info

2003-10-01 Thread Bruno Lowagie
i t wrote: the following error : error = Insertion of illegal Element: 20 In this class you find the meaning of the number 20: http://itext.sourceforge.net/src/com/lowagie/text/Element.java public static final int CELL = 20 So you are trying to add a cell into an object that is not a row. In y

[iText-questions] newbie : putting an image file on a pdf..

2003-10-01 Thread Kumar, Hemanth
Hello, I am trying to put my company logo on a pdf page, and my problem is where/how do I specify the relative location of the gif/jpeg file in the program. I currently use the following line of code to test on my local, Image image = Image.getInstance("c:/companyLogo.jpeg"); it loads the jpeg a

RE: [iText-questions] Newbie: xml package in iText

2003-10-01 Thread Ganesh
I tried iText with some 20 tables and each having around 20 rows (XML approach). I find the performance is Excellent. Great Work Do we have a kind of ready reckner for this XML approach apart from the good examples that are provided? I wanted to know if it is possible to use iText XML APPROA

RE: [iText-questions] Newbie: xml package in iText

2003-10-01 Thread Bruno
Quoting Ganesh <[EMAIL PROTECTED]>: > > > I tried iText with some 20 tables and each having around 20 rows (XML > approach). I find the performance is Excellent. Great Work > > Do we have a kind of ready reckner for this XML approach apart from the > good examples that are provided? > I wa

RE: [iText-questions] Newbie: xml package in iText

2003-10-01 Thread Ganesh
Thanks. I have made that change and it is working now. Sorry for this uninteresting question. I would like know, what ever you do in java class with tables in example Chap1203.java, can the same stuff be done in xml file instead (like how it is done in Cv.java example)? Because I feel it is ide

[iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Jürgen Lind
Hi, while playing around with itext for some time to see if it fits in our project, I stumbled over some strange behavior: whenever I create a iText PdfWriter within a servlet, the creation time jumps up to about 10 seconds for the first invocation of createInstance. All subsequent invocations are

RE: [iText-questions] Newbie: xml package in iText

2003-10-01 Thread Bruno
Quoting Ganesh <[EMAIL PROTECTED]>: > > > Thanks. > I have made that change and it is working now. Sorry for this > uninteresting question. > > I would like know, what ever you do in java class with tables in example > Chap1203.java, can the same stuff be done in xml file instead (like how > i

Re: [iText-questions] About iText-paulo-126

2003-10-01 Thread Bruno Lowagie
Paulo Soares wrote: -Original Message- From: kathy [SMTP:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 18:11 To: iText-FAQ Subject:[iText-questions] About iText-paulo-126 Hi, When do this version will be released? Whether it is stable and reliable That's up to

Re: [iText-questions] Newbie: xml package in iText

2003-10-01 Thread Bruno
Quoting Ganesh <[EMAIL PROTECTED]>: > Dear users, > > I am new to iText. When I tried to compile the Cv.java from the examples > I get a compilation error. I have already put the itext-1.00.jar in the > classpath. You also need the iTextXML.jar. br, Bruno -

RE: [iText-questions] About iText-paulo-126

2003-10-01 Thread Paulo Soares
> -Original Message- > From: kathy [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 18:11 > To: iText-FAQ > Subject: [iText-questions] About iText-paulo-126 > > Hi, > > When do this version will be released? Whether it is stable and reliable > That's up to Bru

RE: [iText-questions] Print single layer?

2003-10-01 Thread Paulo Soares
It's possible to create a new document with just the data layer by setting the page content to new byte[0]. Best Regards, Paulo Soares > -Original Message- > From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 3:48 > To: Rea, Ron; '[EMAIL PROTECTED]' > Su

[iText-questions] Newbie: xml package in iText

2003-10-01 Thread Ganesh
Title: Message Dear users,   I am new to iText. When I tried to compile the Cv.java from the examples I get a compilation error. I have already put the itext-1.00.jar in the classpath.   Cv.java:28: cannot resolve symbolsymbol  : class XmlParserlocation: package xmlimport com.lowagie.text.

[iText-questions] RE: iText and JFreeChart

2003-10-01 Thread Carmona Perez, David
Quite simple. The tecnique I use to mix charts with other regular iText output like Phrases, Chunks is to create an empty table to reserve space, and in an table event draw the table. In the event I have all the needed data to position exactly the chart. Here is a snippet of the code I use:

RE: [iText-questions] Links on images.

2003-10-01 Thread Paulo Soares
You can do this: Image img = Image.getInstance(...); Annotation annot = new Annotation(0,0,0,0,"http://...";); img.setAnnotation(annot); Best Regards, Paulo Soares > -Original Message- > From: Glorious Blues [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 2:15 > To: Paulo S

Re: [iText-questions] Print single layer?

2003-10-01 Thread Leonard Rosenthol
At 12:30 PM -0500 9/30/03, Rea, Ron wrote: I am creating a PDF, using PDFStamper and AcroFields, in which an existing PDF is used as a base layer and a second layer is used to display the data. The base layer and the data layer are displayed together (code included), giving the appearance that