Re: [iText-questions] 256 bit AES algorithm pdf password decryption ..??

2011-08-24 Thread Aashish Dev
Thanks for your response, let me tell you in brief that actually at which point I am getting the problem. I am giving you an example of a file. In this file: Open(user) password: abc Password algorithm: 256 bit AES /R : 6 /U:F42EC3CF547F226A4D6FE84EB19F83E8E2B9416E603D8C5120E53F6A1A774BE285409545

Re: [iText-questions] The "document.close()" method fires the "onEndPage" event and adds an unnecessary page.

2011-08-24 Thread 1T3XT BVBA
On 24/08/2011 19:09, Scott Johnson wrote: How do I prevent the "onEndPage()" method from getting executed when the "document.close()" method gets called? If you close the document, you end a page, so it's only normal that onEndPage() is triggered. If onEndPage() wasn't triggered, the last

[iText-questions] The "document.close()" method fires the "onEndPage" event and adds an unnecessary page.

2011-08-24 Thread Scott Johnson
How do I prevent the "onEndPage()" method from getting executed when the "document.close()" method gets called? Why does the "document.close()" method fire the "onEndPage()" event? I would think that the "onEndPage()" method should only get executed after adding a page with "document.newPage()"

Re: [iText-questions] 256 bit AES algorithm pdf password decryption ..??

2011-08-24 Thread Leonard Rosenthol
Depends on what the input is. For simple ASCII/ISO-Latin-1, it should be the same. Even for some sets of CJK, it will be the same. If this doesn't make sense, you need to read up on Unicode encodings. Leonard On 8/24/11 6:33 AM, "Aashish Dev" wrote: >Waiting for your response , I am stuck in

Re: [iText-questions] My first Question

2011-08-24 Thread Leonard Rosenthol
What do you mean by "font properties of PDF"? A PDF doesn't have "font properties". If there is text in the document, then each drawn "string" of text has a Font associated with it. Is that what you mean? From: Khatri Anand mailto:anand.khatr...@gmail.com>> Reply-To: Post here mailto:itext-

Re: [iText-questions] How to update A PushbuttonField on an existing PDF

2011-08-24 Thread Mark Storer
You're throwing a Rather Large chunk of code at us and then expecting us to execute it (on our own servlet-capable server) to get the resulting PDF. That's fine for commercial support, but that's not what this mailing list is for. I suggest you remove the PDF code from your servlet code. Get it

Re: [iText-questions] My first Question

2011-08-24 Thread Balder VC
On 24/08/2011 15:52, Khatri Anand wrote: okie but you just point me, how ISO-32000-1 is useful to me for finding a Font Properties? Let's point out to you that When you read the ISO you know how Fonts are stored and linked to text in a PDF ( ISO-32000 - 9.2.2 and further ) I guess for

[iText-questions] FW: FW: PageSize

