[iText-questions] Specifying HTTPClient to access URL in iText

2010-03-25 Thread Rajee
Hi, I am using iText2.0.7 jar to create a PDF document. I am passing the imageurl to the Image.getInstance() method to get the Image. But i am getting the below exception java.net.ConnectException: Connection timed out: connect I understand this is due to the firewall setting on the image

[iText-questions] ITEXT throws exception while filling up the pdf forms

2010-03-25 Thread hisameer
Hi All, I am trying to fill up a pdf form using this code: PdfStamper stamper = new PdfStamper(reader, fout); AcroFields form_pdf = stamper.getAcroFields(); MapString, String map = pdfFormsVO.getPdfMapingObj(); //map is the

Re: [iText-questions] Specifying HTTPClient to access URL in iText

2010-03-25 Thread Mike Marchywka
Date: Wed, 24 Mar 2010 15:01:57 -0700 From: rthanga...@ebay.com To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Specifying HTTPClient to access URL in iText Hi, I am using iText2.0.7 jar to create a PDF document. I am

[iText-questions] Existing Image overlap text

2010-03-25 Thread Duncan_McCloud
Hello everyone, I am actually trying to add text on every page of an existing pdf file. I have no problem in doing except with a particular pdf file. Some of the pages of this pdf file seems to be a full A4 Size image. The result is that on those pages the Text is not added, or maybe it is added

Re: [iText-questions] Adobe PDF forms - Alignment broken when filled out with iText

2010-03-25 Thread pgruetter
I checked it again. Apparently, the margin I set is different, if different font sizes are used. The -2 works perfectly if the field has a font size of 12 (set in Adobe Designer, not in iText). Other fields have a font size of 9, in this cases, correcting the margins by -2 moves the text up too

[iText-questions] How to do an incremental update ?

2010-03-25 Thread Alexander Doyle
Hi all, I read in the PDF reference : (2.2.7) : PDF allows modifications to be appended to a file, leaving the original data intact. And : (2.2.7) : In addition, because the original contents of the document are still present in the file, it is possible to undo saved changes by deleting one or

Re: [iText-questions] How to do an incremental update ?

2010-03-25 Thread Leonard Rosenthol
Incremental/append works for ANY change to the PDF... HOWEVER, Adobe Acrobat only enables the UI for show revision when a digital signatures is involved. From: Alexander Doyle [mailto:alexander.do...@hotmail.com] Sent: Thursday, March 25, 2010 9:46 AM To: itext-questions@lists.sourceforge.net

Re: [iText-questions] How to do an incremental update ?

2010-03-25 Thread Alexander Doyle
Thank you for your response. So my question is now : how do I get back the original content (before revision) after an incremental update with iText ? This is a piece of code making an update in append mode : // doc creation ByteArrayOutputStream os = new ByteArrayOutputStream(); Document doc =

Re: [iText-questions] How to do an incremental update ?

2010-03-25 Thread Stephan, Frank
Hi, I am using iText 5 to create documents. Everything worked fine until I tested with different viewers. On the first page I stamp a number with the following code: ByteArrayOutputStream baosResult = new ByteArrayOutputStream(); PdfReader reader = new PdfReader(baosAntrag.toByteArray());

[iText-questions] Different viewer behaviour width stamped content.

2010-03-25 Thread Stephan, Frank
Hi, I am using iText 5 to create documents. Everything worked fine until I tested with different viewers. On the first page I stamp a number with the following code: ByteArrayOutputStream baosResult = new ByteArrayOutputStream(); PdfReader reader = new PdfReader(baosAntrag.toByteArray());

Re: [iText-questions] Different viewer behaviour width stamped content.

2010-03-25 Thread Leonard Rosenthol
Without seeing actual PDF, we can't help. -Original Message- From: Stephan, Frank [mailto:frank.step...@nrv-rechtsschutz.de] Sent: Thursday, March 25, 2010 12:33 PM To: Post all your questions about iText here Subject: [iText-questions] Different viewer behaviour width stamped content.

