Re: [iText-questions] how to append Signature at the end of pdf

2011-09-21 Thread mkl
vasu dhulipalla, vasu_d wrote: > Is there any way to add digital signature exatly at the end of PDf using > Itext(java) What do you mean by that? * Do you want the latest revision of the then signed PDF to contain the signature? That is intrinsically so. * Do you want the visual representation

Re: [iText-questions] how to append Signature at the end of pdf

2011-09-21 Thread 1T3XT BVBA
Hello, several things are wrong with your question. 1. you're not subscribed to the mailing-list. How do you suppose to get an answer to your question (unless the person answering your question is so kind to add your mail address in Bcc:)? On 22/09/2011 8:20, vasu_d wrote: > Hi everyone, > >

Re: [iText-questions] PdfPTable - right aligning a column?

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 21:41, Jason Berk wrote: > I find myself creating lots of tables with this same basic layout: > > ___ > | T A B L E H E A D E R | > --- > |some label | $999.99| (left column is left aligned and right > column is right aligned) >

Re: [iText-questions] PNG and "Insufficient data for an image"

2011-09-21 Thread qqzx2kp
That should the trick - thanks! Leonard Rosenthol-3 wrote: > > The PNG is invalid. Open it up in Photoshop and it will tell you the same > thing I did - "the profile is invalid". (see enclosed picture) > > > > In addition, I used one of my tools to dump the PNG structure to verify > that t

[iText-questions] PdfPTable - right aligning a column?

2011-09-21 Thread Jason Berk
I find myself creating lots of tables with this same basic layout: ___ | T A B L E H E A D E R | --- |some label | $999.99| (left column is left aligned and right column is right aligned) |some label | $999.99| |some label | $999.99

Re: [iText-questions] Fw: OCG spanning multiple pages or template

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 18:53, Sailesh K wrote: that comes back to my original question, how do I create an OCG to span multiple pages. (say page 10-20). any code sample for this? Take any example that uses ColumnText to add content. Then add the OCG syntax at the beginning and at the end of each page

[iText-questions] Fw: OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
that comes back to my original question, how do I create an OCG to span multiple pages. (say page 10-20). any code sample for this?   thx From: Leonard Rosenthol To: Sailesh K ; Post here Sent: Wednesday, September 21, 2011 8:02 AM Subject: Re: [iText-questions] OCG spanning multiple pages o

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread Balder VC
On 09/21/2011 11:50 AM, 1T3XT BVBA wrote: > And if you use the POM, then you don't even have to worry about BC. > The correct versions are downloaded automagically, aren't they? They are not, since not every one needs signing. They are marked as optional. In your IDE ( if it supports maven) it

Re: [iText-questions] Encryption PDF

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 16:17, Khatri Anand wrote: > yes I know.but my question is that how can I get the OWNER Value > in readform.java file? You're creating the PDF in Form.java, so you KNOW the value of OWNER. How to get that value in readform.java isn't our business, is it?

Re: [iText-questions] Encryption PDF

2011-09-21 Thread Khatri Anand
yes I know.but my question is that how can I get the OWNER Value in readform.java file? Thanks & Regards, On Wed, Sep 21, 2011 at 7:03 AM, 1T3XT BVBA wrote: > On 21/09/2011 15:58, Khatri Anand wrote: > > Hello sir, > > I have one problem.. > > How can I pass the value of OWNER to PdfReade

Re: [iText-questions] Problem with pdf portfolios setup in Adobe Reader and Browser.

2011-09-21 Thread jzuo
Thank you. Here is more interesting thing. There is other process using the same process to combine the multiple pdf to one pdf, using the same function (PdfStamper.makePackage(PdfName.T)) to setup the portfolio, but that one only show one column on both browser and Adobe Reader. The only differen

Re: [iText-questions] Encryption PDF

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 15:58, Khatri Anand wrote: > Hello sir, > I have one problem.. > How can I pass the value of OWNER to PdfReader.? See p389 of the book or consult the API docs: http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfReader.html#PdfReader%28java.lang.String,%20byte[]%29

Re: [iText-questions] Encryption PDF

2011-09-21 Thread Khatri Anand
Hello sir, I have one problem.. How can I pass the value of OWNER to PdfReader.? Thanks & Regards, On Wed, Sep 21, 2011 at 6:11 AM, 1T3XT BVBA wrote: > On 21/09/2011 15:07, Khatri Anand wrote: > > Hello sir, > > > > I have 2 files. > > 1:) Create a PDF file (Form.java) > > 2:) Read a PDF

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread Cristian
Thank you. Used maven and problems gone! -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and

