[iText-questions] Using an existing PDF as a template

2003-10-16 Thread Mid-Am District Referees Webmaster
I realize that this question may be quite simple or at least been asked a few hundred times on this mailing list, but since I'm new I'll ask again and hopefully someone can point me in the right direction.   I have an existing PDF file that I would like to use as a template.  I also have an

[iText-questions] Call to fitsPage returns true, but table doesn't fit {Scanned}

2003-10-16 Thread Bill Simpson
I'm using a modified version of the memory saving technique presented in the tutorial to print a huge table out. I run the fitsPage code and it says it fits the page, so I continue on. The next line says it does not fit, so I delete the row, print the table, and then say newPage. The output is s

Re: [iText-questions] ITEXT PERFORMANCE DIFFERENCE

2003-10-16 Thread Mac Fraser
Which version of the IBM JDK are you using? A few months back we actually uncovered a couple of issues with one of the IBM JDKs-- it did not released memory properly, so the java process ended up using up paging space, this lead to incredibly slow performance..  I honestly cannot remember which J

RE: [iText-questions] Switching Page Orientations {Scanned}

2003-10-16 Thread Bill Simpson
If I call newPage as soon as I change the orientation, will that solve my problem? Also, repeated calls to newPage do not seem to cause new pages. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 9:46 AM To: 'Bill Simpson'; [EMAIL PROTECTED]

RE: [iText-questions] Switching Page Orientations {Scanned}

