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

2010-03-24 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(); Map map = pdfFormsVO.getPdfMapingObj(); //map is the object which all th

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

2010-03-24 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 ser

Re: [iText-questions] Is the 'art' box initialized with the crop/media box when the page size is defined?

2010-03-24 Thread Fred Janon
Seems that the 'crop' box is null by default as well. The 'media' box in initialized. Thanks Fred On Thu, Mar 25, 2010 at 12:08, Fred Janon wrote: > I am using the PageEvent as described in the iText book 2nd ed. I > think the book says that the art box is initialized to the value of > the crop

[iText-questions] Is the 'art' box initialized with the crop/media box when the page size is defined?

2010-03-24 Thread Fred Janon
I am using the PageEvent as described in the iText book 2nd ed. I think the book says that the art box is initialized to the value of the crop box which is initialized to the media box when the page size is defined in the document. But I get a null rect in the page event: Rectangle rect =

[iText-questions] Tab chunk problem?

2010-03-24 Thread Michael Olenick
Hi. I've discovered what I suspect is a bug with tab chunks and justified column text. Depending upon the size of the tab chunk sometimes the text juts out to the right of the column. The same code works just fine when the tab is set to different sizes; that is the line justifies without jutting

Re: [iText-questions] Querry regarding iText jars: What is the Maxsize a PDF can be generated ?

2010-03-24 Thread Mike Marchywka
> From: psoa...@glintt.com > To: itext-questions@lists.sourceforge.net > Date: Wed, 24 Mar 2010 16:43:27 + > Subject: Re: [iText-questions] Querry regarding iText jars: What is the > Maxsize a PDF can be generated ? > > > > > > > > > > > > > Not really

[iText-questions] Replacing text with a given syntax by a AcroForm field

2010-03-24 Thread piet . demeester
Dear All, We have a PDF file that has been generated by another application (BI Publisher). In the resulting PDF file, there is no acroform. Unfortunately we do not have any way to get that application to generate a PDF file containing an acroform, at least not via the way we want to use it. We

Re: [iText-questions] Querry regarding iText jars: What is the Maxsize a PDF can be generated ?

2010-03-24 Thread Paulo Soares
Not really deliberated. iText started 10 years ago when a gigabyte was a lot bigger than it is now. 2G looked enough then and now nobody has the time to change the code to support it. I also doubt that there's a need for it safe for a couple of people (Gylfi included). Paulo - Original Me

Re: [iText-questions] Querry regarding iText jars: What is the Max size a PDF can be generated ?

2010-03-24 Thread Paulo Soares
It's actually limited to 2G. Paulo - Original Message - From: Leonard Rosenthol To: itext-questions@lists.sourceforge.net Sent: Wednesday, March 24, 2010 4:03 PM Subject: Re: [iText-questions] Querry regarding iText jars: What is the Max size a PDF can be generated ? PDF

Re: [iText-questions] Querry regarding iText jars: What is the Max size a PDF can be generated ?

2010-03-24 Thread Gylfi Ingvason
Don't know about the Java version of iText, but last time I checked, iTextSharp did not support generating PDF files greater than 2 GB and my impression from Paulo was that this was deliberate and that adding that support was not being planned. _ From: Leonard Rosenthol [mailto:lrose...@a

Re: [iText-questions] Querry regarding iText jars: What is the Max size a PDF can be generated ?

2010-03-24 Thread Leonard Rosenthol
PDF supports files that are hundreds/thousands of pedabytes(!) in size. iText, however, may be limited to the original 10 gigabyte limitation. From: G Chalpati Rao [mailto:gchalpati...@yahoo.com] Sent: Wednesday, March 24, 2010 9:28 AM To: itext-questions@lists.sourceforge.net Subject: [iText-q

Re: [iText-questions] Is there no documentation whatsoever for itext??

2010-03-24 Thread 1T3XT info
Bobby White wrote: > I’m have a project upcoming in which I will need to convert almost a > million TIFF images to PDF. Are there any code examples at least showing > how to use itext to do this? Sure: http://itextpdf.com/book/ (chapter 10 of the second edition has an example) -- This answer is

[iText-questions] Querry regarding iText jars: What is the Max size a PDF can be generated ?

2010-03-24 Thread G Chalpati Rao
Hi ,    I have a querry regarding the usage of iText jars.  What is the maximum size in a file, that it can be converted to the PDF format.    Please respond as soon as possible.  What are the API's we will use to convert a big file to PDF format ?   I Need a file size of more than 400 mb.   Thank

[iText-questions] Is there no documentation whatsoever for itext??

2010-03-24 Thread Bobby White
I'm have a project upcoming in which I will need to convert almost a million TIFF images to PDF. Are there any code examples at least showing how to use itext to do this? Thanks, Bob White System Automation Corp -- Down

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

2010-03-24 Thread pgruetter
Thanks a lot for the fast response, I checked the chapter you mentioned and the following option really did the trick: form.setExtraMargin(0,-2); I have to check again though as it looks like not all the fields need the same margin. It's corrected for most of the fields, some of them are too hig

[iText-questions] R: iText in Action 2ED, part1.chapter03.MovieTimeBlocks.java

2010-03-24 Thread Federico Scala
> Da: Bruno Lowagie > Keith O wrote: > > Hi Bruno, > > > > Maybe this: > > > > public static long TIME930 = 3060L; // 0830 > > > > Should be this: > > > > public static long TIME930 = 3420L; // 0930 > > The funny thing is that 9:30 is 3060l in Java. > Time starts at 1AM in Java

Re: [iText-questions] PdfPTable or PdfPCell Pre-render Firing / Dynamically resizing cells

2010-03-24 Thread mistercam
Hello, I just wanted to thank you again for your assistance. I ended up using a work-around approach to get this working. I've attached an example of my code that demonstrates the approach that I took. http://old.nabble.com/file/p28015934/TableRenderFix.java TableRenderFix.java I hope at leas

[iText-questions] TextField in PdfPCell inside a PdfPTable

2010-03-24 Thread KSXD 32
Hello, I am creating a PdfPTable that has two columns only. The column on the left is simply a label i.e. read-only text. The right column is a TextField that is editable but populated with default text. The code for achieving this in included below. The behavior of the TextField inside the Pd

Re: [iText-questions] iText in Action 2ED, part1.chapter03.MovieTimeBlocks.java

2010-03-24 Thread Bruno Lowagie
Keith O wrote: > Ugh, sorry about that. All the Java programmers on the list were > probably thinking "ah, silly .NET programmer" ;-) No, I had to check myself. The original example was written years ago (because I use that application to visit a real film festival: http://filmfestival.be/ ). T

Re: [iText-questions] iText in Action 2ED, part1.chapter03.MovieTimeBlocks.java

2010-03-24 Thread Keith O
> Date: Wed, 24 Mar 2010 08:30:56 +0100 > From: br...@lowagie.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] iText in Action 2ED, > part1.chapter03.MovieTimeBlocks.java > > Keith O wrote: > > Hi Bruno, > > > > Maybe this: > > > > public static long TIME930 =