Re: [iText-questions] Problem with pdf portfolios setup in Adobe Reader and Browser.

2011-09-21 Thread Leonard Rosenthol
Same layout, just different sizes for the LHP (left hand panel). On 9/21/11 9:38 AM, "jzuo" wrote: >Thanks for your reply. I think that will change the panel to show the list >view. The client doesn't want that kind of view. Why in adobe reader and >browser has different layout? where to control

Re: [iText-questions] Problem with pdf portfolios setup in Adobe Reader and Browser.

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 15:38, jzuo wrote: > Thanks for your reply. I think that will change the panel to show the list > view. Yes, it will. > The client doesn't want that kind of view. Why in adobe reader and > browser has different layout? I don't know. It's probably even twice the same Adobe Reader ve

Re: [iText-questions] Problem with pdf portfolios setup in Adobe Reader and Browser.

2011-09-21 Thread jzuo
Thanks for your reply. I think that will change the panel to show the list view. The client doesn't want that kind of view. Why in adobe reader and browser has different layout? where to control that? By pdf file or by application (Adobe reader, or browser)? Thanks! Jun -- View this message in c

Re: [iText-questions] Encryption PDF

2011-09-21 Thread Khatri Anand
Thanks a Lot On Wed, Sep 21, 2011 at 6:11 AM, 1T3XT BVBA wrote: > On 21/09/2011 15:07, Khatri Anand wrote: > > Hello sir, > > > > I have 2 files. > > 1:) Create a PDF file (Form.java) > > 2:) Read a PDF File (Readform.java) > > > > I use writer.setEncryption(USER, OWNER, PdfWriter.ALLOW_PRINT

Re: [iText-questions] Encryption PDF

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 15:07, Khatri Anand wrote: > Hello sir, > > I have 2 files. > 1:) Create a PDF file (Form.java) > 2:) Read a PDF File (Readform.java) > > I use writer.setEncryption(USER, OWNER, PdfWriter.ALLOW_PRINTING, > PdfWriter.STANDARD_ENCRYPTION_128); OWNER may not be null. You have to re

[iText-questions] Encryption PDF

