Re: [iText-questions] first signature becomes invalid

2012-02-10 Thread mkl
jvr968 wrote > > With a client-server application I have signed a pdf document 2 times. > > [...] > > But, when I have opened, the double signed document, at the server side > the > first signature of the first revision is invalid. I can see the red > cross. > the second signature of the secon

Re: [iText-questions] [RESOLVED] Split PDF by plain Bookmark

2012-02-10 Thread Balder VC
Hi When you use nabble, somehow the code does not get through to the mailinglist. On 10/02/12 13:59, gdn13 wrote: > Hi Paulo, > > Thanks a lot for your expert help !! It works !! (of course ;-) ) > > Here is part of my code for people interested: > > > > > -- > View this message in context:

Re: [iText-questions] PdfShading.SimpleAxial in a landscape page

2012-02-10 Thread Vahid Nasiri
Yes, developers like to say "it's a feature, not a bug!" I fixed that this way and I'm quite happy with the result!   var rect = PageSize.A4.Rotate(); var pageRect = new Rectangle(rect.Left, rect.Bottom, rect.Width, rect.Height); using (var pdfDoc = new Document(pageRect)) //...

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-10 Thread Leonard Rosenthol
Don't know that API, so I can't explain how it works. If you post actual PDF files that I can open up in Reader and trace through what our code is doing, then I can answer it. Leonard -Original Message- From: Raffaele [mailto:supersaya...@libero.it] Sent: Friday, February 10, 2012 8:05

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-10 Thread Raffaele
Thanks Leonard, you observation is correct but i want you to notice that if i call the method GetEncodedPKCS7 without any parameter Reader say that the file isn't modified. How do you explain this??? Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Sign-and-P

Re: [iText-questions] [RESOLVED] Split PDF by plain Bookmark

2012-02-10 Thread gdn13
Hi Paulo, Thanks a lot for your expert help !! It works !! (of course ;-) ) Here is part of my code for people interested: -- View this message in context: http://itext-general.2136553.n4.nabble.com/Split-PDF-by-plain-Bookmark-tp4373196p4376159.html Sent from the iText - General mailing list

Re: [iText-questions] PdfShading.SimpleAxial in a landscape page

2012-02-10 Thread Leonard Rosenthol
This is as defined in the PDF spec. You need to "unrotate" the shading using a standard transformation. Leonard From: Vahid Nasiri [mailto:vahid_nas...@yahoo.com] Sent: Thursday, February 09, 2012 1:45 PM To: Post all your questions about iText here Subject: [iText-questions] PdfShading.SimpleAx

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-10 Thread Leonard Rosenthol
If Adobe Reader (Adobe is a company, Reader is one of our products) says the file is modified, that's DIFFERENT from what you are putting into the envelope. Modified means that the hashes don't match. Check yoru hash computation. -Original Message- From: Raffaele [mailto:supersaya...@l

Re: [iText-questions] Split PDF by plain Bookmark

2012-02-10 Thread Paulo Soares
Call PdfReader.consolidateNamedDestinations() to have page numbers instead of named destinations. Paulo -Original Message- From: gdn13 [mailto:mrs.gdou...@cma-cgm-systems.com] Sent: Friday, February 10, 2012 11:08 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-question

Re: [iText-questions] Split PDF by plain Bookmark

2012-02-10 Thread gdn13
Finally I'll have the following properties for each bookmark : bookmark1 = {Action=GoTo, Named=bm398, Title=BOOKMARK1} bookmark2 = {Action=GoTo, Named=bm400, Title=BOOKMARK2} How to to split the PDF between bookmark1 and bookmark2 ? Thanks a lots. Greg -- View this message in context: http:/

Re: [iText-questions] XMLWorker : HTML to PDF problem with external css

2012-02-10 Thread Dean McCarthy
Hi Myriam What is your environment? Is this a WinForm or WebForm application? Is ANY part of your external CSS working? Colour, Size etc? From: Myriam Economou [mailto:myriam.econo...@gmail.com] Sent: Friday, 10 February 2012 9:01 p.m. To: itext-questions@lists.sourceforge.net Subject: Re: [iTex

Re: [iText-questions] XMLWorker : HTML to PDF problem with external css

2012-02-10 Thread Myriam Economou
Thank you so much for your answer. I really appreciate the help. Unfortunately it is not working for me. I attached my modified class to the mail. I think I have tried all possible paths both in my class and in my HTML file ^^ Could it have something to do that I am not using a server but two fil