[iText-questions] java.io.IOException: trailer not found

2013-10-01 Thread Daniel Borlean
Hi, We're using the iText-2.1.2u.jar version to generate flattened pdf forms with additional pdf files inserted. The following code illustrates how the additional pdf files are inserted: ... // read pdf attachment InputStream is = getFileInputStream(con, diu);

[iText-questions] Listbox form control looses right alignment

2013-10-01 Thread Stuart Johnson
I have a pdf form, and I am using pdfStamper to manipulate the values of listbox. form.SetListOption("fieldname",String[]{"one","two","three"}); form.RegenerateField("fieldname"); The listbox alignment is set to "right". If I use a PDF editor and change the values myself, it displays correctly.

[iText-questions] Auto text size in PDF form fields

2013-10-01 Thread Emi Lu
Hello, Java setFieldProperty(auto fontsize) font size is much smaller than if manually typing into the file. Could someone tell why the font generated by java is much smaller than the ones typed manually? --- font display much smaller than manually typed result form.setFieldProperty("Given Nam

Re: [iText-questions] Convert PDF to MS Word

2013-10-01 Thread Alexis Pigeon
No, you won't be able to generate a Word document with iText no iTextSharp. Cheers, alexis On 1 October 2013 08:34, Mohammed AlSayani wrote: > Hello Guys , > > I have generate the pdf using itextsharp and it is working fine ,,, > now the new Requerment the need to the same copy of pdf file in