[iText-questions] Enlarge an existing PDF size

2004-01-07 Thread Siong Chai, Tan
Title: Message Hi,   Is there any way that I can enlarge or change the page size of the PDF file including the content of the PDF file? Any example code to refer to?   Thanks in advance   Regards, Siong Chai

[iText-questions] questions about generate pdf documents

2004-01-07 Thread li hongbin
hi: Now I have some questions about generate pdf document: For example,I have a report to print,so I want to generate a new pdf document.and in the new pdf document ,there should be a header in the first page,and a footer in the last page.Please take attention that the header or the footer i

Re: [iText-questions] Help with page break

2004-01-07 Thread Wendy Smoak
From: "Matt Benson" <[EMAIL PROTECTED]> > String[] reportPage > = String.split(read(filename), "\x0c"); > for (int i = 0; > reportPage != null && i < reportPage.length ; i++) > { > if (i > 0) doc.newPage(); > doc.add(new Paragraph(new Phrase(11, reportPage[i], >FontFactory.getFont(FontFac

Re: [iText-questions] Help with page break

2004-01-07 Thread Matt Benson
I have never had occasion to use String.split() but it does look like it should work something like this: String[] reportPage = String.split(read(filename), "\x0c"); for (int i = 0; reportPage != null && i < reportPage.length ; i++) { if (i > 0) doc.newPage(); doc.add(new Paragraph(new Phra

Re: [iText-questions] Help with page break

2004-01-07 Thread Wendy Smoak
From: "Matt Benson" <[EMAIL PROTECTED]> > I am assuming you are seeing the page break character, > whose ASCII value is 12. You should be able to just > look for this character and call Document.newPage() > whenever it is encountered. Currently I'm not looking at the file at all. The text lives

Re: [iText-questions] Help with page break

2004-01-07 Thread Matt Benson
I am assuming you are seeing the page break character, whose ASCII value is 12. You should be able to just look for this character and call Document.newPage() whenever it is encountered. -Matt --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > I am currently transforming a text file into a pdf > with

Re: [iText-questions] Fonts on MacOS

2004-01-07 Thread Neil Taylor
Thanks. I have looked into DefaultFontMapper. When you say that the fonts need to be registered, I think you mean call insertDirectory() - is that correct? If so, I don't think that will work with many fonts on a Mac as they are in suitcases rather than individual ttf, ttc, afm or otf. I also look

[iText-questions] Help with page break

2004-01-07 Thread Wendy Smoak
I am currently transforming a text file into a pdf with iText, and instead of a page break, I'm getting a small box with an x in it. We used to use text2pdf at the unix prompt, and it was able to do the page breaks. It's been too long, but I *think* we had to insert some character to convince tex

[iText-questions] stamped.java example /Merging PDF files

2004-01-07 Thread tom smith
I used the getUnderContent(pageNum) of PdfStamper, and it worked on the ones I had problem with text fields. But still some of the check boxes don't work, and I couldn't stamp on top of the check boxes. Is that because of the crop area? How can I get round it? Another question is when I try to rea

RE: [iText-questions] Open Source Application Multiple format (AFP, Office) to PDF

2004-01-07 Thread Bernard D'Havé
See www.babeldoc.org Bernard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of morineaux thomas Sent: Wednesday, January 07, 2004 5:46 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Open Source Application Multiple format (AFP, Office) to PDF Hi,

RE: [iText-questions] Deleting a PdfFormField

2004-01-07 Thread Gary Wu
Title: RE: [iText-questions] Deleting a PdfFormField How about deleting a PDF object (obj ... endobj)? Is there an easy way to check whether an object is referenced in a PDF file and delete it if it's not?   Thanks and Best Regards, Gary   -Original Message-From: Paulo Soares [

RE: [iText-questions] Deleting a PdfFormField

2004-01-07 Thread Paulo Soares
Title: RE: [iText-questions] Deleting a PdfFormField You'll be able to do it by the end of the month and maybe also add more fields to an existing document. Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Stefan Pfings

Re: [iText-questions] Open Source Application Multiple format (AFP, Office) to PDF

2004-01-07 Thread Leonard Rosenthol
At 4:45 PM + 1/7/04, morineaux thomas wrote: I am looking for an open source application that would be abble to make a conversion from AFP, TIFF, and Mcsft Office document to PDF. On what OS platform(s)?? Leonard -- ---

[iText-questions] Open Source Application Multiple format (AFP, Office) to PDF

2004-01-07 Thread morineaux thomas
Hi, I am looking for an open source application that would be abble to make a conversion from AFP, TIFF, and Mcsft Office document to PDF. Would you know such application. If yes could you please pin-point me to any good URL ? Thank you for your help. Thomas _

[iText-questions] Deleting a PdfFormField

2004-01-07 Thread Stefan Pfingstl
Hello, how can I delete a PdfFormField from an ArcorForm. I'm merging a PdfFile and a FdfFile. And as next I want to delete some FormFields from the AcroForm: a TextField with the name _h1. How can I do this? Thanks for an answer. Bye Stefan Pfingstl -

RE: [iText-questions] Document level javascripts

2004-01-07 Thread Leonard Rosenthol
At 9:51 AM +0530 1/7/04, Divya Bhargov wrote: I will explain what exactly is happening. We have a product that is already under production. It takes a source PDF with some form fields and my Java program populates those fields from the application. OK. Should be no problem then... But we ar

[iText-questions] Can you add Header/Footer to PDF with XML??

2004-01-07 Thread Thomas Toft Rokamp
Title: Can you add Header/Footer to PDF with XML?? Med venlig hilsen/Kind regards Thomas Toft Rokamp Udvikler TDC Services IT, SBBB3 DK 0900 København C Phone   : + 45 33 87 57 74 E-mail  : [EMAIL PROTECTED]

RE: [iText-questions] Document level javascripts

2004-01-07 Thread Divya Bhargov
Hi, I will explain what exactly is happening. We have a product that is already under production. It takes a source PDF with some form fields and my Java program populates those fields from the application. There is a check box field and a text box field in the PDF form. Only when the check box