Re: [iText-questions] create a LEGAL size pdf file

2004-01-31 Thread Bruno
Quoting Rémi Guilbert <[EMAIL PROTECTED]>: > Hi, I need to merge some pdf files. The pdf files, that I want to merge, > have different sizes (LETTER, LEGAL, BIGGER THAN LEGAL). After merging > these pdf files, I want that my final pdf file contains only LEGAL page > size. > I use com.lowagie.too

[iText-questions] create a LEGAL size pdf file

2004-01-31 Thread Rémi Guilbert
Hi, I need to merge some pdf files. The pdf files, that I want to merge, have different sizes (LETTER, LEGAL, BIGGER THAN LEGAL). After merging these pdf files, I want that my final pdf file contains only LEGAL page size. I use com.lowagie.tools.concat_pdf but I need to be able to fit page inside

Re: [iText-questions] How to determine if a file is of valid PDF format

2004-01-31 Thread Christian Lauer
I'ts pretty easy: Each PDF document start with %PDF- for example %PDF-1.4. So you only have to compare the first 4 bytes of your document. On Fri, 2004-01-30 at 17:54, J.B. wrote: > Hi, > > > > I have a class which takes a list of filenames as argument. Before processing > > them, I want to

Re: [iText-questions] pdf forms - itext newbie

2004-01-31 Thread Paulo Soares
Use PdfStamper.getAcroFields() to fill the fields. Best Regards, Paulo Soares - Original Message - From: "webguy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 16:30 Subject: [iText-questions] pdf forms - itext newbie > Hi, > iText newbie for about 20 minu

Re: [iText-questions] How can isert a global summary??

2004-01-31 Thread Paulo Soares
I suppose you are talking about Author, Keyword, etc. See the class Header. Best Regards, Paulo Soares - Original Message - From: "Davide Mustaro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 14:50 Subject: [iText-questions] How can isert a global summary?

Re: [iText-questions] problem with concat pdf files into a LEGAL size document

2004-01-31 Thread Paulo Soares
What do you want to do? Concat several files keeping each one their page size or convert all the page sizes to LEGAL? If it's the second case will the original page be reduced, enlarged, centered, etc to fit the new page size? Best Regards, Paulo Soares - Original Message - From: "Rémi Gu

Re: [iText-questions] How to determine if a file is of valid PDF format

2004-01-31 Thread Paulo Soares
You have to parse the PDf file to make sure it's valid and even then there are some surprises. The following quick check will eliminate files that aren't PDF. Those that pass the check have a good chance of being PDF but not 100%. Files that are PDF always have in the first 1024 bytes the string "%

Re: [iText-questions] Copying annotations

2004-01-31 Thread Paulo Soares
There's no support for it. Best Regards, Paulo Soares - Original Message - From: "Tourville Simon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 14:46 Subject: [iText-questions] Copying annotations > Hi! > > I use iText successfully to concatenate pdf docume

Re: [iText-questions] Underlining Text in PdfContentByte

2004-01-31 Thread Paulo Soares
Use ColumnText.showTextAligned() or draw the line yourself. Best Regards, Paulo Soares - Original Message - From: "Anthony Rich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 31, 2004 6:20 Subject: [iText-questions] Underlining Text in PdfContentByte > How can I s

Re: [iText-questions] various fonts as Phrase in a PdfPCell

2004-01-31 Thread Paulo Soares
Add the chunks to the phrase. Best Regards, Paulo Soares - Original Message - From: "Jasper, Manfred" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 15:01 Subject: [iText-questions] various fonts as Phrase in a PdfPCell > Hello All, > > I need your help reg

Re: [iText-questions] Unknown encryption type Exception

2004-01-31 Thread Paulo Soares
The encrytion type 4 is not supported by iText. It meand that the standard security handler is not used in that pdf. Best Regards, Paulo Soares - Original Message - From: "Adrian Fisher-Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 23:56 Subject: [i

Re: [iText-questions] old collections.zip

