RE: [iText-questions] filling PDF forms

2003-06-10 Thread piotr krudysz
Thanx Paulo for help. The examples helped a lot. Thank you Piotr Krudysz From: Paulo Soares <[EMAIL PROTECTED]> To: 'peter k' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] filling PDF forms Date: Thu, 5 Jun 2003 10:36:04 +0100 See the examples in www.geocities.com/itextpd

Re: [iText-questions] Adding form fields to a pdf

2003-06-10 Thread Paulo Soares
getOverContent() only returns null if the page is invalid. I just tried your code without any problems. Best Regards, Paulo Soares - Original Message - From: "Vincent Demarcus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 20:58 Subject: Re: [iText-questions] Ad

Re: [iText-questions] easy way of merging different pages

2003-06-10 Thread Leonard Rosenthol
At 05:13 PM 6/9/2003 -0600, Chadha, Jaideep wrote: What is an easy way of merging different PDF pages using iText? See the CopyPdf sample... I generate the pages using Apache FOP and would like to merge them to one document without doing a lot of file IO. Is there a way to achieve this o

Re: [iText-questions] Adding form fields to a pdf

2003-06-10 Thread Vincent Demarcus
ok, adding form fields is not supported but even if I try to add something else (like a pdf template) it is not working because cb (see below ) is null... any clues? -- Vincent PdfReader pdf_reader; FileOutputStream pdf_os; pdf_reader = new PdfReader(pdf_file); pdf_os

[iText-questions] ...HELP REQUIRED...fillin of PDF forms

2003-06-10 Thread venkataravi
BDY.RTF Description: RTF file

Re: [iText-questions] Adding form fields to a pdf

2003-06-10 Thread Paulo Soares
Adding new fields in PdfStamper is not yet supported but there's work underway to do it. Best Regards, Paulo Soares - Original Message - From: "Vincent Demarcus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 17:28 Subject: [iText-questions] Adding form fields to

Re: [iText-questions] String Size

2003-06-10 Thread Paulo Soares
Use BaseFont.getWidthPoint(). Best Regards, Paulo Soares - Original Message - From: "Sam Maina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 17:03 Subject: [iText-questions] String Size > I need help in determining the size if a string of a particular font.

[iText-questions] Data Merging - How to use it with tables with a non defined number of lines

2003-06-10 Thread Trop top qu'il est fort
New to the iText tool, I took time to read and work on the tutorial. In the Chapter 7, the Data Merging section ( http://www.lowagie.com/iText/tutorial/ch07.html ) took my interest and seems to be the element I would like to use but I don't know how to deal with tables.   As I understood, I

[iText-questions] PDF merge

2003-06-10 Thread Michael Ackmann
I had problems merging several pdf's with your tool. The final merge file would scramble text on srolling. I sent you examples and asked for some help in analyzing the iText resultant pdf. I unfortunately did not receive any help nor did your group seem interested in a problem not yet encountere

[iText-questions] Adding form fields to a pdf

2003-06-10 Thread Vincent Demarcus
Hi, I need to add a hidden form field and a HtmlPostField on each page of an existing pdf document (contains form fields). From what I read in the documentation, I need to use the PdfStamper Class: I guess my code will look like: (I need help on *add my forms here!!!*) Thanks for your help -- Vi

[iText-questions] String Size

2003-06-10 Thread Sam Maina
Title: Message I need help in determining the size if a string  of a particular font. I noticed that com.lowagie.text.pdf.PdfGraphics2D.PdfFontMetrics  has a stringWidth(String) method which could probably be helpful. Unfortunately, the constructors of this class are private. How can solve t

Re: [iText-questions] CellSpacing in PdfPTables

2003-06-10 Thread Paulo Soares
Set the padding to 0 in the outer table. Best Regards, Paulo Soares - Original Message - From: "Benjamin Boigienman" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 13:11 Subject: Re: [iText-questions] CellSpacing in PdfPTables > When i use nested

[iText-questions] Problems with signing pdf

2003-06-10 Thread sami
Hi, I am trying to sign digitally pdf-document. I have made RSA keys with openssl. I alo made class Signa which reads private key from file and then signs byte-array (byte[]). Here is code with which I am trying to sign pdf document: // Pdf signature object PdfSignature signa = new PdfSignatu

Re: RE: [iText-questions] (no subject)

2003-06-10 Thread Paulo Soares
BaseFont bf = BaseFont.createFont("some_font.afm", BaseFont.WINANSI, true); It will llok for the file "some_font.pfb" in the same directory. The pfb part of the name is always lower case so make sure that the file has also a lower case extension in case sensitive OS like UNIX. Best Regards, Paulo

Re: [iText-questions] Could not "create" Adobe Type 1 font

2003-06-10 Thread Paulo Soares
You need an AFM not a PFM. Best Regards, Paulo Soares - Original Message - From: "Premysl Dedic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 10:23 Subject: [iText-questions] Could not "create" Adobe Type 1 font > Hi, > it seems I do not understand how to us

Re: [iText-questions] CellSpacing in PdfPTables

2003-06-10 Thread Paulo Soares
There's no cell spacing concept in PdfPTable. There's also no table border in PdfPTable. So, what's your question? Best Regards, Paulo Soares - Original Message - From: "Benjamin Boigienman" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 10:34 Subject: [i

[iText-questions] CellSpacing in PdfPTables

2003-06-10 Thread Benjamin Boigienman
Hi everybody, I don't find the setCellSpacing method in PdfPTable ! How can I do to set the space = 0, between the border of the table and the border of a cell in a PdfPTable ? Thank you Benjamin ___ Do You Yahoo!? -- Une adresse @yahoo.f

[iText-questions] Could not "create" Adobe Type 1 font

2003-06-10 Thread Premysl Dedic
Hi, it seems I do not understand how to use Adobe Type 1 font. I put both PFM and PFB files into app's working directory, but when I do this: BaseFont bfText = BaseFont.createFont("FONT.PFM", "CP1250", BaseFont.EMBEDDED); I receive an exception: Font 'FONT.PFM' with 'CP1250' is not recognize