[iText-questions] Adding pages to a stamped pdf

2003-10-03 Thread Rea, Ron
I am able to create a new single-page PDF where a base PDF is "stamped" with data (see code), however I cannot figure out how to add additional pages, using the same base PDF and other data, to create one multi-page PDF.  Any help would be really appreciated!     Create

[iText-questions] Table vs. PdfPTable Class

2003-10-03 Thread mihajlo_jovanovic
I am using iText to generate large reports (thousands of pages) in PDF and was surprised to learn that the initial implementation using the class Table instead of PdfPTable is performing better. Could anyone explain this behavior? According to online documentation "if you only have to generate PD

Re: [iText-questions] Is this a corrupt pdf file?

2003-10-03 Thread Leonard Rosenthol
At 8:56 PM +0200 10/3/03, Finn Bock wrote: When I open this file in the full Acrobat 5.0.5 and click on the first input text field under the "B1." heading, I get an error which read (translated from danish): Acrobat 6 Professional (both Mac OS and Windows) do NOT give any such error I don

[iText-questions] Is this a corrupt pdf file?

2003-10-03 Thread Finn Bock
Hi, I've on rare occasions seen generated .pdf files that acrobat has consider slightly corrupt. Such a file can be found here (~14Kb): http://develop.innovasion.dk/corrupt.pdf The file is written using iText-1.01. When I open this file in the full Acrobat 5.0.5 and click on the first in

RE: [iText-questions] Re: Bug in flattening PDF forms with iText 1.0+ in CVS

2003-10-03 Thread Paulo Soares
As usual the PDF/FDF and the code used to merge/flatten is required for examination. Best Regards, Paulo Soares > -Original Message- > From: Bruno Lowagie [SMTP:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 18:41 > To: Udo K Schuermann; [EMAIL PROTECTED] > Subject: [iText-ques

RE: [iText-questions] New Line

2003-10-03 Thread Paulo Soares
The "\n" does nothing here. You need template.setLeading(12). Best Regards, Paulo Soares > -Original Message- > From: Sharmila Pandith [SMTP:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 17:54 > To: [EMAIL PROTECTED] > Subject: [iText-questions] New Line > > Hi, > > I am do

[iText-questions] Re: Bug in flattening PDF forms with iText 1.0+ in CVS

2003-10-03 Thread Bruno Lowagie
Udo K Schuermann wrote: It seems that flattening a PDF form with the CVS version of iText (post 1.00 release) causes the values of fields to be spread semi- randomly across multiple pages. If I don't flatten the form it is obious that the values are properly assigned to the fields and that the fie

[iText-questions] New Line

2003-10-03 Thread Sharmila Pandith
Hi,   I am doing the following but the text doesn't appear on 2 different lines. How do I achieve it?   TX, S P   // we create a PdfTemplate    PdfTemplate template = cb.createTemplate(250, 800); // we add some text    template.beginText();    BaseFont bf = BaseF

Re: [iText-questions] Best Approach/How To?

2003-10-03 Thread Leonard Rosenthol
Title: Re: [iText-questions] Best Approach/How To? At 10:35 AM -0400 10/3/03, Eric Vandervort wrote: I have a pdf file with one page, that has form fields on it as well as a template.  I can successfully fill out those fields, but I have a few questions about my next steps.       Good...

RE: [iText-questions] Best Approach/How To?

2003-10-03 Thread Paulo Soares
See http://article.gmane.org/gmane.comp.java.lib.itext.general/6938. Best Regards, Paulo Soares > -Original Message- > From: Eric Vandervort [SMTP:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 15:35 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Best Approach/How To? >

[iText-questions] Best Approach/How To?

2003-10-03 Thread Eric Vandervort
I have a pdf file with one page, that has form fields on it as well as a template.  I can successfully fill out those fields, but I have a few questions about my next steps.   1.  How do I add more pages for the same template?  (i.e., one customer per page) 2.  What if I had two different pag

[iText-questions] How to display page numbers if more than 1 page only?

2003-10-03 Thread Eric B.
Hi, I'm trying to figure out how to do this and am not sure of the proper technique to use.  I'd like to display a footer "Page X of Y" only if there are more than 1 pages in the document.   I realize I need to use PageEvents (onEndPage and onCloseDocument) to create this footer and template

Re: [iText-questions] Can iText be called with C++ to do BATCH (silent) merge of FDF with PDF Template?

2003-10-03 Thread Leonard Rosenthol
Sure, provided the user has a JVM installed on their computer. Bring along a copy of the mergefdf.jar and itext.jar and then run a command shell to execute them... Leonard -- --- Leonard Rosenthol

RE: [iText-questions] Embedding a licensed font

2003-10-03 Thread Paulo Soares
If you license the font you'll get a font from the foundry without embedding restrictions. I don't know why you would want to do that, there are lots of good free fonts with the same characteristics that you can include in a jar and supply to your customers. Best Regards, Paulo Soares > -Orig

[iText-questions] Embedding a licensed font

2003-10-03 Thread Dan Kristensen
Hi! In a previous post, Paulo Soares answered what could be done for using licensed font's in pdf.: See below But how can you actually embed a licensed font into a pdf-file, when you are using iText... I've looked in the file TrueTypeFont.java, and can see, that it ALWAYS throws a Document

RE: [iText-questions] Need some help

2003-10-03 Thread Paulo Soares
You can if you parse first the rpt file and then do as Crystal Report does. In practice you can't. Best Regards, Paulo Soares > -Original Message- > From: Bruno Troiano [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 21:09 > To: [EMAIL PROTECTED] > Subject: [iText-questi

[iText-questions] Need some help

2003-10-03 Thread Bruno Troiano
Hello, i trying to use iText to convert a *.rpt (Crystal report) to a *.pdf file.   So, in your examples i just saw a method document.add(new Paragraph("Hello World"));   But i want to know if is possible, to open a file rpt (with text, pictures, charts) and inside a loop to copy this to a pdf

[iText-questions] Can iText be called with C++ to do BATCH (silent) merge of FDF with PDF Template?

2003-10-03 Thread jerry
--- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-que