Re: [iText-questions] avoid create temp.pdf file

2010-03-24 Thread KSXD 32
Hello, Thank you. I searched the book for "ByteArrayOutputStream" and found the solution. Now I don't need to use a temp file: private static void appendFooter(PdfWriter writer) throws Exception { Map replacements = new HashMap(); replacements.put("ph0001", "Juan Perez");

[iText-questions] How to modify a display text of the button (not XFA pdf) using iText

2010-03-24 Thread Harshit Bapna
HI All, *Problem:* On a base pdf I want to stamp some user info for ex: Name *Limitation:* To avoid the "Cannot Save Form Information Warning". If I create a textfield field (using AcroForm or XFAForm) then on opening the pdf in reader I get the "Cannot Save Form" warning. *To avoid the warning

Re: [iText-questions] avoid create temp.pdf file

2010-03-24 Thread 1T3XT info
Azùa Giovanni (KSXD 32) wrote: > Hello, > > Is there any way to avoid creating a temp.pdf file for implementing the > use-case below? Basically I need to create a letter.pdf document by > loading and combining many small "template parts" the template parts may > need (as in the case depicted be

Re: [iText-questions] Unicode(UTF-8) to PDF

2010-03-24 Thread Leonard Rosenthol
You are going to need one or more fonts that support a wide range of Unicode glyphs. -Original Message- From: satish.napster [mailto:karasatishku...@gmail.com] Sent: Wednesday, March 24, 2010 6:12 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Unicode(UTF-8) to P

Re: [iText-questions] Unicode(UTF-8) to PDF

2010-03-24 Thread 1T3XT info
satish.napster wrote: > 1. I got all the hindi characters, but not in proper format… eq. It print > "hindi" as "hinadi". That's documented. So far we didn't get any working code contributions supporting Hindi. iText is capable of making ligatures in Arabic, but not for Hindic languages. You can

[iText-questions] avoid create temp.pdf file

2010-03-24 Thread KSXD 32
Hello, Is there any way to avoid creating a temp.pdf file for implementing the use-case below? Basically I need to create a letter.pdf document by loading and combining many small "template parts" the template parts may need (as in the case depicted below) to be populated and flattened first.

[iText-questions] Unicode(UTF-8) to PDF

2010-03-24 Thread satish.napster
We are working in web application and it has to support all the language. The purpose of this application is to generate a PDF document of the data submitted by the end user. The end user can enter data in the following format. (This description is just to make reader understand the situation) 1

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

2010-03-24 Thread 1T3XT info
pgruetter wrote: > Hi all > > We created several PDF forms with Adobe LiveCycle Designer 8.2 ES. We load > these PDF files as templates in iText and fill out the fields and create the > static form with stamper.setFormFlattening(true); > > Problem: > In the PDF template, the labels and the text f

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

2010-03-24 Thread pgruetter
Hi all We created several PDF forms with Adobe LiveCycle Designer 8.2 ES. We load these PDF files as templates in iText and fill out the fields and create the static form with stamper.setFormFlattening(true); Problem: In the PDF template, the labels and the text fields are perfectly aligned if f

Re: [iText-questions] fusion chart(.swf) display problem on pdf export using iText2.0.1

2010-03-24 Thread 1T3XT info
Sumit Jagia - ERS, HCL Tech wrote: > Hello, > > As we are exporting fusion chart (SWF) on PDF. It is showing chart on > half width. But in html it is showing perfectly fine. > > We are using itext2.0.1 with iReport-pro 3.7.0. > > Please suggest ASAP. Attached is the screen-shot of PDF > file.

Re: [iText-questions] Itext in Action 2nd Edition - PDF Packages - Portable Collections

2010-03-24 Thread Bruno Lowagie
vasantha sriram wrote: > Hello, > I have book the electronic version of the second edition of this book. > The books has a topic on Portable Collections which I guess has not > been added yet. > I have scoured the net for examples on creating Portable Collections. > Some of the links to your wi

Re: [iText-questions] iText in Action 2ED, part1.chapter03.MovieTimeBlocks.java

2010-03-24 Thread Bruno Lowagie
Keith O wrote: > Hi Bruno, > > Maybe this: > > public static long TIME930 = 3060L; // 0830 > > Should be this: > > public static long TIME930 = 3420L; // 0930 The funny thing is that 9:30 is 3060l in Java. Time starts at 1AM in Java (which is confusing). ---