2011-09-21 Thread Khatri Anand
Hello sir, I have 2 files. 1:) Create a PDF file (Form.java) 2:) Read a PDF File (Readform.java) I use writer.setEncryption(USER, OWNER, PdfWriter.ALLOW_PRINTING, PdfWriter.STANDARD_ENCRYPTION_128); in Form.java file for Encryption. When read a file from Readform.java file than I got error lik

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread mingqiang yu
I have had similar problem when I tried to use PdfReader on a secure pdf: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1ObjectIdentifier at com.itextpdf.text.pdf.PdfEncryption.(PdfEncryption.java:147) I got the newest version of itext through maven. But after I added the bcmai

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Leonard Rosenthol
Put all of the content of the page in an OCG and then set that OCG with a state of not viewable. If you use Adobe Acrobat manually to reader enable a file, then you do indeed have a 500-user limit for returned form data (or annotations). If you use Adobe LiveCycle Reader Extensions Server, the

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 13:54, Sailesh K wrote: I guess we could work with hiding content on a page. How do I do that? See p494-505. what does reader-enabling a pdf involve? See p276-277. -- All the data continuously generate

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
I guess we could work with hiding content on a page. How do I do that? also, what does reader-enabling a pdf involve? enabling extended-usage rights on the pdf? isnt there a 500 user limit of some sort on that?   thanks as always From: 1T3XT BVBA To: Post all your questions about iText here Se

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Leonard Rosenthol
An OCG can be used to hide all the content on a page (thus leaving it blank, or with some sort of "this page intentially left blank" text), but can NOT actually remove/hide the page itself from the viewer. OCGs can exist on any set of pages as they are just objects that can be referenced from a

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 12:51, Sailesh K wrote: > think this would be a standard-ish requirement. any pointers are much > appreciated. It's fairly simple to hide content on a page (ending up with blank pages). Hiding complete pages however, isn't standard (and I doubt it's possible). Did you check Adobe's A

Re: [iText-questions] PNG and "Insufficient data for an image"

2011-09-21 Thread Leonard Rosenthol
The PNG is invalid. Open it up in Photoshop and it will tell you the same thing I did - "the profile is invalid". (see enclosed picture) In addition, I used one of my tools to dump the PNG structure to verify that the profile in the PNG is the same CMYK/4-color profile that you put in the P

[iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
Hi,   I have a requirement to hide multiple pages in a pdf based on certain actions (possibly triggered from javascript). From reading the book and online resources the two ways to do this is using OCG or templates. the latter would need the end-user to have acrobat (am I right?). My users typical

Re: [iText-questions] Open a pdf under android with itext?

2011-09-21 Thread Amedee Van Gasse
On Wed, September 21, 2011 11:28, andbruch wrote: > Is there a possibiliy to open a pdf with android? Your question is irrelevant for the iText mailing list. You can find your answer on https://market.android.com/search?q=pdf Hope This Helps, Have A Nice Day. -- Amedee Van Gasse --

Re: [iText-questions] Open a pdf under android with itext?

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 12:11, andbruch wrote: > With the android-specific version, I can open the file. > But the problem is that I can't read AcroFields and there is not a signature > feature. That has been stripped down. You'd need us to create an Android port of the full iText. We don't do that for free.

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 12:05, Cristian wrote: > Thank you for your reply 1T3XT BVBA. Yes IText version is 5.1.2 > sorry for the mistake. > > I used the libraries that you suggested and I got this exception: > > Exception in thread "main" java.lang.NoSuchMethodError: > org.bouncycastle.asn1.DERSequence.(Lorg

Re: [iText-questions] Open a pdf under android with itext?

2011-09-21 Thread andbruch
I want to 1) open a pdf (form) 2) fill it 3) and signature it 4) with android. With the normal library I get an VerifyError, if I execute the following line: PdfReader reader = new PdfReader(c.getResources().openRawResource(pdfInPath)); With the android-specific version, I can open the file.

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread Cristian
Thank you for your reply 1T3XT BVBA. Yes IText version is 5.1.2 sorry for the mistake. I used the libraries that you suggested and I got this exception: Exception in thread "main" java.lang.NoSuchMethodError: org.bouncycastle.asn1.DERSequence.(Lorg/bouncycastle/asn1 /ASN1EncodableVector;)V Any

Re: [iText-questions] editing PDF document

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 10:40, Prashanth Palleti wrote: > Hi, > > Is there any way that we can delete the existing value of footer and > insert new footer values while editing the pdf(i.e., we have a > scenario where we generate the pdf first and then should edit the > footer ).Currently I an able to add

Re: [iText-questions] Open a pdf under android with itext?

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 11:28, andbruch wrote: > Is there a possibiliy to open a pdf with android? What do you mean by opening? Do you want to VIEW the PDF? In that case you need another tool. iText doesn't RENDER PDFs to the screen/an image/the printer.

Re: [iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread 1T3XT BVBA
On 21/09/2011 11:25, Cristian wrote: Hi, Before posting on the mailing list I googled and tested a lot. I tried to use IText 5.2.1 There is no iText 5.2.1 yet. The most recent version is iText 5.1.2. with BouncyCastle but I am experiencing different errors on BouncyCastle (methods not fou

[iText-questions] IText 5.2.1 and BouncyCastle

2011-09-21 Thread Cristian
Hi, Before posting on the mailing list I googled and tested a lot. I tried to use IText 5.2.1 with BouncyCastle but I am experiencing different errors on BouncyCastle (methods not found, etc). I tested BC versions from 1.43 to 1.46 (latest) with IText 5.2.1. If I test IText 2.x with the librari

[iText-questions] Open a pdf under android with itext?

2011-09-21 Thread andbruch
Is there a possibiliy to open a pdf with android? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Open-a-pdf-under-android-with-itext-tp3829410p3829410.html Sent from the iText - General mailing list archive at Nabble.com. -

[iText-questions] editing PDF document

2011-09-21 Thread Prashanth Palleti
Hi, Is there any way that we can delete the existing value of footer and insert new footer values while editing the pdf(i.e., we have a scenario where we generate the pdf first and then should edit the footer ).Currently I an able to add extra text to footer but requiement is we need to delete exi

Re: [iText-questions] PNG and "Insufficient data for an image"

2011-09-21 Thread qqzx2kp
I can use ImageMagick to show that the profile exists (identify -verbose) and also extract it (convert). What are you using to check the PNG? My problem boils down to the fact that the PNG looks OK because every application I've tried treats this as a valid image. Whether this is because they igno