2011-08-24 Thread John Renfrew
The problem appears to be that in the source is that a rectangle is created newRectangleReadOnly (595,842,90) but surely it should just be (842,595) ?? john renfrew Right Way Up Office +44 1675 475341 Fax +44 1675 475342 Mobile +44 7767 443992 From: John Renfrew [mailto:r...@btcl

[iText-questions] FW: PageSize

2011-08-24 Thread John Renfrew
Or could you make it work?? It is a great convenience method for setting a rectangle 0,0,842,595 but has the advantage that it can be passed as a human readable parameter from a selection list I am using Groovy so can do: pSize = 'A4' or pSize = someParameter doc = new Document(Pag

Re: [iText-questions] My first Question

2011-08-24 Thread Khatri Anand
okie but you just point me, how ISO-32000-1 is useful to me for finding a Font Properties? Thanks & regards On Wed, Aug 24, 2011 at 6:39 AM, 1T3XT BVBA wrote: > On 24/08/2011 12:19, Khatri Anand wrote: > > so please give me example or brief idea about that font. > No time to make example

Re: [iText-questions] PageSize

2011-08-24 Thread 1T3XT BVBA
On 24/08/2011 13:45, John Renfrew wrote: doc = new Document(PageSize.A4_LANDSCAPE) I think it was a bad idea to accept PageSize.A4_LANDSCAPE into the main distribution. It was an addition asked for by somebody (it's not mentioned in the changelogs, so I don't remember who), but it doesn't a

Re: [iText-questions] My first Question

2011-08-24 Thread 1T3XT BVBA
On 24/08/2011 12:19, Khatri Anand wrote: > so please give me example or brief idea about that font. No time to make examples, and there's no "brief" way to explain, other than the answers that were already provided. The "hard" way = ISO-32000-1. ---

Re: [iText-questions] 256 bit AES algorithm pdf password decryption ..??

2011-08-24 Thread Paulo Soares
iText doesn't use StringPrep and unless you have very strange input strings with directional codes and such, it should make no difference using it or not. Paulo From: Aashish Dev [gorgeious@gmail.com] Sent: Wednesday, August 24, 2011 11:33 AM To: Post

[iText-questions] MultiColumnText.getCurrentColumn() always returns 0

2011-08-24 Thread Daniel Merino
Hi everybody. I'm trying to improve a piece of code in an existing application which generates a pdf report in two column pages with MultiColumnText. I would like to detect when a group of several elements doesn't fit in the space available until the page bottom, so I can do a nextColumn() an

[iText-questions] An odd result with user access permissions

2011-08-24 Thread William Bell
Hi Guys, As you may recall I am trying to confirm the settings in the document properties, and for this question on the Security Tab. Thanks to Bruno - who has been a great help - I have managed to do so but for a strange result ?? 1. If I set a user password but leave all permissions to N

[iText-questions] PageSize

2011-08-24 Thread John Renfrew
doc = new Document(PageSize.A4) and doc = new Document(PageSize.A4_LANDSCAPE) seem to produce the same thing - a portrait page. As do the two other landscape formats mentioned in the api. Is this deliberate?? john renfrew Right Way Up Office +44 1675 475341

Re: [iText-questions] iTextSharp and certificate chains using windows certificate store

2011-08-24 Thread mkl
Edward, Edward Cooke wrote: > Here's my signed document. Your impression is right that there only is one certificate, the user certificate, included in the signature. On the other hand I also looked at the code (more exactly: the Java code, but as nothing magical happens there, I assume that the

Re: [iText-questions] any luck with this one - Question regd. chapters 8 & 9

2011-08-24 Thread Balder VC
On 24/08/2011 13:12, Sailesh K wrote: or did it get lost in the crowd of questions? No it didn't. *From:* Sailesh K *To:* Post all your questions about iText here *Sent:* Monday, August 22, 2011 9:00 AM *Subject:* [iText-questions] Question regd. chapters 8 & 9 Hi, Was trying out the exa

[iText-questions] any luck with this one - Question regd. chapters 8 & 9

2011-08-24 Thread Sailesh K
or did it get lost in the crowd of questions? From: Sailesh K To: Post all your questions about iText here Sent: Monday, August 22, 2011 9:00 AM Subject: [iText-questions] Question regd. chapters 8 & 9 Hi, Was trying out the examples in chapters 8 and 9 related to acroforms. Where do i enter

Re: [iText-questions] 256 bit AES algorithm pdf password decryption ..??

2011-08-24 Thread Aashish Dev
Waiting for your response , I am stuck in my project . Will you please help me out of it..? In my project I want to process usernames and passwords using SaslPrep profile of StringPrep . I have googled and found that Libidn (library by GNU) has implemented SASLprep profile of stringprep. Do you h

Re: [iText-questions] My first Question

2011-08-24 Thread Khatri Anand
Hello thanks I got ISO-32000-1 (the PDF specification) but still I am confuse about font properties of pdf file & fields. so please give me example or brief idea about that font. thanks & regards, On Wed, Aug 24, 2011 at 1:37 AM, 1T3XT BVBA wrote: > On 24/08/2011 9:46, Khatri Anand wr

Re: [iText-questions] My first Question

2011-08-24 Thread 1T3XT BVBA
On 24/08/2011 9:46, Khatri Anand wrote: > now I want to get Font Properties of pdf file as well as TextField, > RadioCheckField ect. > so how can I get Font Properties? For this you need to download ISO-32000-1 (the PDF specification). If you go to the Adobe.com site, you can find a version that