Re: [iText-questions] Search and Replace in an Existing RTF Document

2005-03-07 Thread Mark Hall
On Monday 07 March 2005 22:33, Brian Snyder wrote: > I need to read up an existing rtf file, do some search and replace in > it, and then pump it back out, still in rtf format. Is iText a good > solution for this? I've been going through the docs and tutorials, and > haven't come across anything

[iText-questions] Search and Replace in an Existing RTF Document

2005-03-07 Thread Brian Snyder
I need to read up an existing rtf file, do some search and replace in it, and then pump it back out, still in rtf format. Is iText a good solution for this? I've been going through the docs and tutorials, and haven't come across anything specific to this type of use. If this is possible, can

Re: [iText-questions] Fill a form

2005-03-07 Thread Paulo Soares
Use AcroFields. - Original Message - From: "Gilberto Fres" <[EMAIL PROTECTED]> To: Sent: Monday, March 07, 2005 5:39 PM Subject: [iText-questions] Fill a form > Hi, > > > > I made a form with some fields that I want to fill from a database. I have > the following code, but when I read

[iText-questions] dev question: class vs. interface return types

2005-03-07 Thread Bear Giles
This is a dev question but I don't recall seeing a dev mailing list. I've noticed that a number of methods return concrete classes, not interfaces or abstract base classes. I'm wondering why? E.g., an earlier question made me look at AcroFields. I would write: public Collection getBlankSigna

[iText-questions] Fill a form

2005-03-07 Thread Gilberto Fres
Hi,   I made a form with some fields that I want to fill from a database.  I have the following code, but when I read the new create pdf form, the field doesn't show the value that I put it. I'm using the iText.NET and the code is written in C#.   PdfReader reader = new PdfReader("C:\My

RE: [iText-questions] rotate column

2005-03-07 Thread Paulo Soares
How is the column created? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Kübler > Sent: Monday, March 07, 2005 3:44 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] rotate column > > hallo, > > can i rotate

[iText-questions] rotate column

2005-03-07 Thread Thomas Kübler
hallo, can i rotate a complete column? with regards thomas kübler -- Dynamic Document Solution variex Alt-Marienfelde 25 12277 Berlin t. + 49 (0)30.723.23.183 f. + 49 (0)30.723.23.185 www.variex.de Ansprechpartner [EMAIL PROTECTED] --- SF email is

RE: [iText-questions] Problem with FDF Import

2005-03-07 Thread Paulo Soares
Comment exporting is not supported. It's not particularly difficult. I'll see what I can do for the next release. > -Original Message- > From: Jung Jürgen [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 4:53 PM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject:

RE: [iText-questions] Problem with FDF Import

2005-03-07 Thread Leonard Rosenthol
At 11:52 AM 3/7/2005, Jung Jürgen wrote: Is it possible with iText to extract all comments from a PDF into a FDF file? Yes, it is possible. You'll have to do all the work of extracting the info from the Annots and putting it into FDF format (iText doesn't do that correctly). The FdfWri

RE: [iText-questions] Sign & encrypt

2005-03-07 Thread Paulo Soares
For example: KeyStore ks = KeyStore.getInstance("pkcs12"); ks.load(new FileInputStream("my_private_key.pfx"), "my_password".toCharArray()); String alias = (String)ks.aliases().nextElement(); PrivateKey key = (PrivateKey)ks.getKey(alias, "my_password".toCharArray()); Certificate[] chain = ks.getCer

RE: [iText-questions] Sign & encrypt

2005-03-07 Thread Mendiola Ayesta, Iker
Title: RE: [iText-questions] Sign & encrypt  And how can I do that? I'm working with an existing PDF, and not creating a new one... How could I say to the Stamper to do both at the same time? -Mensaje original- De: Paulo Soares [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 07 de marz

RE: [iText-questions] Problem with FDF Import

