[iText-questions] Re: iTextSharp

2006-03-13 Thread bruno
C4 wrote: Hello, Can you please tell me how I can get iTextPad to write directly to the HttpContext.Current.Response.OutputStream??? I can create a PDF and save to disk, but I would like to open PDF in web browser and give the user the ability to print / save directly from web. Any help

Re: [iText-questions] Changing text field length dynamically

2006-03-13 Thread bruno
[EMAIL PROTECTED] wrote: I am very new to iText and I've found this forum useful. Is it possible to use setFieldProperty method to dynamically change the length of text box to accommodate the text so the user doesn't have to scroll? That's not the purpose of an AcroField. If you need more

Re: [iText-questions] Add XMP tags to PDF

2006-03-13 Thread bruno
Leonard Rosenthol wrote: At 03:56 PM 3/13/2006, Phil Poupart wrote: There has to be a simple way to add XMP tags to an existing PDF. Depends on your definition of simple... But basically, you get the XMP data from the PDF via iText. You use you favorite XML technology to

Re: [iText-questions] Re: Can we generate the PDF editable Forms with itext

2006-03-13 Thread bruno
Srinivas wrote: Attached is the sample pdf form <> Forms like the one you attached are not supported in iText. br, Bruno --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and

Re: [iText-questions] Add XMP tags to PDF

2006-03-13 Thread Leonard Rosenthol
At 03:56 PM 3/13/2006, Phil Poupart wrote: There has to be a simple way to add XMP tags to an existing PDF. Depends on your definition of simple... But basically, you get the XMP data from the PDF via iText. You use you favorite XML technology to modify the XMP. Then you p

[iText-questions] Changing text field length dynamically

2006-03-13 Thread tshah010
I am very new to iText and I've found this forum useful. Is it possible to use setFieldProperty method to dynamically change the length of text box to accommodate the text so the user doesn't have to scroll? Thanks. -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com ht

[iText-questions] Add XMP tags to PDF

2006-03-13 Thread Phil Poupart
I've been fighting this for days now. There has to be a simple way to add XMP tags to an existing PDF. What is the normal order of events? Logically, it seems like it should only be a few lines of code. Can anyone post an example (not the two or three incomplete examples that I already find on th

[iText-questions] Changing text box length dynamically using iText?

2006-03-13 Thread Tushar Shah
Hi,   I am new to iText and would appreciate any help. I am creating a .pdf by filling data into form. I use PdfStamperand AccroFields. However, the textboxes do not display entire text and user has to scroll. Is there a way to change size of text box (setFieldProperty?) ? Thanks.-Tushar

RE: [iText-questions] Pdf template with repeating fields

2006-03-13 Thread Mark Storer
Pdf treats all fields with the same name as different instances of the same field, all having the same value.  This can be handy (repeating the same information on every page), and can be a real Problem (combining multiple instances of the same form, or different forms with matching field na

[iText-questions] Create PDF documents in Java

2006-03-13 Thread Tony He
Hi:  I have been using IText to create PDF documents. It worked great with Java 1.4.x. However, when I switched to Java 1.5.0_06, I got the following error:  Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/awt/font/NativeFontWrapperException in “fm.insertDirecto

RE: [iText-questions] RE: getThumbnail

2006-03-13 Thread Segev, Eli
Bruno, The code is: String str = "D:\\images\\jackets.pdf"; String fileName = "D:\\images\\jackets2.pdf"; FileInputStream fis = new FileInputStream(str); com.lowagie.text.pdf.PdfReader pdfReader = new com.lowagie.text.pdf.PdfReader(fis); byte meta[] = pdfReader.getMetadata(); int n = pdfReader.g

Re: [iText-questions] RE: getThumbnail

2006-03-13 Thread bruno
Segev, Eli wrote: Bruno, If there is a thumbnail already in a PDF document and the document is copied with iText code, the thumbnail will be lost. That's not always true. There are at least three ways to copy a PDF with iText code. What way are you using? br, Bruno -

[iText-questions] RE: getThumbnail

2006-03-13 Thread Segev, Eli
Bruno, If there is a thumbnail already in a PDF document and the document is copied with iText code, the thumbnail will be lost. It does not make sense. Eli Segev -Original Message- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: Saturday, March 11, 2006 3:21 AM To:

[iText-questions] BESR/ESR

2006-03-13 Thread Frank Fischer
Hi list Just wanted to ask if someone already has done an implementation of ESR/BESR printing/positioning using iText, so i wouldn't have to reinvent the wheel? Greetings Frank --- This SF.Net email is sponsored by xPML, a groundbreaking scr

Re: [iText-questions] Creating new pages

2006-03-13 Thread bruno
Cristina Dallera wrote: Hi. I would like to know how create new pages in a pdf document create by my java program; I need to add content directly to the PDF file using the PdfContentByte class in this way: /Document doc = new Document();/ /PdfWriter// writer = PdfWriter.getInstance(doc,

[iText-questions] Creating new pages

2006-03-13 Thread Cristina Dallera
Hi. I would like to know how create new pages in a pdf document create by my java program; I need to add content directly to the PDF file using the PdfContentByte class in this way:   Document doc = new Document(); PdfWriter writer = PdfWriter.getInstance(doc, new FileOutputStream(myPath

[iText-questions] Pdf template with repeating fields

2006-03-13 Thread vara lakshmi
Hi,   I am generating a large pdf report from a template using PdfStamper (AcroFields). But some of the fields may repeat 1 to n times. I can not use PdfCopyFields because the field names are same.   Any suggestions?   Vara  

Re: [iText-questions] How to know if a field is visible or not?

2006-03-13 Thread bruno
OK, you have found the flag to set the visibility of an annotation. Now you need the reverse. Given a field you want to know if it's visible or not. To do this you need the source snippet I already gave you (see below) and read the entry PdfName.F from the dictionary (F = flags). A object of type