[iText-questions] IllegalArgumentException with Swing Component

2002-07-02 Thread Tim Sheridan
Hello, I'm getting an I an IllegalArgumentException when I call the JComponent.paint() method (the component paints lines, text and two loaded JPG images on the screen). Below is a code snippet of how I invoke the iText driver (v0.92). Does anyone have some insight into this problem? I'm a rookie

Re: FW: [iText-questions] Character Set: Displaying Euro symbol

2002-07-02 Thread Bruno
Quoting "Yalavarthi, Vasu" <[EMAIL PROTECTED]>: > Hi Bruno/Paulo, > Can u please help me with the displaying Euro character problem in PDF. So what you are saying is that you tried the example you found here: http://www.lowagie.com/iText/tutorial/ch09.html#encoding http://www.lowagie.com/iText/

[iText-questions] text field with backgraound color

2002-07-02 Thread KuMi
Hello all,   Is it possible to create text field with background color? I looked through java doc, but I could't find the method to achieve it. If it's possible, please let me know how to do it.   thank you in advance   Best Regards, KuMi

RE: [iText-questions] help on copy document

2002-07-02 Thread Paulo Soares
> -Original Message- > From: Waymon Ho [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 19:19 > To: [EMAIL PROTECTED] > Subject: [iText-questions] help on copy document > > Hi all, > > I have questions on how to copy the pdf file. Below is my code on how I > copy the ex

Re: [iText-questions] help on copy document

2002-07-02 Thread Leonard Rosenthol
At 12:47 PM -0700 7/2/02, Waymon Ho wrote: >You mention that I didn't read the page size correctly, so what >other method should I used beside getPageSize in pdfReader? And >what's the cropbox? The Cropbox is the visible display area of a PDF, as opposed to the physical page size. >

[iText-questions] llegalArgumentException with Swing paint()

2002-07-02 Thread Tim Sheridan
Hello, I'm getting an I an IllegalArgumentException when I call the JComponent.paint() method (the component paints lines, text and two loaded JPG images on the screen). Below is a code snippet of how I invoke the iText driver (v0.92). Does anyone have some insight into this problem? I'm a r

RE: [iText-questions] Bug in PdfPTable ?

2002-07-02 Thread Paulo Soares
Problem fixed. Replace in PdfPRow: public void writeCells(float xPos, float yPos, PdfContentByte[] canvases) { if (!calculated) calculateHeights(); for (int k = 0; k < cells.length; ++k) { PdfPCell cell = cells[k]; if (cell == null)

Re: [iText-questions] help on copy document

2002-07-02 Thread Waymon Ho
Hi Leonard, You mention that I didn't read the page size correctly, so what other method should I used beside getPageSize in pdfReader? And what's the cropbox? And lastly, when is the new copying code that you guys will post. Thanks for answering all the qeuestion. :) Waymon >From: Leonar

Re: [iText-questions] help on copy document

2002-07-02 Thread Leonard Rosenthol
At 11:19 AM -0700 7/2/02, Waymon Ho wrote: >1. The original pdf file was contain 5077 kb, and the new pdf file >only have 2094 kb. So, I wonder why the new file is much smaller >than the original one. Is there anything missing? I know both >document have to same number of pages. I know the

[iText-questions] help on copy document

2002-07-02 Thread Waymon Ho
Hi all, I have questions on how to copy the pdf file. Below is my code on how I copy the exist pdf, read and write it to the new pdf file. I basically fellow and modify from example ch0112. But after running the program, I observe there are couple problem with it. 1. The original pdf file

[iText-questions] Bug in PdfPTable ?

2002-07-02 Thread Grant Smith
Hi All, I was trying to nest a PdfPTable within another PdfPTable's header in order to produce a nice-looking header. In doing so, I think I may have uncovered a small bug in PdfPTable. On the first page of output, the table renders perfectly, but on subsequent pages, the inner PdfPTable grows

RE: [iText-questions] Images in running text

2002-07-02 Thread Paulo Soares
You can't have automatic leading with Document.add(Paragraph), it's only supported with ColumnText. Best Regards, Paulo Soares > -Original Message- > From: Erwin Achermann [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 17:12 > To: [EMAIL PROTECTED] > Subject: [iText-quest

[iText-questions] Images in running text

2002-07-02 Thread Erwin Achermann
Hi *, I'm trying to put little icons into running text, they sometimes are higher than the font, and they sometimes hang lower then the lowest character. Can somebody verify that such images, wrapped in chunks (new Chunk(img, 0,0) and added to one long lasting Paragraph, clash with the preced

RE: [iText-questions] examples-100.zip

2002-07-02 Thread Paulo Soares
It's only a matter of dates. If the release date at sourceforge is later than mine than you can run my examples, otherwise, you may or may not do it. PdfShading first appeared in itext-paulo-97 (2002-05-06), the version at sourceforge is 0.92 from 2002-04-25, so it's not there. Note that the CVS h

RE: [iText-questions] problem of form field with japanese font

2002-07-02 Thread Paulo Soares
That's normal for Acrobat 4. For Acrobat 5 it should work but forms move in many mysterious ways so, I don't know. Best Regards, Paulo Soares > -Original Message- > From: KuMi [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 5:40 > To: [EMAIL PROTECTED] > Subject: [iText-qu

RE: [iText-questions] Why iText runs faster on second time?

2002-07-02 Thread Paulo Soares
The classes were already loaded and cached or if you are using an IDE it compiled the classes the first time you ran. It could also be something else. Best Regards, Paulo Soares > -Original Message- > From: Foo Siang Han [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 5:13 > To:

[iText-questions] examples-100.zip

2002-07-02 Thread Sergio Lopez Rodriguez
I would like to know which versions of iText and JFreeChart should I have to compile without problems the examples contained in examples-100.zip. For instance, I'm using the latest one uploaded in iText website and PdfShading, used in shading_pattern.java, doesn't appear in the latest iText.jar I

RE: [iText-questions] Cropping an Imported PDF page

2002-07-02 Thread Paulo Soares
You can clip the template by changing its matrix or by applying a clipping path to the content where the template will go to. Best Regards, Paulo Soares > -Original Message- > From: Steve Fyfe [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 18:39 > To: [EMAIL PROTECTED] > Subjec