Re: [iText-questions] SubForm and Field Additions

2011-08-11 Thread Sanjeev Sharma
I have tried the following and it did not do any better, I am still not getting the data across to my swf that is embedded in the pdf. TextField tf = new TextField(writer, new Rectangle(1,1,1,1), "Data"); tf.setVisibility(TextField.HIDDEN); PdfFormField field = null; try {

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread NerdManJr
I would, but I'm closing with the PdfStamper and don't know how to do that with it. How would I? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Fixing-EOFException-In-Version-2-0-8-tp3736353p3737092.html Sent from the iText - General mailing list archive at Nabble.com

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread NerdManJr
Here is the code I am using. I know the software is outdated, that is why I continued to say I'm forced to use the 2.0.8 version. public static void addWatermark(ArrayList files, String country){ BaseFont bf = null; String originalAttachmentName = null; String newAttachmentName = null; PdfConte

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread Edward W. Rouse
Try calling flush before close if it’s available. From: Alexis Pigeon [mailto:pigeon.ale...@gmail.com] Sent: Thursday, August 11, 2011 3:30 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Fixing EOFException In Version 2.0.8 Hi NerdManJr On 11 August 2011 18

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread Alexis Pigeon
Hi NerdManJr On 11 August 2011 18:26, NerdManJr wrote: > Hey guys. I'm forced to use iText version 2.0.8 and currently getting an > error when trying to watermark a certain PDF. I can't include the PDF, but > wanted to know a fix I could do other than upgrading to the newest version > of iText.

[iText-questions] PdfConcatenate

2011-08-11 Thread John Renfrew
Just changed my code over to use PdfConcatenate instead of PdfSmartCopy and it's really tightened things up, great improvement Can you tell me what the 'redundant content' smart parameter looks for inside the files?? Sent while on the move ---

Re: [iText-questions] SubForm and Field Additions

2011-08-11 Thread Sanjeev Sharma
Sorry you mentioned in your response that you did not understand what I was trying to do - hence I explained. I will try what you have mentioned. Thanks again for your time, I will let you know. Sanjeev Sharma http://www.infovista.com On 8/11/11 10:38 AM, "1T3XT BVBA" wrote: >On 11/08/2011

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread jmrrva
Search the book for: PdfStructureElement mapRole beginMarkedContentSequence endMarkedContentSequence etc. Also looking at the standard. Jose 2011/8/11 myworld.amol > Hello, > Thanks for your reply Jose. > > I am reading 'iText in action second edition book' and it is not mentioned > there

[iText-questions] Fixing EOFException In Version 2.0.8

2011-08-11 Thread NerdManJr
Hey guys. I'm forced to use iText version 2.0.8 and currently getting an error when trying to watermark a certain PDF. I can't include the PDF, but wanted to know a fix I could do other than upgrading to the newest version of iText. I know the bug was fixed already (I think it was fixed in version

Re: [iText-questions] SubForm and Field Additions

2011-08-11 Thread 1T3XT BVBA
On 11/08/2011 17:24, Sanjeev Sharma wrote: > Now in order to have this Data field in the PDF - I need to be able to add > a field to the PDF that I am creating from scratch and here is what I did: > PdfFormField field = new PdfFormField(writer, > 0.0f,0.0f,104.08f,31.4f,PdfAction.createHide("data",

Re: [iText-questions] SubForm and Field Additions

2011-08-11 Thread Sanjeev Sharma
I am creating an brand new PDF file from scratch. I have added a table with various images and text in it. The main component one the PDF is the .swf (my flex application). In order to set data for this application do display - we do this: PdfReader reader = new PdfReader(chartTemplateFile.get

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread Leonard Rosenthol
PDF/A-1a requires that all content in the file is tagged according to the relevant section of PDF 1.4. This is a MAJOR undertaking as it means you need to mark all of your paragraphs, headers, images, etc. using the correct tags. iText does not include such functionality and you will need to add

Re: [iText-questions] Source forge

2011-08-11 Thread Balder VC
On 11/08/2011 14:07, John Renfrew wrote: The itext XML worker download file has no zip extension on Sourceforge Thanks for the report! I've fixed it. Sent while on the move Greets Balder -- redlab-log

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread myworld.amol
Hello, Thanks for your reply Jose. I am reading 'iText in action second edition book' and it is not mentioned there about PDF/A-1a tags or any structural information. I have embedded my fonts,also i have created xmpmetadata. But what other structural tags i need to add for PDF/A-1a conformance.??

[iText-questions] Source forge

2011-08-11 Thread John Renfrew
The itext XML worker download file has no zip extension on Sourceforge Sent while on the move -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Ta

Re: [iText-questions] multilanguage support in itext

2011-08-11 Thread Alexis Pigeon
Hi Vishal, On 11 August 2011 13:27, vishal kumbhar wrote: > Hi, > I want to create pdf file which support multiple language, the text is of > type html > How to set character encoding=UTF8, in itext using java. > > String text = "विशाल,विशाल,विशालThis is test for Hindi support"; > When i create

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread jmrrva
Hello Amol, It seems that you are just marking the PDF as PDF/A1A but you are not adding the required structure/tags. Take a look at the book and search this list. You will find a lot of info and some samples on how to create PDF/A 1A. Google is your friend. Jose 2011/8/11 myworld.amol > Hello

[iText-questions] multilanguage support in itext

2011-08-11 Thread vishal kumbhar
Hi, I want to create pdf file which support multiple language, the text is of type html How to set character encoding=UTF8, in itext using java. String text = "विशाल,विशाल,विशालThis is test for Hindi support"; When i create pdf file using this string, The output is : ,,This is test for Hindi suppo

[iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread myworld.amol
Hello Support, Hi All, I am trying to create PDF/A file with iText 2.1.7 jar. I know it is older version,but due to some reasons we need to use this version only for PDF/A . writer.setPDFXConformance(PdfWriter.PDFA1A); writer.createXmpMetadata(); when i use these statements and generate PDF/A

Re: [iText-questions] Add summary page

2011-08-11 Thread d3d3
Ok, I found it here: Chapter 5: Table, cell, and page events http://itextpdf.com/examples/iia.php?id=98 so nothing more.. I will play with that, thank you! -- View this message in context: http://itext-general.2136553.n4.nabble.com/Add-summary-page-tp3733134p3735208.html Sent from the iText -

Re: [iText-questions] Add summary page

2011-08-11 Thread d3d3
Sorry, "I'm *not* able to find a sample!" So, yes I'm looking for how to get a summary page with all titles (representing the chapters and their page numbers).. Example: Summary (on page 2) Chapter I.p3 Section I.1p3 Chapter IIp5 Chapter III...p7 R