Re: [iText-questions] Can iText convert Word Document to PDF

2004-03-26 Thread Bruno Lowagie
Basker Ganesan wrote: Hello users, Can iText convert Word Document to PDF. No, it can't: iText doesn't parse WORD doc files. br, Bruno --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins,

[iText-questions] Parse XML & Overlay from Template with PdfStamper

2004-03-26 Thread Phil Browne
I am trying to use PdfStamper to add (overlay) a PDF file to a newly generated pdf which has been created via parsing an XML document. I keep getting an error on the stamp.close() line. Any ideas what I'm doing wrong?? Here are the main bits of code: Document document = new Document(PageS

[iText-questions] Multiline AcroFields

2004-03-26 Thread Lino Helms
Hi, i have been trying to fill and flatten a multi Line AcroField for several weeks now. It Simply doesn't work. iText flattens the other fields perfectly, but the multiline field is always empty. Is there a workaround for this problem or do I have to wait for a fix? Lino

[iText-questions] Error with iText and Weblogic 6.1 - Helvetica not found as resource. (The *.afm files must exist as resources in the package com.lowagie.text.pdf.fonts)

2004-03-26 Thread Louis Simard
Title: Message Hi,   I have a web application using iText.  When I install the application on Weblogic 6.1 and try to generate a PDF I get the following error:   Helvetica not found as resource. (The *.afm files must exist as resources in the package com.lowagie.text.pdf.fonts) I have the it

[iText-questions] Can iText convert Word Document to PDF

2004-03-26 Thread Basker Ganesan
Hello users, Can iText convert Word Document to PDF. Please let me know. If yes if anyone of you have an example program please send it to me. Appreciate your help Basker Ganesan _ MSN Toolbar provides one-click access to Hotmail fr

[iText-questions] Multiline AcroFields

2004-03-26 Thread Lino Helms
Hi, i have been trying to fill and flatten a multi Line AcroField for several weeks now. It Simply doesn't work. iText flattens the other fields perfectly, but the multiline field is always empty. Is there a workaround for this problem or do I have to wait for a fix? Lino I am sorry if you re

[iText-questions] HELP

2004-03-26 Thread Luis Velando
Hi. When I use websphere application developer (5.1.0) to create PDF I have no problem, when I deploy the application to WebSphere Application Server 5, I get the following error.   ExceptionConverter: java.io.IOException: The document has no pages. at com.lowagie.text.pdf.PdfPages.wr

RE: [iText-questions] Barcodes without text

2004-03-26 Thread Paulo Soares
setFont(null) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of lowdown > Sent: Friday, March 26, 2004 12:19 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Barcodes without text > > Hi, > is it possible to generate a barcode with no text

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-26 Thread Leonard Rosenthol
At 09:46 AM 3/26/2004, Paulo Soares wrote: The word "both" refers to the classes, not the pdf versions. Silly English language ;). Leonard --- Leonard Rosenthol C

RE: [iText-questions] Order of the AcroFields

