[iText-questions] Sizing of a pdf

2003-06-05 Thread Chris Faulkner
Hello I have a PDF to which I am adding some imagery. There were initially two images in the document, one of which was about 100K and the other about 600K. The PDF wass approximately 1.4MB and was composed on only a single page with some other text on it. So I have long wondered why the PDF is

RE: [iText-questions] Sizing of a pdf

2003-06-05 Thread Paulo Soares
In iText the reading of images from java.awt.Toolkit is always done by first converting the image to RGB. Images such as gif use a palette and are a lot smaller than the expanded RGB result. You can use the classes in com.lowagie.text.pdf.codec to read all the image types that awt supports (and

RE: [iText-questions] filling PDF forms

2003-06-05 Thread Paulo Soares
See the examples in www.geocities.com/itextpdf. Look for the examples using PdfStamper. PdfStamper gives you an AcroFields that you can fill with values. Best Regards, Paulo Soares -Original Message- From: peter k [SMTP:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 7:10 To:

RE: [iText-questions] How do I get all elements in a PDF file.

2003-06-05 Thread Paulo Soares
You can't get that from an existing PDF in structured way. Best Regards, Paulo Soares -Original Message- From: Huy Ho [SMTP:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 5:01 To: [EMAIL PROTECTED] Subject: [iText-questions] How do I get all elements in a PDF file. Dear,

RE: [iText-questions] newbie: itext PdfCopy and PdfWriter

2003-06-05 Thread Paulo Soares
That's the way to do it. Best Regards, Paulo Soares -Original Message- From: Jared Davis [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 22:41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [iText-questions] newbie: itext PdfCopy and PdfWriter Attached is a

[iText-questions] Re: Anchor and url target

2003-06-05 Thread christian . kriebel
Hi, I found a solution chunk.setAnchor( javascript:onLoad=window.open('http://www.yahoo.com','popup','').focus();void(0); ); will open the target url in a new browser window ... Best regards Hi, I'm using anchors to external url's e.g. chunk.setAnchor( http://www.hawaii.com/;; ); Two

[iText-questions] importing BMP to PDF

2003-06-05 Thread Björn Sommer
Hi... you guys said that it is possible to import bmp-images into pdf... how does that work? Image.getInstance(...) throws an exception (unsupported format)... and i didn't find and BMP-class best regards Björn Sommer

[iText-questions] Acrobat consumes 99% CPU for large iText pdf

2003-06-05 Thread Picco
Hi all! I have modified the Concat.java provided by iText to make up a 12 pages PDF file for printing test. However Acrobat keeps consuming 99% CPU after around 5 minutes of opening the PDF file. While Acrobat Reader won't trigger such a problem. Anyone can kindly tell me what the problem is?

[iText-questions] Help about tabulation

2003-06-05 Thread Juan Carlos Misiego
Hi. Do you know how tabulate in a Paragraph or Phrase? (no blank spaces please). Thanks

[iText-questions] addAnnotation raises java.lang.NullPointerException

2003-06-05 Thread tony307
Hi I'm trying to add annotation to an existing pdf document, I use PdfStamper class to copy the document but when I try to add an annotation, NullPointerException is thrown. Below is my code: PdfReader reader=new PdfReader(in.pdf); PdfStamper stamper = new PdfStamper(reader, new

RE: [iText-questions] embed fonts in a Pdf File

2003-06-05 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 12:54 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [iText-questions] embed fonts in a Pdf File In your mail, you speak of TrueType and Type1. But does it

RE: [iText-questions] addAnnotation raises java.lang.NullPointerException

2003-06-05 Thread Paulo Soares
PdfStamper does not support (for now) changing or adding interactive contents. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 14:44 To: [EMAIL PROTECTED] Subject: [iText-questions] addAnnotation

[iText-questions] editable text in pdf???

2003-06-05 Thread karthik balaji
hi, can anybody tell me if the text in a pdf can be made editable while creating a pdf??? thanks kartik _ Himalayan holiday! Waiting to be won. http://server1.msn.co.in/sp03/summerfun/index.asp Find out more.

[iText-questions] Linearized PDF

2003-06-05 Thread Jerold Sampson
From everything I have read so far it appears that iText does not support linearized PDF. Is this true? If so, is anyone aware of a product that does or possibly even a post-processor that could grind up the the PDF and restructure it? Thanks in advance, Jerold Sampson Jerold R Sampson TallPine

Re: [iText-questions] Linearized PDF

2003-06-05 Thread Matt Benson
True, iText does not support linearized PDF. Check out Leonard's PdfEnhancer tool at www.pdfsages.com. -Matt --- Jerold Sampson [EMAIL PROTECTED] wrote: From everything I have read so far it appears that iText does not support linearized PDF. Is this true? If so, is anyone aware of a

[iText-questions] RE: editable text in pdf???

2003-06-05 Thread Paulo Soares
Have you ever seen one of those PDF? Best Regards, Paulo Soares -Original Message- From: karthik balaji [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 15:13 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: editable text in pdf??? hi, can anybody tell me if

[iText-questions] bookmarks

2003-06-05 Thread tony307
Hi, I'd like to copy a pdf document while adding some content. I try to use PdfWriter.getImportedPage()/PdfContentByte.addTemplate() methods, this works fine but there is a small problem, bookmarks from the original document are lost... How to preserve them? I know PdfStamper can copy bookmarks

[iText-questions] newbie: itext PdfCopy and PdfWriter

2003-06-05 Thread Jared Davis
Hi, I would like to merge the contents of an existing pdf file in the middle of a pdf being created using itext. I can't figure out how to get it to work. Attached is Sample.java (4k) that has everything working except the addPDF method. What am I doing wrong? Thanks, Jared Davis

[iText-questions] How do I get all elements in a PDF file.

2003-06-05 Thread Huy Ho
Dear, How can I get all elements (para, table, graphic) in a pdf file. Thanks, Best regards, Ho Nhat Huy Do you Yahoo!? Free online calendar with sync to Outlook(TM).

[iText-questions] filling PDF forms

2003-06-05 Thread peter k
I have a question about filling PDF forms. I have a form with fields (named say: myField1, myField2...), and I want my program to produce another form with those fields filled with certain strings. I'm not too sure how to do this - I don't have that much programming experience. I looked

RE: [iText-questions] newbie: itext PdfCopy and PdfWriter

2003-06-05 Thread Jared Davis
Attached is a new file that works well as far as I know. The trick was using PdfWriter.addTemplate instead of PdfCopy.addPage(). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jared Davis Sent: Wednesday, June 04, 2003 3:54 PM To: [EMAIL PROTECTED]