Re: [iText-questions] No pages when using PdfSmartCopy

2009-08-19 Thread Tobias H.
Thank you for the hint. I followed your advice. I could solve the problem. For the sake of completion, here is how I have done it (simplified): PdfImportedPage page = writer.getImportedPage(reader, i); PdfDictionary pip = reader.getPageN(i); pip.put(PdfName.MEDIABOX, new PdfRectangle(-width, 0

Re: [iText-questions] help - PdfTable and PageEvents

2009-08-19 Thread Paulo Soares
PdfFormater.onEndPage() has two saveState() and only one restoreState(). Paulo - Original Message - From: "Victor Dbritto" To: Sent: Wednesday, August 19, 2009 11:35 PM Subject: Re: [iText-questions] help - PdfTable and PageEvents Hi, Thanks for the reply. I checked with the PdfForm

Re: [iText-questions] help - PdfTable and PageEvents

2009-08-19 Thread Victor Dbritto
Hi, Thanks for the reply. I checked with the PdfFormatter class but it looks ok. Attached is the FragmentTable.java and PdfFormatter.java Please let me know if you see any issue with either of the two classes. Thanks, Victor On Wed, Aug 19, 2009 at 2:40 AM, Alexis Pigeon wrote: > Hi Victor, > >

Re: [iText-questions] possible bug in PdfReader for encrypted pfds

2009-08-19 Thread Paulo Soares
This is the easy part, the difficult one is inside PdfStamperImp and other classes to allow or not this or that action. There's a lot of work to do in many places. Paulo - Original Message - From: To: Sent: Wednesday, August 19, 2009 7:40 PM Subject: Re: [iText-questions] possible bu

Re: [iText-questions] possible bug in PdfReader for encrypted pfds

2009-08-19 Thread amahmood
1- PdfReader::PdfReader(., int [] purpose) throw UserPermissionException In this new constructor the user will pass the permissions he/she want to perform. PDF Reader will verify if the document has respective permission as it is doing now in "isOpenedWithFullPermissions". 2- PdfReader:

Re: [iText-questions] SpotColor and equals()

2009-08-19 Thread Paulo Soares
The book is now 3 years old and I wouldn't worry too much to keep compability in every detail but that will be Bruno's call. You can extend PdfSpotColor to have any tint transformation although that will only be applied to the alternate colorspace, the tint will be passed unaltered to the devic

Re: [iText-questions] No pages when using PdfSmartCopy

2009-08-19 Thread Mark Storer
You should use myPdfCopy.addPage( page ) rather than document.newPage(). You don't (in general) use document-level calls when working with an existing PDF. --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::Disclaimer DisCard; -Original Message- From:

Re: [iText-questions] SpotColor and equals()

2009-08-19 Thread Ludger Buenger
I agree that PdfSpotColor should not include the tint thus if the tint is required due to the book maybe the tint could be marked deprecated instead of removed? Something else I stumbled over is the fact that one currently cannot specify a custom tint transform upon the PdfSpotColor object.

Re: [iText-questions] Recreate PDFs using ADOBE Pdf in silent mode

2009-08-19 Thread Leonard Rosenthol
What does this have to do with iText? Leonard From: Ashok Sahu [mailto:asahu@gmail.com] Sent: Wednesday, August 19, 2009 9:26 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Recreate PDFs using ADOBE Pdf in silent mode Hi, I have a requirement to recreate PDFs wit

[iText-questions] Recreate PDFs using ADOBE Pdf in silent mode

2009-08-19 Thread Ashok Sahu
Hi, I have a requirement to recreate PDFs with the help of ADOBE Pdf using Java in silent mode. But whenever I am trying, one pop up is coming asking for Destination to save the new file. Can any one please let me know how to proceed it so that it will read the destination path and other pro

[iText-questions] Regarding AcroFields and Forms

2009-08-19 Thread David Palomar
Hi! I'm having some problems with line spacing in AcroFields. If i open with Adobe Reader the original pdf file trf2_c_25.pdf and edit the second field (the big one) i can make enters and begin a new line with the desired space. IF i do the same programatically via ITEXT the result is that the li

Re: [iText-questions] Validate Signature

2009-08-19 Thread Andreas Kuehne
Hi Sawan, self-signed certificates shouldn't cause that kind of problems. SDo I would like to take a look at the document itself to get an idea. Btw. : we are ruuning a signature verification service ( http://sig-check.de ), so every 'strange' signature is interesting for us. Greetings Andrea

Re: [iText-questions] Validate Signature

2009-08-19 Thread Sawan Jain
Hi, PDF form is created by my OWN, with my own Self-Signed Digital Signature. Can I validate the signature, without adding it in client side??? Regards, Sawan -- Let Crystal Reports handle the reporting - Free

Re: [iText-questions] Validate Signature

2009-08-19 Thread Andreas Kuehne
Hi Sawa, that sounds interesting ! Is it possible to piost the strange PDF ? Greetings Andreas - Original Message From: Sawan Jain To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 18, 2009 4:44:48 PM Subject: Re: [iText-questions] Validate Signature I'm getting follo