2004-03-26 Thread Paulo Soares
You can have the order by reading the /Annots array from the page and matching Item.widget_refs. I'll think about something more user-friendly for the next release. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Böh

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-26 Thread Paulo Soares
The word "both" refers to the classes, not the pdf versions.   Best Regards, Paulo Soares From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 1:03 PMTo: Paulo Soares; Huttin Pierre; [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: RE: [iText-questio

Re: [iText-questions] Order of the AcroFields

2004-03-26 Thread Leonard Rosenthol
At 08:41 AM 3/26/2004, Böhringer Jochen wrote: But I also need the order of the form fields on the pdf document (the order used to navigate from field to field using the tab key). That is the order of the /Widget elements in the /Annot array on the page... I suspect you'll need t

[iText-questions] Order of the AcroFields

2004-03-26 Thread Böhringer Jochen
Hi, I analyize an existing PDF Form using the iText API, to get information about the form fields. [...] PdfReader reader = new PdfReader(pdfForm); try { PdfStamper stamper = new PdfStamper(reader, new ByteArrayOutputStream()); AcroFields acroFields = stamper.getAcroFields();

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-26 Thread Leonard Rosenthol
At 05:17 AM 3/26/2004, Paulo Soares wrote: Both allow 128 and 40 bit encryption.   128bit encryption was added in Acrobat 5.  Acro 3 & 4 only support 40bit. Leonard --- Leonard Rosenthol   

RE: [iText-questions] problem with bookmark

2004-03-26 Thread Leonard Rosenthol
At 02:15 AM 3/26/2004, PIGEYRE Bastien wrote: When I have a pdf with GoTo action, how I know the index of the first page of my document (0 or 1)? First page is ALWAYS the 0th index into the /Pages array... Leonard --

Re: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-26 Thread Graham Leggett
Paulo Soares wrote: You must change the page size before newPage(). There's always a degree of uncertainty about when a paragraph goes to the next page and that can cause problems even in well written programs. Layout rules are a complex subject and even TEX gets it wrong sometimes. All the apps I

RE: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-26 Thread Paulo Soares
You must change the page size before newPage(). There's always a degree of uncertainty about when a paragraph goes to the next page and that can cause problems even in well written programs. Layout rules are a complex subject and even TEX gets it wrong sometimes. All the apps I have in production

Re: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-26 Thread Graham Leggett
Paulo Soares wrote: I can reproduce the problem with the following program: document.setPageSize(PageSize.A4.rotate()); document.open(); Table t = new Table(5); t.setWidth(100); for (int k = 0; k < 500; ++k) t.addCell("" + k); document.setPageSize(PageSize.A4); document.add(t); document.close

[iText-questions] Barcodes without text

2004-03-26 Thread lowdown
Hi, is it possible to generate a barcode with no text showed? I could not find a setShow Text(boolean doShow) in the Barcode class. I can only set text properties as font size, etc. but no chance to avoid text generation. Any suggestion or workaround? Thanks Riccardo ---

Re: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-26 Thread Graham Leggett
Paulo Soares wrote: I can reproduce the problem with the following program: document.setPageSize(PageSize.A4.rotate()); document.open(); Table t = new Table(5); t.setWidth(100); for (int k = 0; k < 500; ++k) t.addCell("" + k); document.setPageSize(PageSize.A4); document.add(t); document.close

RE: [iText-questions] CPDF-Monospace (ClibPDF to iText Migration Question)

2004-03-26 Thread Paulo Soares
That's just helvetica with fixed width of 400. Create the font like this: BaseFont bf = BaseFont.createFont("Helvetica", "winansi", false, false, null, null); int widths[] = bf.getWidths(); for (int k = 0; k < widths.length; ++k) { if (widths[k] != 0) widths[k] = 400; } bf.setForceWidt

RE: [iText-questions] problem with bookmark

2004-03-26 Thread Paulo Soares
Title: RE: [iText-questions] problem with bookmark You must traverse the page tree to get the page references. The order in the page tree determines the page number. In the GoTo action you have the page reference that corresponds to some page number found before.   Best Regards, Paulo Soares

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-26 Thread Paulo Soares
Both allow 128 and 40 bit encryption.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Huttin PierreSent: Friday, March 26, 2004 8:08 AMTo: [EMAIL PROTECTED]Subject: RE: [iText-questions] Encrypting PDFs makes the encrypted vers

RE: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-26 Thread Paulo Soares
I can reproduce the problem with the following program: document.setPageSize(PageSize.A4.rotate()); document.open(); Table t = new Table(5); t.setWidth(100); for (int k = 0; k < 500; ++k) t.addCell("" + k); document.setPageSize(PageSize.A4); document.add(t); document.close(); What happens is

[iText-questions] Table Headings Regarding

2004-03-26 Thread Krishna Menon
Hi All, This is Krishna Menon from Hyderabad. I am using iText for generating PDF files from jsp. I am able to create the report as needed but the header is not. My intention is to have a table as shown below: ---

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-26 Thread Huttin Pierre
Hello,   To be compatible with acrobat 3 or 4, you should use an encryption of 40bit. It’ would be useful to add a parameter to manage pdf output version in com.lowagie.tools.encrypt_pdf.java, by the way it was interesting to do that in com.lowagie.pdf.PdfEncryptor.java too.     Best