2005-03-07 Thread Jung Jürgen
A seconde question. Is it possible with iText to extract all comments from a PDF into a FDF file? Or have i to use a API like pdfbox? The FdfWriter only contains the formfield information or? Thank you > -Original Message- > From: Paulo Soares [mailto:[EMAIL PROTECTED] > Sent: Monday,

[iText-questions] setting row heights

2005-03-07 Thread Rudy Wuite
Hi I have a com.lowagie.text.table and each row height seems to adjust to the height of the row with the largest height. The headers span 3 lines and the rest of the data in the table spans only 1 line. How can I get the row heights to adjust as 3:1 in height. I am not able to see a method that

RE: [iText-questions] Sign & encrypt

2005-03-07 Thread Paulo Soares
Sign and encrypt it at the same time. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mendiola Ayesta, Iker > Sent: Monday, March 07, 2005 3:21 PM > To: 'itext-questions@lists.sourceforge.net' > Subject: [iText-questions] Sign & encrypt > > Hi

[iText-questions] Sign & encrypt

2005-03-07 Thread Mendiola Ayesta, Iker
Title: Sign & encrypt Hi everybody: I´m new with iText, and I have a question. I want to know if I´m able to sign digitally a PDF and encrypt it too. I know how to do it separately, but i'm not able to do both at the same time... If I sign the PDF document, and then encrypt it (disabling print

RE: [iText-questions] Create Read-only PDF

2005-03-07 Thread Paulo Soares
PdfStamper.setEncryption() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Julien Sebrien > Sent: Monday, March 07, 2005 2:02 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Create Read-only PDF > > Hello, > > I'm u

RE: [iText-questions] Problem with FDF Import

2005-03-07 Thread Paulo Soares
Use PdfStamper.addComments(). Only form fields are flattened, not comments. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jung Jürgen > Sent: Monday, March 07, 2005 2:54 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-question

[iText-questions] Create Read-only PDF

2005-03-07 Thread Julien Sebrien
Hello, I'm using itext to fill form fields contained in a "template" pdf file. My fields are filled properly but i would like to make my resulting pdf file as read-only (the final user must not modify the pdf content). Is-it possible using itext? Regards, Julien Sebrien ---

RE: [iText-questions] Printing takes 5 times longer when using a PdfTransparencyGroup

2005-03-07 Thread Leonard Rosenthol
At 09:41 AM 3/7/2005, Ruud Huynen wrote: - Created transparent TIFF with Photoshop. Printing worked but took also a long time. In Adobe Reader you see the same message 'flattening'. Any PDF containing transparency MUST be flattened at print time, because most printers don't know what to do

[iText-questions] Problem with FDF Import

2005-03-07 Thread Jung Jürgen
Hello, I've a problem with import of FDF file into an existing PDF. I've have export all Commenst from a PDF by using the "Export Comments" function from Acrobat 6.0 Pro. After export i get a fdf file with the annotations and 2 IDs. Whene i'am using the following code: /-[ FDFMerge.java

RE: [iText-questions] Printing takes 5 times longer when using a PdfTransparencyGroup

2005-03-07 Thread Ruud Huynen
Thanks for your input. I tried the following: - Convert using ImageMagick, TIFF to PNG, make transparent, to PDF: Produced Memory overflow on the printer. Printing worked for 300 dpi, but is not that fine - Created transparent TIFF with Photoshop. Printing worked but took also a long time. In Adobe

RE: [iText-questions] PDF Generation using PDF Form and data fromdatabase

2005-03-07 Thread Paulo Soares
That's all taken care for. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 12:56 PM > To: Paulo Soares > Cc: iText-questions@lists.sourceforge.net > Subject: RE: [iText-questions] PDF Generation using PDF Form > and data fromdat

RE: [iText-questions] PDF Generation using PDF Form and data from database

2005-03-07 Thread [EMAIL PROTECTED]
thanks for the quick response. but how to mantain the formatting/layout/font etc for the flat pdf file. Thanks, Nitin Quoting Paulo Soares <[EMAIL PROTECTED]>: > Use PdfStamper and AcroFields. > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Beha

RE: [iText-questions] PDF Generation using PDF Form and data from database

2005-03-07 Thread Paulo Soares
Use PdfStamper and AcroFields. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, March 07, 2005 12:44 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] PDF Generation using PDF Form and

[iText-questions] PDF Generation using PDF Form and data from database

2005-03-07 Thread [EMAIL PROTECTED]
Hi All, I need to create a PDF File using PDF Form (which acts as a template/layout for my output flat PDF file) and the form fields has the colum name of database table from which i have to fetch the data. For example In my PDF Form I have a field Called Name, which maps to User_Name field of my d