2004-01-31 Thread Paulo Soares
The page at itextpdf.sf.net now has the collections zip instead of the link. Best Regards, Paulo Soares - Original Message - From: "Ed Castelli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 14:15 Subject: [iText-questions] old collections.zip > Does anyon

RE: [iText-questions] getRowHeight()

2004-01-31 Thread Turetsky, Seth
Title: RE: [iText-questions] getRowHeight() doh, I actually knew this much and thought I had it in.   I just wanted to thank you guys and the list as well.  Very powerful library, and I'm using it through Coldfusion(did a lot of people just gasp at that?)   -seth -Original Message-

[iText-questions] various fonts as Phrase in a PdfPCell

2004-01-31 Thread Jasper, Manfred
Hello All, I need your help regarding the usage of various fonts in a PdfPCell. I'm using a phrase in a PdfPCell like the following source code. nestedTable.addCell(new PdfPCell(new Phrase("text should be displayed in standardFont, but some parts also should be displayed as bold or as re

[iText-questions] Underlining Text in PdfContentByte

2004-01-31 Thread Anthony Rich
How can I set underlined text into the PdfContentByte, using a "standard 14" font? --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February

[iText-questions] old collections.zip

2004-01-31 Thread Ed Castelli
Does anyone have the old collections.zip file needed for iText support in JDK 1.1 environment? I'm really in a jam to "prove" the iText classes but not allowed to move to JDK 1.2. The collections.zip is no longer downloadable from Sun Java. Please help. And thanks in advance! __

[iText-questions] Unknown encryption type Exception

2004-01-31 Thread Adrian Fisher-Fleming
Has anyone seen this error before?   java.io.IOException: Unknown encryption type (4)at com.lowagie.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:427) at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:366) at com.lowagie.text.pdf.PdfReader.(PdfReader.java:127) at com

[iText-questions] requierment of solution in opening pdf document

2004-01-31 Thread ravi . g . balasubramanian
i am using itext.the pdf file is generated from xml file from the samples given by the itext.but i am unable to open the pdf document. it says a file read error has occured. give me a solution to this. Ravi ganesh.B. --- The SF.Net email i

[iText-questions] Damaged PDF File

2004-01-31 Thread Mike Jurjovec
We are generating PDF's on a unix server. We've generated 100's w/o any issues. There are 2 specific files that, when opened, display the "This file is damagedcannot be repaired" error. However, when I run these locally to see what happens, I can view the generated PDF with no problem.

[iText-questions] Copying annotations

2004-01-31 Thread Tourville Simon
Title: Copying annotations Hi! I use iText successfully to concatenate pdf documents but I try to find a way to copy annotations from the original pdf file to the new document. How can I do that? (I've be able to create annotations but I don't know how to read them from the original documen

[iText-questions] How to determine if a file is of valid PDF format

2004-01-31 Thread J . B .
Hi, I have a class which takes a list of filenames as argument. Before processing them, I want to make sure they are PDF files. Right now, what I do is to start processing and catch the associated exception, then I know it's not a valid PDF. But I'm convinced there's a better way of doing

Re: [iText-questions] collections.zip

2004-01-31 Thread Bruno
Quoting Elizabeth Mertz Castelli <[EMAIL PROTECTED]>: > I'm having an awful time finding the collections.zip file neede for JDK 1.1 > > > support. Please help. The file is no longer available for download from Sun > > > Java site as referenced on so many pages, including Paulos. I'm under t

RE: [iText-questions] Multiple requests to Server from IE for dynamic PDF from iText

2004-01-31 Thread Paulo Soares
Title: RE: [iText-questions] Multiple requests to Server from IE for dynamic PDF from iText That's a well known IE problem. See: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792 http://support.microsoft.com/default.aspx?scid=kb;EN-US;q262213 Best Regards, Paulo Soares -

RE: [iText-questions] edit a pdf

2004-01-31 Thread Paulo Soares
Title: RE: [iText-questions] edit a pdf Use PdfStamper. See the example stamped.java in itextpdf.sf.net. Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Rhodri Davies Sent:   Wednesday, January 28, 2004 19:06 To: