Re: [iText-questions] PDF/A conformance in iText 2.1.7 question

2010-01-18 Thread Paulo Soares
You must also have a color profile. Paulo - Original Message - From: "Agnes Juhasz" To: Sent: Monday, January 18, 2010 3:03 PM Subject: [iText-questions] PDF/A conformance in iText 2.1.7 question Hi All, For creating PDF/A document with iText 2.1.7 writer.setPDFXConformance(PdfWr

Re: [iText-questions] page number determination

2010-01-18 Thread 1T3XT info
newoutlook wrote: > I am using the following code to get page number for a node. Can you explain what you're doing and why? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Throug

Re: [iText-questions] Bug: Using stamper to fill a form field withvalue containing single-quote fails

2010-01-18 Thread Paulo Soares
Please provide the pdf where this happens. Paulo - Original Message - From: "Joshua Huber" To: Sent: Tuesday, January 19, 2010 2:35 AM Subject: [iText-questions] Bug: Using stamper to fill a form field withvalue containing single-quote fails I am using iTextSharp 5.0.0. I am using

Re: [iText-questions] Setting Up iText and BouncyCastle

2010-01-18 Thread Paulo Soares
You'll have to download a policy file from Sun to be able to use the full crypto strength. Paulo - Original Message - From: "Rhino" To: Sent: Monday, January 18, 2010 3:02 AM Subject: [iText-questions] Setting Up iText and BouncyCastle I was using an older version of iText - 1.22 pe

Re: [iText-questions] Bug: Using stamper to fill a form field with value containing single-quote fails

2010-01-18 Thread 1T3XT info
Joshua Huber wrote: I am using iTextSharp 5.0.0. I am using the stamper to fill form fields with fields.SetField("FieldName", "Peter O'Brien"); However, the single quote gets omitted from the PDF when using FormFlattening or a read-only field. I see this was also reported earlier here: http:

[iText-questions] Setting Up iText and BouncyCastle

2010-01-18 Thread Rhino
I was using an older version of iText - 1.22 perhaps? - back around 2005/2006 and have been away from Java development since then. Now, I find myself back and the intervening years have been hard on my memory. I would appreciate some guidance on setting up iText and BouncyCastle. I have Eclipse

[iText-questions] page number determination

2010-01-18 Thread newoutlook
I am using the following code to get page number for a node. However, for some cases I am not getting page number because PG entry is available for a few nodes. is there any other I can page number for the some cases? Get page number if (getITxtDictionary().contains(PdfName.PG)) {

[iText-questions] Bug: Using stamper to fill a form field with value containing single-quote fails

2010-01-18 Thread Joshua Huber
I am using iTextSharp 5.0.0. I am using the stamper to fill form fields with fields.SetField("FieldName", "Peter O'Brien"); However, the single quote gets omitted from the PDF when using FormFlattening or a read-only field. I see this was also reported earlier here: http://www.mail-archive.com/

Re: [iText-questions] Digital signature with XFA

2010-01-18 Thread java-chris
Hello guy's, I have the same problems here, trying to sign an XFA form. Martin do you have some clue since this morning ? When you sign the form with adobe, you can get the signature and adobe reader recognize it. When you sign the form with itext , you can get the signature but it's not recog

[iText-questions] PDF/A conformance in iText 2.1.7 question

2010-01-18 Thread Agnes Juhasz
Hi All, For creating PDF/A document with iText 2.1.7 writer.setPDFXConformance(PdfWriter.PDFA1B); is enough or PdfDictionary outi = new PdfDictionary(PdfName.OUTPUTINTENT); outi.put(PdfName.OUTPUTCONDITIONIDENTIFIER, new PdfString("sRGB IEC61966-2.1")); outi.put(PdfName.INFO, new PdfStrin

Re: [iText-questions] Digital signature with XFA

2010-01-18 Thread Leonard Rosenthol
It's what you want to do - not "how to recognize it". Do you ONLY want to sign the data OR do you want the sign the entire PDF? Adobe Reader supports signing & validation of both - it's up to your workflow/design/systems... If you are using the PDF classes in iText, then you are creating a PD

[iText-questions] Question about fitsPage()

2010-01-18 Thread Rhino
I was using iText 1.2 a few years back and am now trying to upgrade my code to use 5.0. I'm looking at an existing program that used iText 1.2 and it makes use of method called fitsPage() to make sure that a given paragraph will fit on a given page before attempting to write it; if it doesn't f

[iText-questions] Setting up iText and BouncyCastle in Eclipse

2010-01-18 Thread Rhino
I was using an older version of iText - 1.22 perhaps? - back around 2005/2006 and have been away from Java development since then. Now, I find myself back and the intervening years have been hard on my memory. I would appreciate some guidance on setting up iText and BouncyCastle. I have Eclipse

Re: [iText-questions] Digital signature with XFA

2010-01-18 Thread Leonard Rosenthol
Are you trying to sign ONLY the data in the XFA _OR_ are you trying to sign the PDF? Data signatures use XMLDigSig and the information goes inside the XFA block - as described in the XFA spec. A full document/PDF signature is handled by standard PDF rules and can be done using iText. Leonar

[iText-questions] Digital signature with XFA

2010-01-18 Thread Martin Sarfy
Hello all, I would like to sign XFA form -- in the XFA there is a field so (if I understand it correctly) it is not an "XFA signature" but a "PDF signature" (as referred in XFA specification), hence the scenario of extracting XFA, signing data using XMLDigSig and puting it all together doesn'