Re: [iText-questions] Simple ways to set line spacing?

2002-07-25 Thread Waymon Ho
Hi Jianhua, If you want a better answer, i guess you have to wait for others to answer your question. I'm learning how to use iText myself. The way I set to next line is setting position like what you mention. template.showText("Pre-Release" ); template.moveText(0,-40 ) ; template.newlineSho

[iText-questions] Drop Cap

2002-07-25 Thread phillip
Hi all folks: I am doing some work to have the drop-cap effect. I do not know what is the correct way to calculate the shift. Any idea how Illustrator or InDesign do that? -- With regards Phillip Pan --- --- This sf.net email is sp

Re: [iText-questions] (no subject)

2002-07-25 Thread Waymon Ho
Hi Neeru, If I'm not mistaken, I have been told by Paulo that copying the bookmarks is not possible in this current version. I want to copy the bookmarks on my program too, but it's not possible yet. (I'm not a expert on iText, this is what I know myself). To change color of the field, I'm

[iText-questions] How can I fit an image completely in a cell?

2002-07-25 Thread Ramakrishna Kuppa
I have an image which is say 10 pixels wide. However, I would like it to fit in a cell (column in HTML slang). In HTML, I can just do it by mentioning that the width should be 100% i.e., . In iText, do we have a method, say on an Image object, equivalent to that? i.e., something as below: Image i

Re: [iText-questions] add text

2002-07-25 Thread Waymon Ho
Hi Neeru, Here is my program that add a text onto different page of your document. Paulo helped me a lot on this program. import java.io.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class copyAndAddText { public static void main(String[] args) { System.o

[iText-questions] table w/ images formatting problem

2002-07-25 Thread Ryan Johnston
I am having a problem with creating a table that has 2 columns, each with an image. The images are of different types: some of them are template-based (from drawing an applet to a PdfTemplate) and some of them are iText supported GIFs and JPEGs. I am using PageSize.LETTER as the page size, an

[iText-questions] (no subject)

2002-07-25 Thread Neeru . Bhardwaj
I wrote the code to copy an existing pdf to a new pdf and create some formfield in the new pdf. I am attaching the code. It creates the new pdf with the form fields. I need to do the following : 1. My original pdf file from where I am copying has bookmarks, I want bookmarks to be copied also to t

[iText-questions] overlapping text when using onStartPage Event

2002-07-25 Thread Preeti Sehgal
Hi,       I am using the onStartPage Event to display a header on each page of my pdf report.  When the second page gets displayed, the new text overlaps my header.  Is there any way to prevent this?   Thanks, J.  

RE: [iText-questions] 0.92 upgrade to 0.93b has problem with Sect ions and Chapters

2002-07-25 Thread Paulo Soares
Running Chap0403.java will probably also do. Best Regards, Paulo Soares > -Original Message- > From: Dang Nguyen [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 17:52 > To: 'Paulo Soares'; Itext-Questions (E-mail) > Subject: RE: [iText-questions] 0.92 upgrade to 0.93b has

RE: [iText-questions] 0.92 upgrade to 0.93b has problem with Sect ions and Chapters

2002-07-25 Thread Dang Nguyen
Title: RE: [iText-questions] 0.92 upgrade to 0.93b has problem with Sect ions and Chapters Paulo, Since the doc that was generated may contain some company confidential information, I can't send it to you.  Give me a couple of days to work out a "safe" doc to send for your review. Dang Nguy

RE: [iText-questions] About Table Cell Properties

2002-07-25 Thread Paulo Soares
> -Original Message- > From: Patil, Manohar (CAP, GEFA, Contractor) > [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 16:03 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] About Table Cell Properties > > Hi > > 1. I want to add a text in the table cell without w

[iText-questions] About Table Cell Properties

2002-07-25 Thread Patil, Manohar (CAP, GEFA, Contractor)
Hi 1. I want to add a text in the table cell without wrap. I tries for cell.setNoWrap(true) , but it is not working . Please guide me how to set it. 2. Second I tried to set the width of the cell cell.setWidth() , but the parameters it need is string , what will be parameter for this

RE: [iText-questions] TIFF and iText

2002-07-25 Thread Paulo Soares
Change the size of the first page before opening the document. Best Regards, Paulo Soares > -Original Message- > From: Alexandre Kneller [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 14:05 > To: [EMAIL PROTECTED] > Subject: [iText-questions] TIFF and iText > > Hi, > I

[iText-questions] TIFF and iText

2002-07-25 Thread Alexandre Kneller
Hi, I try to convert a multi-tiff file to pdf (one image on each page). I create Document with new Document() and set pdf-page size to actual tiff-image size with Document->setPageSize for each page. It works for all pages except the first one. On the first pdf-page I see only a part of image w

RE: [iText-questions] Question Regarding Password Protected PDF file

2002-07-25 Thread Paulo Soares
It's not possible. Best Regards, Paulo Soares > -Original Message- > From: Ajit saha [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 12:15 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Question Regarding Password Protected PDF > file > > Hello Sir, > >Can I r

[iText-questions] Question Regarding Password Protected PDF file

2002-07-25 Thread Ajit saha
Hello Sir, Can I read a password procted file by using PdfReader.class. If it is possible, please help me by sending sample code. Thanking You Ajit Saha __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com --

RE: [iText-questions] problem with iText

2002-07-25 Thread Paulo Soares
Start by reading the page http://www.lowagie.com/iText. From what you ask I don't know if you shouldn't start with a basic java book. Best Regards, Paulo Soares > -Original Message- > From: pooja sharma [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 6:05 > To: [EMAIL PROTECTE

RE: [iText-questions] Font Available on Unix

2002-07-25 Thread Paulo Soares
The fonts are in the jar. Best Regards, Paulo Soares > -Original Message- > From: Zhang, Bo [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 22:36 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Font Available on Unix > > Hi, > > I have a question about running

RE: [iText-questions] 0.92 upgrade to 0.93b has problem with Sections and Chapters

2002-07-25 Thread Paulo Soares
That's quite curious considering that the way bookmarks are written is the same. However, I've noticed that jdk 1.2 has some troubles with the encoding UnicodeBig changing it to UnicodeBigUnmarked sometimes. The other user that reported a similar problem upgraded the jdk and the problem went away.

RE: [iText-questions] Problem with splitting tables...

2002-07-25 Thread Paulo Soares
If you use PdfPTable.setHeaderRows(1) you'll have this result: New page General Some text text7 text7 What you want to achieve is some kind of automagic column data moving and that is not possible with iText or other tool. If you want to keep two rows together all the

RE: [iText-questions] PageNumber ( in footer ) FONT

2002-07-25 Thread Paulo Soares
If you need something more sofisticated you'll need to use page events. Best Regards, Paulo Soares > -Original Message- > From: Dang Nguyen [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 19:03 > To: '[EMAIL PROTECTED]' > Subject: RE: [iText-questions] PageNumber ( in fo

[iText-questions] problem with iText

2002-07-25 Thread pooja sharma
I've downloaded iText from your site but Iam having problems opening jar files. I don't know where to start using the downloaded material f.rom. When I try to open the jar files there is an error - "cannot find javaw.exe". I've already defined the class path. PLEASE GUIDE!!   Sell you car, by placi