Re: [iText-questions] Error validating signed pdf with external sign

2012-05-28 Thread jmheras
Hi, Here there is a sample result. thanks http://itext-general.2136553.n4.nabble.com/file/n4655154/test.signat.pdf test.signat.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/Error-validating-signed-pdf-with-external-sign-tp4654222p4655154.html Sent from the iTe

Re: [iText-questions] Merging PDFs - problem with top margin

2012-05-28 Thread 1T3XT BVBA
On 29/05/2012 0:21, Sujit Pattanayak wrote: > I am trying to merge 2 PDFs using the following code. It's working > fine except that you didn't do it as described in the documentation, which is why you can experience all kinds of problems such as: wrong margins, loss of interactive features,...

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread Bruno Lowagie
On 28/05/2012 17:50, Susheela Sundar wrote: > I am trying to watermak a document with multiple lines. Hi Susheela, I hope the previous answer from 1T3XT helped you solve the problem. We get similar questions on a regular basis, and in most of the cases the problem is caused by not taking into

Re: [iText-questions] add existing pdf file to an other existing pdf file

2012-05-28 Thread 1T3XT BVBA
On 28/05/2012 18:04, Ahmed OUBAHA wrote: > Hello > I need a help please , I have two pdf file, I want to know how I can > add the 2nd pdf file to the > first , for example a pdf file with one page and the other > too, so I want the first pdf includes 2 pages Please read the documentation: http:

[iText-questions] add existing pdf file to an other existing pdf file

2012-05-28 Thread Ahmed OUBAHA
Hello I need a help please , I have two pdf file, I want to know how I can add the 2nd pdf file to the first , for example a pdf file with one page and the other too, so I want the first pdf includes 2 pages Cordially --

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread 1T3XT BVBA
On 28/05/2012 17:50, Susheela Sundar wrote: > Also, please let me know if I am doing anything wrong. 1. We are NOT here to debug your code. 2. You DID NOT read my answer. I see that you obtain the size of the page like this: Rectangle size = reader.getPageSizeWithRotation(1); I DON'T see you get

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread Susheela Sundar
I am trying to watermak a document with multiple lines. Please find the attached file which includes the calculation part of the x and y. Also, please let me know if I am doing anything wrong. On Mon, May 28, 2012 at 8:24 PM, 1T3XT BVBA wrote: > On 28/05/2012 16:33, Susheela Sundar wrote: > >

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread 1T3XT BVBA
On 28/05/2012 16:33, Susheela Sundar wrote: > Yes, I am calculating the values of x and y for every document while > watermarking. How did you calculate those values? Are you sure you're doing it correctly? > I assumed this for a sample PDF having the page size "595x842mm" for > testing purpose

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread Susheela Sundar
Yes, I am calculating the values of x and y for every document while watermarking. I assumed this for a sample PDF having the page size "595x842mm" for testing purpose. On Mon, May 28, 2012 at 7:27 PM, 1T3XT BVBA wrote: > On 28/05/2012 14:46, Susheela Sundar wrote: > > under.showTextAlignedKerne

[iText-questions] How to fill XFA dynamic PDF Form

2012-05-28 Thread newinf
Hi, i think i read some documentation about this feature. I have a dymamic XFA PDF (i think was created with Adobe LiveCycle) and i need to fill some form fields I try to do it using itextsharp but this error happend (when i open the result pdf): "The SOM expression '$record.' for the dat

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread 1T3XT BVBA
On 28/05/2012 14:46, Susheela Sundar wrote: > under.showTextAlignedKerned(Element.ALIGN_BOTTOM, lineText, 60, 120, > angle); What makes you think that x = 60 and y = 120 are the right coordinates for every PDF you want to watermark? You need to CALCULATE those values, not just GUESS them. -

Re: [iText-questions] How to fill XFA dynamic PDF Form

2012-05-28 Thread newinf
i registered, please accept this post. -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-fill-XFA-dynamic-PDF-Form-tp4655136p4655141.html Sent from the iText - General mailing list archive at Nabble.com. ---

[iText-questions] test

2012-05-28 Thread newinf
test -- View this message in context: http://itext-general.2136553.n4.nabble.com/test-tp4655140.html Sent from the iText - General mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live ev

[iText-questions] [SPAM] PDF signature verification in C#

2012-05-28 Thread marekw
Hi, I have succesfully signed PDF file and I need to verify it. Following code in example 'http://itextpdf.sourceforge.net/howtosign.html#howtoverifycs' I could read and partly verify my document. But I have error in line 'Object[] fails = PdfPKCS7.VerifyCertificates(pkc, kall, null, cal);' with me

[iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread Susheela Sundar
Hi, I am not able to watermark some of the scanned PDF documents and it does not give any error. The same code works fine for other PDF documents. The sample java code snippet used for watermarking is given below: String filePath = "E:\\inputfile.pdf"; String tempFilePath = "E:\\o

Re: [iText-questions] Could not watermark some of the scanned PDF document

2012-05-28 Thread Susheela Sundar
Sorry forgot to mentions the iText version. I am using iText-5.0.5. -Susheela On Mon, May 28, 2012 at 6:16 PM, Susheela Sundar wrote: > Hi, > > I am not able to watermark some of the scanned PDF documents and it does > not give any error. The same code works fine for other PDF documents. > The

[iText-questions] Add existing pdf page to an other existing pdf file

2012-05-28 Thread Ahmed OUBAHA
hello I have two pdf file, I want to know how I can add the 2nd pdf file to the first , for example I have a pdf file with one page and the other too, so I want the first pdf includes 2 pages Cordially -- Live Security Vi

[iText-questions] HTMLWorker to XMLWorkerHelper

2012-05-28 Thread alavyk
Hello I need help with the transition from the functionality class HTMLWorker to XMLWorkerHelper class functionality. In HTMLWorker I selected my position on display pdf output using html code ColumnText, but using XMLWorkerHelper ColumnText and program reports an exception "java.lang.IllegalArgume