Re: [iText-questions] Different viewer behaviour width stamped content.

2010-03-25 Thread Paulo Soares
There's no cb.beginText()/cb.endText(). Paulo -Original Message- From: Stephan, Frank [mailto:frank.step...@nrv-rechtsschutz.de] Sent: Thursday, March 25, 2010 4:33 PM To: Post all your questions about iText here Subject: [iText-questions] Different viewer behaviour width stamped

[iText-questions] Rotatating Pages

2010-03-25 Thread gbarth
I am try to take multiple pdfs documents with various page sizes and orientations and make one new pdf document with all of the pages in the same orientation (Portait) 8.5 x 11. I need to do this so that the result can be bound in a book. SUDO code below loop over documents and pages

[iText-questions] Producing images without duplicating them in the PDF file

2010-03-25 Thread Fred Cohen
I am doing a conversion from HTML to PDF, trying to use the existing tools. For this particular case I have cheated and fixed the table entry to have columns that are reasonable for the application (as you will see below). The problem I am having now is that the output file is quite large

[iText-questions] Rotating Page when writting new document

2010-03-25 Thread Geoffrey C. Barth
I am try to take multiple pdfs documents with various page sizes and orientations and make one new pdf document with all of the pages in the same orientation (Portrait) 8.5 x 11. I need to do this so that the result can be bound in a book. SUDO code below loop over documents and pages

[iText-questions] Fill PDF forms

2010-03-25 Thread Lewis Ellis
I need to be able to fill in field(s) in and Adobe PDF form using Visual Basic 6. Will iTextPDf do this. I also need to distribute the VB application to our customers. Lewis Ellis QUESTware Corp General Manager / Owner 877.407.8378 Extn: 101 615.945.0995 (Mobile) www.questwarecorp.com

Re: [iText-questions] ITEXT throws exception while filling up the pdf forms

2010-03-25 Thread hisameer
I came to know after some research that I can use iTextAsian.jar to get rid of this error message but I don't know how to use it. hisameer wrote: Hi All, I am trying to fill up a pdf form using this code: PdfStamper stamper = new PdfStamper(reader, fout);

[iText-questions] Calculation fields

2010-03-25 Thread Filippo Mazzella
Hello! I'm trying to delevelop a software with this DDL but i have some problems. I've some PDF templates that i open, to fill data from a data table. My problem is that the calculation fields does not refresh. My calculation field was made by using Adobe Acrobat Professional. there is a way

Re: [iText-questions] Calculation fields

2010-03-25 Thread Leonard Rosenthol
You have to do the calculation yourself and then update the field value. From: Filippo Mazzella [mailto:fmazze...@gmail.com] Sent: Thursday, March 25, 2010 11:51 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Calculation fields Hello! I'm trying to delevelop a software

Re: [iText-questions] Producing images without duplicating them in thePDF file

2010-03-25 Thread Gylfi Ingvason
You might want to try to use PdfSmartCopy instead of PdfWriter - it caches stream objects. -Original Message- From: Fred Cohen [mailto:f...@all.net] Sent: Thursday, March 25, 2010 9:21 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Producing images without

Re: [iText-questions] Different viewer behaviour width stampedcontent.

2010-03-25 Thread Frank Stephan
Hi, thanks. This solved the problem. Didn't see any error while using Firefox. Greetings Frank -Ursprüngliche Nachricht- Von: Paulo Soares [mailto:psoa...@glintt.com] Gesendet: Donnerstag, 25. März 2010 17:39 An: Post all your questions about iText here Betreff: Re:

Re: [iText-questions] pdf graphics file questions

2010-03-25 Thread Brigit Ananya
Hi, Thanks a lot, Mr. Rosenthol! So, do you mean that the AICB is not private to Adobe, that I could learn it? Well, I will download the Adobe Illustrator SDK. So, besides trying to learn AICB, my only remaining question is: Is it possible to read the array of CubicCurve2D.Doubles and the