[iText-questions] Need Help!!! iTextSharpHTML to PDF

2012-05-21 Thread Hugh McLaughlin
Hello Everyone, Does anyone have a working example of iTextSharp XMLWorker 1.1.3? I've been beating my head against the wall for several days trying to get C# version working without success. Plenty of java documentation but can't get it right with C#. Would appreciate any help. Thanks. -

[iText-questions] [SPAM] Re: Field not populated

2012-05-21 Thread hami
this example may assist you; check if your XFA XML have similar fields with empty and Filled values; Pre filled value to set the values of empty field you need to do something like this; Element el = (Element)nl.item(0); if(el.getFirstChild() != null && el.getFirstChild().getNodeValue()

[iText-questions] [SPAM] Re: RE: Unable to get AcroForm Fields after Digitally sign

2012-05-21 Thread hami
I had gone thrown the Chapter # 8 and I don't know why you are saying "Dynamic XFA forms do not contain ANY AcroForms" as I am able to fetch the AcroForm and XFA XML both. Any way issue is; I can't fetch/change the form data after user digital signature (using AcroForm with Reader Enable function

Re: [iText-questions] Field not populated

2012-05-21 Thread 1T3XT BVBA
On 21/05/2012 17:34, DeeJay wrote: > AcroFields form = stamper.getAcroFields(); > form.setField("stubborn_field", "New Value"); XFA fields can easily be recognized by the presence of brackets such as field[0]. If you don't have brackets in the field name, you probably don't have an XFA field. I

[iText-questions] Field not populated

2012-05-21 Thread DeeJay
Greetings, I am working with a dynamic XFA Form from a client. When I attempt to fill in the form from an XML using the below sample code: AcroFields form = stamper.getAcroFields(); XfaForm xfa = form.getXfa(); xfa.fillXfaForm(new FileInputStream(xml)); All modified fiel

Re: [iText-questions] ExceptionConverter: java.io.EOFException when reading XFA data

2012-05-21 Thread DeeJay
In addition I have looked at the generated PDF and it does correctly start with %PDF and ends with %%EOF. I have attached the original and generated PDF file. http://itext-general.2136553.n4.nabble.com/file/n4648160/xfa_enabled.pdf xfa_enabled.pdf http://itext-general.2136553.n4.nabble.com/file/

Re: [iText-questions] QUESTION : Extract text PDF file

2012-05-21 Thread iText Info
Op 21/05/2012 15:11, Daniel DA COSTA schreef: Thank you for your fast response. However, if i can not change the version because i use the package RTF Nothing keeps you from using iText 2.0.6 (with packages com.lowagie) next to iText 5.x.y (with packages com.itextpdf). As the package names a

Re: [iText-questions] QUESTION : Extract text PDF file

2012-05-21 Thread Daniel DA COSTA
Thank you for your fast response. However, if i can not change the version because i use the package RTF, is it that there would be a way to get a readable text ? Thank you in advance for the help you can provide me. -- Daniel DA COSTA Service Informatique 53, rue La Fayette 75009 Paris Tél

Re: [iText-questions] QUESTION : Extract text PDF file

2012-05-21 Thread iText Info
Op 21/05/2012 14:01, Daniel DA COSTA schreef: > I would like if it's a known bug because I did not find any > information on this problem. This has probably been solved in more recent versions. You're getting gibberish because the version you're using (dating from October 2007) didn't take into

[iText-questions] QUESTION : Extract text PDF file

2012-05-21 Thread Daniel DA COSTA
Hi, I turn to you because I have a question about parsing PDF documents. My version of iText is com.lowagie.iText version 2.0.6 (http://mvnrepository.com/artifact/com.lowagie/itext/2.0.6 ) To parse a PDF i took your exemple ParsingHelloWorld (http://itextpdf.com/examples/iia.php?id=275 ) with PR

[iText-questions] ExceptionConverter: java.io.EOFException when reading XFA data

2012-05-21 Thread DeeJay
Greetings, I am using itext 5.2.1 and attempting to read the data from the xfa_enabled.pdf (included in the iText in Action tutorial book) PDF containing an XFA form. Below is the sample code: public void readData(String src, String dest) throws IOException, ParserConfigurationExcepti

Re: [iText-questions] How to set a custom field name for an invisible signature field ?

2012-05-21 Thread Julian Janssens
Hi Paulo, Your solution works, thanks. Kind regards, *Julian Janssens* -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT manage

[iText-questions] Itextsharp Image.Annotation Problem

2012-05-21 Thread bagwechien
I am use Itextsharp the code .. .. Image gif = Image.GetInstance("PDF_SIGN.gif"); int gifScale = 22; gif.ScaleAbsolute(gifScale, gifScale); float myMultiply = (float)20.05; gif.Annotation = new Annotation(0, 0, 0, 0, "我是中文s