[iText-questions] Watermark blocking the table borders in pdf

2004-07-23 Thread Joseph Chakkungal
Hi, When a watermark is added to a pdf file why is it blocking the borders of tables? The text appears fine while the table border where the watermark image is placed is blocked by the water mark. Why is it so? How to resolve this issue? Please help me. Thanks Joseph ___

Re: [iText-questions] Any way to autosize column widths for tables

2004-07-23 Thread Matt Benson
What do you mean by manually? Relative widths work for me. You could subclass Table to do different things but since iText already wraps Cell content I don't expect any external algorithm to do much better than what you'll get by using relative widths. No calculation, just--honestly--gut feel on

[iText-questions] Any way to autosize column widths for tables

2004-07-23 Thread Alan Berezin
Is there anyway to get iText to reflow a Table by autosizing the columns widths. Having to manually set the Cell widths is really a pain. __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo

[iText-questions] rectangle

2004-07-23 Thread Alawi albaity
-I want to mak rectangle like a footer in an existing pdf file -I want it to remove the already existing contents in his place . -I want to write text in this rectangle from two lines after I make it . -I want rectangle white background. - I use pdf stamper .  

Re: [iText-questions] How can add footer in first page of an existing pdf file

2004-07-23 Thread Alawi albaity
I attach it to this msg - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Alawi albaity" <[EMAIL PROTECTED]>; "Itext" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 6:36 PM Subject: RE: [iText-questions] How can add footer in first page of an existing pdf file Send me th

RE: [iText-questions] Ampersands?

2004-07-23 Thread Paulo Soares
Is that in pdf or html? Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gene Oxenrider > Sent: Friday, July 23, 2004 7:15 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Ampersands? > > Hi All, > > I am expe

[iText-questions] Ampersands?

2004-07-23 Thread Gene Oxenrider
Hi All, I am experimenting with Itext and I have tried several ways of introducing an Ampersand without success. Is there something special I need to do to use an Ampersand in the text? Here is an example that fails: document.addSubject( "Header & Footer Test" ); Are there other special charac

RE: [iText-questions] Space before Table

2004-07-23 Thread Paulo Soares
Add a Paragraph with a \u00a0 with a leading of 0 or negative. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sebastian Nohn > Sent: Friday, July 23, 2004 6:05 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions]

[iText-questions] Space before Table

2004-07-23 Thread Sebastian Nohn
Hi, it's me again with just another dumb and silly question: When I add a table to a document like this: doc.add(new Paragraph("test")); Table cZusammenfassungCategoryTable = new Table(4,1); [...] doc.add(cZusammenfassungCategoryTable); doc.close(); I

RE: [iText-questions] adding new fields to an existing pdf file (pdf form)

2004-07-23 Thread Paulo Soares
That's not possible for the moment. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Pinal Patel > Sent: Friday, July 23, 2004 3:26 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] adding new fields to an existi

RE: [iText-questions] Problem inserting images in PDF

2004-07-23 Thread Paulo Soares
Add a document.newpage() before close. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ira Rodens > Sent: Friday, July 23, 2004 4:34 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Problem inserting images in

[iText-questions] adding new fields to an existing pdf file (pdf form)

2004-07-23 Thread Pinal Patel
Hi, I have an pdf template (existing pdf) that I update using form (AcroFields form = stamp.getAcroFields();). But I am not able to add new fields or a new text to the existing pdf file. Please shed some light on what I need to do to add a new field/text on an existing pdf. Thank you very muc

[iText-questions] Problem inserting images in PDF

2004-07-23 Thread Ira Rodens
When I try to insert an image near the end of the document, the image nevers seems to show in the PDF. When I insert the same image in the beginning of the document there is never a problem. Could someone give me a suggestion to solve this problem? My code follows the following format, Chapter

RE: [iText-questions] How can add footer in first page of an existing pdf file

2004-07-23 Thread Paulo Soares
Send me the arabic_hebrew.pdf that you generated. Best Regards, Paulo Soares > -Original Message- > From: Alawi albaity [mailto:[EMAIL PROTECTED] > Sent: Friday, July 23, 2004 4:21 PM > To: Itext; Paulo Soares > Subject: Re: [iText-questions] How can add footer in first > page of an ex

[iText-questions] making footer and overwrite what behind it

2004-07-23 Thread Alawi albaity
-I want to mak rectangle like a footer in an existing pdf file -I want it to remove the already existing contents in his place . -I want to write text in this rectangle from two lines after I make it . -I want rectangle white background. - I use pdf stamper .

Re: [iText-questions] How can add footer in first page of an existing pdf file

2004-07-23 Thread Alawi albaity
i try it with arial , times ,arial uni its not work also , is there away to use ascii code to present there values? - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Alawi albaity" <[EMAIL PROTECTED]>; "Itext" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 1:33 PM Subject:

Re: [iText-questions] Font in Cells (the 10^10th time some asks this)

2004-07-23 Thread Sebastian Nohn
Paulo Soares wrote: What's the stack trace? Sorry, it was my fault: public static Cell tableCell(String content, String align, Color color) { try { com.lowagie.text.Font cellFont = FontFactory.getFont("Times", 9, 1); Phrase cellContent = new Phrase(content,

RE: [iText-questions] Font in Cells (the 10^10th time some asks this)

2004-07-23 Thread Paulo Soares
What's the stack trace? > -Original Message- > From: Sebastian Nohn [mailto:[EMAIL PROTECTED] > Sent: Friday, July 23, 2004 2:56 PM > To: Paulo Soares > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Font in Cells (the 10^10th > time some asks this) > > No, > > Cell retv

Re: [iText-questions] Font in Cells (the 10^10th time some asks this)

2004-07-23 Thread Sebastian Nohn
No, Cell retval = new Cell(new Phrase(content)); throws BadElementException but Javadoc says Cell(Element element) Constructs a Cell with a certain Element. With Element of {Anchor, Annotation, Cell, Chapter, Chunk, Graphic, Header, HeaderFooter, Image, ImgCCITT, ImgRaw, ImgTempl

RE: [iText-questions] Font in Cells (the 10^10th time some asks this)

2004-07-23 Thread Paulo Soares
Maybe reading a Java manual will help. public static Cell tableCell(String content) throws BadElementException Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sebastian Nohn > Sent: Friday, July 23, 2004 2:15 PM > To:

[iText-questions] Font in Cells (the 10^10th time some asks this)

2004-07-23 Thread Sebastian Nohn
Hi, I know, this is not the first time, somebody asks this question but I'm not really satisified with the answers so far. How do I translate Foobar to Java? Subclassing does'nt seem to work, or I'm to dumb, even chunking without setting fonts does'nt work: public static C

RE: [iText-questions] How can add footer in first page of an existing pdf file

2004-07-23 Thread Paulo Soares
As far as I was told it works correctly for arabic in Egypt and for farsi. There's an example arabic_hebrew.java at itextpdf.sf.net. The times.ttf font used must be the one from win2000 or winxp otherwise it won't have the correct characters. Other font that has all the characters is arialuni.ttf.

RE: [iText-questions] Need Help

2004-07-23 Thread Paulo Soares
See the example headers_and_watermarks.java at itextpdf.sf.net. Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ananth alvanSent: Thursday, July 22, 2004 4:31 PMTo: [EMAIL PROTECTED]Subject: [iText-questions] Need Help Hi W

[iText-questions] Need Help

2004-07-23 Thread ananth alvan
Hi  We are using iText in our project to generate a pdf document output.   I have a requirement stating that, I need to display headers and footers in the first page only. In the following pages, I just need to display page numbers only.(the header has a image and footer has some text).   Is it pos