2003-10-16 Thread Paulo Soares
The changes will only show after open() and newPage(). The content has nothing to do with it. Best Regards, Paulo Soares > -Original Message- > From: Bill Simpson [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 17:40 > To: [EMAIL PROTECTED] > Subject: [iText-questions] S

[iText-questions] ColumnText with images

2003-10-16 Thread Cezar FLOROIU
Hi,   I'm having a column text and I want to dynamically add images to it. I read the name of the images from database, then I want to insert the images from disk. My problem is that I don't know the sizes of the images and I want to position correct (I assume that the width of the images i

RE: [iText-questions] Using relative url address with PdfReader

2003-10-16 Thread Paulo Soares
Relative to what address? Even getting files relative to some dir is a problem to know what that dir is, nevermind an URL. Best Regards, Paulo Soares > -Original Message- > From: Eric Vandervort [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 16:17 > To: [EMAIL PROTECTED] > S

[iText-questions] Auto indenting of text in a PdfPTable cell

2003-10-16 Thread Paul Kiernan
Title: Message Hi,   I am inserting a paragraph of text into a PdfPTable cell. The text is automatically wrapping to more than one line. I would like the text on the second and later lines be indented by a fixed amount relative to the text on the first line. Is this possible to do?   Thank

RE: [iText-questions] Analyzing Acro Form

2003-10-16 Thread Paulo Soares
For the moment that's the way to go. Use merged instead of widgets or it won't work for the same field repeated. Best Regards, Paulo Soares > -Original Message- > From: Böhringer Jochen [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 17:29 > To: [EMAIL PROTECTED] > Subject:

Re: [iText-questions] losing metadata and related question

2003-10-16 Thread Leonard Rosenthol
At 10:25 AM -0600 10/16/03, David H. Young wrote: I'm generating some pdf pages dynamically, then concatenating "static pages" using PdfCopy. Works beautifully except for the metadata. Using PdfCopy seems to wipe out whatever I set before I do the doc.open(). Any suggestions? Are you talking

RE: [iText-questions] ITEXT PERFORMANCE DIFFERENCE

2003-10-16 Thread Paulo Soares
I wouldn't be surprised if your PC was faster than the AIX server running a single task. You probably have more tasks running in the AIX that are eating resources. Your task priority may also be lower than other tasks. Best Regards, Paulo Soares > -Original Message- > From: Philippe Couas

[iText-questions] ITEXT PERFORMANCE DIFFERENCE

2003-10-16 Thread Philippe Couas
Title: Message Hi,       Anyone have an idea to increase performance on my AIX 4.3 server with IBM JDK. My program take 90 secondes to create PDF. I have tried same program on my PC and PDF is created in only 4 seconds.      Could you explain me this difference of time ???   Thanks P

RE: [iText-questions] losing metadata and related question

2003-10-16 Thread Paulo Soares
> -Original Message- > From: David H. Young [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 17:25 > To: [EMAIL PROTECTED] > Subject: [iText-questions] losing metadata and related question > > Hi, > I'm generating some pdf pages dynamically, then concatenating "static >

RE: [iText-questions] Printing of PDF documnt is slow if PdfPatte rnPrinter is used.

2003-10-16 Thread Paulo Soares
> -Original Message- > From: B J [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 15:40 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Printing of PDF documnt is slow if > PdfPatternPrinter is used. > > Hi, > > We are using the iText API to generate PDF outp

[iText-questions] Switching Page Orientations {Scanned}

2003-10-16 Thread Bill Simpson
Title: Message I have an application that dynamically determines page orientation, and sets the page size BEFORE any content is written to the page.  Sometimes the page orientation switch works fine, sometimes it doesn't.  Any thoughts? Has anyone else experienced this?  I am using page even

[iText-questions] Analyzing Acro Form

2003-10-16 Thread Böhringer Jochen
Hello, I have to analyse existing PDF Forms and get information on their Form fields like maxlength of a text field or the default value of a field and so on. I had a look at the API Doc and found out, that I can get such information via AcroFields.Item.widgets and the returned PdfDictionary ob

[iText-questions] losing metadata and related question

2003-10-16 Thread David H. Young
Hi, I'm generating some pdf pages dynamically, then concatenating "static pages" using PdfCopy. Works beautifully except for the metadata. Using PdfCopy seems to wipe out whatever I set before I do the doc.open(). Any suggestions? Also, a related question: Do I need to use PDFContentByte/cre

Re: [iText-questions] Printing of PDF documnt is slow if PdfPatternPrinter is used.

2003-10-16 Thread Leonard Rosenthol
Title: Re: [iText-questions] Printing of PDF documnt is slow if P At 7:39 AM -0700 10/16/03, B J wrote: We are using the iText API to generate PDF output. In order to set a wallpaper for a document we are using the PdfPatternPainter class (please see the method usePattern() in the attached java

RE: [iText-questions] xml to pdf: two simples problems

2003-10-16 Thread Paulo Soares
> -Original Message- > From: Jon [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 15:03 > To: [EMAIL PROTECTED] > Subject: [iText-questions] xml to pdf: two simples problems > > Hello, > > I use the xml way to create my pdf. > Despite several tries, I can't solve two si

[iText-questions] xml to pdf: two simples problems

2003-10-16 Thread Jon
Hello, I use the xml way to create my pdf. Despite several tries, I can't solve two simples problems: 1) Justifying parapraphs This doesn't work for me: blah blah The paragraph is not justified But if I put the paragraph inside a chapter, then it works blah blah But I don't w

[iText-questions] Printing of PDF documnt is slow if PdfPatternPrinter is used.

2003-10-16 Thread B J
Hi, We are using the iText API to generate PDF output. In order to set a wallpaper for a document we are using the PdfPatternPainter class (please see the method usePattern() in the attached java file PatternText.java). The resultant document, takes a very long time to get printed. However if we

[iText-questions] Using relative url address with PdfReader

2003-10-16 Thread Eric Vandervort
Title: RE: [iText-questions] Adding pages to a stamped pdf I'm using PdfReader with the PdfReader(new URL("")) constructor.  This works if I fully qualify the url, but when I try to use relative addressing it can't find it.  I'm using the Oracle iAS.   Anyone else have this problem or have i

RE: [iText-questions] Calculating the height of text

2003-10-16 Thread Paulo Soares
Show me a code snippet. Best Regards, Paulo Soares > -Original Message- > From: Dan Kristensen [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 13:47 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Calculating the height of text > > > Hi! > > Is it possible to ca

RE: [iText-questions] Bug in Class Cell Method setNoWrap

2003-10-16 Thread Paulo Soares
Ok. Best Regards, Paulo Soares > -Original Message- > From: Kniest, Andreas [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 10:09 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Bug in Class Cell Method setNoWrap > > Hi, > > I've encountered a problem (again) wi

Re: [iText-questions] printing

2003-10-16 Thread Leonard Rosenthol
At 3:31 PM -0500 10/14/03, [EMAIL PROTECTED] wrote: hello, is there anyway to automatically print these pdf's that get created (from a web page), or must the user open them in acrobat and then print? You can have them automatically print when they open up in Acrobat by adding some document leve

Re: [iText-questions] JavaScript execution

2003-10-16 Thread Leonard Rosenthol
At 9:36 AM -0700 10/15/03, Adrian Fisher-Fleming wrote: Is it possible to execute/call a previously embedded piece of JavaScript code using iText? No. The only thing that can execute PDF JavaScript is Adobe Acrobat. Leonard --

Re: [iText-questions] iText and Large PDF Files (2+ gig)

2003-10-16 Thread Leonard Rosenthol
At 11:13 PM -0700 10/14/03, Aden wrote: We are currently using Glance PDF-tools Switch, quickly! Glance's tools aren't well designed and have a number of well known limitations/issues... and for the first time we encountered a PDF file that is will over 2 gig in size and it seems that their l

Re: [iText-questions] About WillSave event

2003-10-16 Thread Leonard Rosenthol
At 12:16 PM +0800 10/15/03, Jack Chen wrote: I need to fire an javascript while user execute SaveAs command via Menu, hot-key, toolbar,. any where. I am pretty sure that Save & Save As are treated differently - IN READER, since Reader doesn't actually Save anything, it just copies stuff from the

[iText-questions] Calculating the height of text

2003-10-16 Thread Dan Kristensen
Hi! Is it possible to calculate the height of a text, in a SPECIFIC font, font-style and font-size, placed within a PdfPTable, with only one PdfPCell. I've tried doing it by putting text into the cell, and then using table.getTotalHeight. But i always get the same height, when i'm trying to re

RE: [iText-questions] doubt

2003-10-16 Thread Carmona Perez, David
Sankar,   It compiles OK for me with that version.  Which errors exactly do you have?   David   -Mensaje original- De: Gopalakrishnan Sankar [mailto:[EMAIL PROTECTED] Enviado el: jueves, 16 de octubre de 2003 9:07 Para: [EMAIL PROTECTED] Asunto: [iText-questions] d

RE: [iText-questions] Form field readonly

2003-10-16 Thread Paulo Soares
It can be done. Get the fields with AcroFields.getFields(). Set Item.widgets with the key PdfName.FF and value PdfNumber(PdfFormField.FF_READ_ONLY). Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 2:29

RE: [iText-questions] doubt

2003-10-16 Thread Paulo Soares
What errors? Best Regards, Paulo Soares > -Original Message- > From: Gopalakrishnan Sankar [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 8:07 > To: [EMAIL PROTECTED] > Subject: [iText-questions] doubt > > hi, > i am a developer at accelicim.com > i jus want to know th

RE: [iText-questions] Multipage PDF generation in Servlet..

2003-10-16 Thread Paulo Soares
Do each form separately flattened. Assemble the forms with PdfCopy. Best Regards, Paulo Soares > -Original Message- > From: jpatil [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 2:36 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Multipage PDF generation in Servle

[iText-questions] Multipage PDF generation in Servlet..

2003-10-16 Thread jpatil
Hi, We have number of PDF forms. All of them are one page which can be assembled to create the result PDF. Based on the httprequest, my J2EE application A.> Determine which forms need to be in result PDF B. > need to fetch the data C.> Populate the data in the forms and then return the PDF as a ht

[iText-questions] Bug in Class Cell Method setNoWrap

2003-10-16 Thread Kniest, Andreas
Hi, I've encountered a problem (again) with wrap/nowrap in Cells in a Pdf. You changed some things, so the maximum lines in a cell could be set, very nice. Unfortunality you maked a mistake in the method Cell.setNoWrap in that way, that there always the maxLines is set to 1, even if the wrapping i

[iText-questions] doubt

2003-10-16 Thread Gopalakrishnan Sankar
hi, i am a developer at accelicim.com i jus want to know the software to compile  this package and classes associated with it com.lowagie.text.pdf.PdfWriter as with j2sdk1.4.1 at compilation i get errors jus support me regarding this GKWant to chat instantly with your online friends? Get the FREE

[iText-questions] Placing PdfPTable at absolute position on more than one page

2003-10-16 Thread Paul Kiernan
Title: Message Hi,   I am trying to place PdfPTable's at absolute positions within a PDF document. What I would like to do is to place the tables on different pages using a common coordinate system. e.g. Say 0-800 for y would be page 1, 801-1600 would be page 2 etc. What is the best way to

[iText-questions] PdfDocument.leading

2003-10-16 Thread Carmona Perez, David
Hi all,   I observed a strange behaviour in the iText library.   I have previously some code similar to this:   Document document = new Document();PdfWriter.getInstance(document, new FileOutputStream("Chap0101.pdf"));document.open();document.add(new Paragraph("Hello World"));Table tbl