Re: [iText-questions] Do Goto and GoToR use different bases for page number?

2011-07-22 Thread Chip Whitmer
Thanks for your reply. Now I'm really confused... The iText book has this example on page 413: ... HashMap kid1 = new HashMap(); kid1.put("Title", "top"); kid1.put("Action", "GoTo"); kid1.put("Page", "1 FitH 806"); kids.add(kid1); ..

Re: [iText-questions] Do Goto and GoToR use different bases for page number?

2011-07-22 Thread Leonard Rosenthol
GoTo uses an explicit object reference in the PDF – has NOTHING to do with an actual/absolute page number. Leonard From: Chip Whitmer mailto:cwhit...@servicerepairsolutions.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Fri, 22 Jul 2011 11:07:21 -0700 To: Post h

Re: [iText-questions] Problems with Android+BKS+iText

2011-07-22 Thread Balder VC
iText 5.1.1 is not suited for Android. You'll run into other problems. but anyway here some questions that could enable your mind: Did you add BouncyCastle to your app ? Did you add the right version ? And last but not least is it suited for Android ? Regards Balder On 22/07/2011 20:38, Andr

[iText-questions] Problems with Android+BKS+iText

2011-07-22 Thread André Mariano
Hi Guys, I started developing for Android using iText,I used to develop only for web servers using iText, but now I'm having some issues with signing documents using iText in AndroidI'm only running texts by far but I already found some problems... Usually when I close the Stamper Here is The C

[iText-questions] Do Goto and GoToR use different bases for page number?

2011-07-22 Thread Chip Whitmer
In PDF bookmarks, it appears that GoTo (linking to a location in the current document) starts page numbers from 1, but GoToR (linking to a location in a different document) starts page number from 0. To demonstrate, I have used iText to create two simple PDF documents (attached). Both documents

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread 1T3XT BVBA
On 22/07/2011 17:06, William Bell wrote: > I hope you have a nice day too :) If you ever find a place where you can get a free lunch, let us know. Have a nice day. -- 10 Tips for Better Web Security Learn 10 ways to better

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread William Bell
Thank you for your views. I hope you have a nice day too :)     Regards William William Bell E: wrb...@btinternet.com From: 1T3XT BVBA To: Post all your questions about iText here Sent: Friday, 22 July, 2011 15:50:04 Subject: Re: [iText-questions] Document

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread 1T3XT BVBA
On 22/07/2011 16:28, William Bell wrote: When looking for an API in to PDF documents, iText looked like it offered a full API. Your search was successful. iText is one of the most complete APIs. I/we had not realised that it's high-level functionality was limited. That's like saying the lat

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread William Bell
Many thanks for taken the time to let me know.   When looking for an API in to PDF documents, iText looked like it offered a full API.  I/we had not realised that it's high-level functionality was limited.  It has taken a little time to confirm this! So, I/we are sorry to have trouble you and t

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread 1T3XT BVBA
On 22/07/2011 13:29, William Bell wrote: 1. We have found the following: ViewerPreferences -- property in both PdfWriter & PdfReader but this only has a Set AddViewerPreferences() -- again in both but this sets the preferences SimpleViewerPreferences -- property in PdfReader

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread Leonard Rosenthol
You are asking for stuff that isn't exposed (currently) at the "high level" API level. So you will need to write your own "high level" APIs using the "low level" APIs. You can use iText to get everything you need, it will just take some time/effort/understanding. If you'd like the code writte

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread William Bell
We have a copy of ISO 32000-1:2008 but still cannot figure out what iText commands to use in order to get at the data. Is what we are asking too difficult? I'm just wondering, because I do not understand why someone more experienced/knowledgeable in iText cannot simple post a snippet of code sh

Re: [iText-questions] Document Properties dialog

2011-07-22 Thread Leonard Rosenthol
You need a copy of ISO 32000-1:2008, the PDF standard. That will tell you where everything you need is in the PDF, how to determine if a given font is embedded (and/or subset and/or ….) Leonard From: William Bell mailto:wrb...@btinternet.com>> Reply-To: Post here mailto:itext-questions@lists.

[iText-questions] Document Properties dialog

2011-07-22 Thread William Bell
Hi, Many thanks for your reply. 1. We have found the following: ViewerPreferences  --  property in both PdfWriter & PdfReader but this only has a Set     AddViewerPreferences()  --  again in both but this sets the preferences     SimpleViewerPreferences  --  property in PdfReader only Unfo

[iText-questions] How to set CommitOnSelChange on a Combo-box?

2011-07-22 Thread try67
I'm creating a combo-box, and I want to set it to commit the selected value immediately. I can't seem to find this as a separate property of PdfFormField, so I looked it up in the PDF reference and found that this field is on bit position 27. I tried setting the field's flags to 27, but that didn't

Re: [iText-questions] TIFF with color pages (COMPRESS_JPEG) problem

2011-07-22 Thread Paulo Soares
Jpeg compressed tiff images are not really supported in iText, they may work but most probably not. Paulo - Original Message - From: Victor Likhachov To: itext-questions@lists.sourceforge.net Sent: Thursday, July 21, 2011 8:05 PM Subject: [iText-questions] TIFF with color pag