[iText-questions] while creating pdf from existing pdf the acrofields position are shifting compared to original pdf

2013-03-11 Thread Cartridge Magic
I am creating a PDF from another PDF which contains acrofields and getting following issues: 1. The acrofields behave strangely because of which the text is shifted down (sometimes up) to its placement in the created PDFs after the cursor is placed and clicked in the form field to

[iText-questions] [SPAM] Re: Image not appearing

2013-03-11 Thread mkl
Eduardo, Eduardo Pindado wrote I created a small java application that given a pdf, adding an image (either a picture or barcode). It worked fine until I used as a pdf model one contract scanned. If I add text to the pdf it appears correctly but no images. It is possible that as the contract

[iText-questions] iText 5.2.1 - HTML to PDF Generation - Not able to display the image (from the server) in PDF

2013-03-11 Thread Deivamani Arumugam
Hi All, I am having an html page with text, image and I am parsing the HTML content to iText to generate the PDF. In the PDF, image is not getting displayed, only the text is getting displayed. If I pass the absolute path like D:/Deiva/CRs/HTMLPage/article-101-horz.jpg then the image will get

[iText-questions] Converting HTML to PDF - Problem with empty rows in a HTML table

2013-03-11 Thread Naveen D Reddy
Hi, We have requirement to convert HTML to PDF in our application. We are facing a problem in case HTML has empty rows(tr/tr) in a table. While converting, it is throwing IndexOutofBoundsException. If empty rows are removed then table is not shown in the pdf. Please find below more details

Re: [iText-questions] Duplicate indirect objects

2013-03-11 Thread adriano
I realize that I was not clear when asking my question and making an example. I am not referring to regular PDF documents, but intentionally altered ones made up by the bad guys in order to try and cause problems to some application. I am aware that a PDF document may have more than one /Catalog

[iText-questions] how to get at MakeSignature.CryptoStandard ??

2013-03-11 Thread Edward Siewick
Hi. Is there a trick to getting at the MakeSignature.CryptoStandard class? After importing the book samples into Eclipse with a itextpdf-5.0.4.jar in place, I had failed dependencies for lack of about half of the classes in com.itextpdf.text.pdf.security. Upgrading to itextpdf-5.4.0 jar

Re: [iText-questions] Duplicate indirect objects

2013-03-11 Thread Leonard Rosenthol
Adriano - I think you are asking the wrong question because it doesn't make sense. When you read/parse a PDF, there can only be ONE Document Catalog object in the active PDF document. The reason is because that object is determined by the value of the /Root key in the CURRENT Trailer. Once you

[iText-questions] PKCS#11 Example in C#

2013-03-11 Thread Jim Carter
I have read the Document Signature White Paper by Bruno, but I cannot find the appropriate Types that he uses in his example in C# for PKCS#11. I am using itextsharp 5.4. What are the C# equivalents for the following types and what namespaces are they located in? I have listed a couple that I

[iText-questions] iTextSharp ? - wide charachters

2013-03-11 Thread Paul Hermans
I am attempting to fillin a form field with the following code: stamper.AcroFields.SetField(form1[0].#subform[0].txtName_CN[0], recipient. Description_Chinese); the recipient.Description_Chinese is = “ 王怡 “ in the VS debug mode, it looks right to me, but in the generated PDF the field

[iText-questions] Javascript and xfa worker

2013-03-11 Thread Sirisha Dinavahi
I have trial version of xfa worker which I want to use to flatten my XFA document. 1. My PDF has javascript that adds rows to dynamic tables in my XFA document. If I set the javascript to run on the server, can XFA worker execute this javascript? 2. I have a simpler javascript in my PDF that