[iText-questions] iText in Action Second Edition errata

2010-03-29 Thread Keith O
Hi Bruno, Listing 8.12: Choices.java, p280 and Listing 8.13: Choices.java, p281 should be titled: Listing 8.1[2/3]: ChoiceFields.java I.e. there's no code example named Choices.java. Or you could just rename the source code file :) keith

[iText-questions] nested PdfPTable and vertical alignment

2010-03-29 Thread KSXD 32
Hello, In order to support multi-line rows (depending on the size of the default text) I use the commended solution of nested tables i.e. // create main table PdfPTable table = new PdfPTable(...); ... // create nested table PdfPTable nested = new PdfPTable(...); // create cell within nested

[iText-questions] Does itext supports pdf generation for indian languages?

2010-03-29 Thread poornima dupati
Hi, Can anyone clarify the following: 1.Does itext supports pdf generation for indian languages? 2.We are storing the data in UTF-8 format.Is it be possible to print the decoded unicode (utf-8) characters , if particular font will be provided for that language.? If so kindly suggest the

[iText-questions] FormField, TextField diacritical characters problem.

2010-03-29 Thread Pavol Behul
Hello, i wrote simple method to add TextField to position, with specified text. I have problem, when text is in utf-8 coding with some diacritical characters (ľščťžřě). Acrobat reader render bad these chars, also my Servlet got bad data from acro button Submit. Is some possibility how to fix

Re: [iText-questions] JPanel in PDF

2010-03-29 Thread Michael Harig
Hi, I admit my question was not very clear. Sorry. However, after heavy searching THE NET I found the solution to most of my problems: Document doc = new Document(PageSize.A4); PdfWriter out = null; try { out = PdfWriter.getInstance(doc, new

Re: [iText-questions] Difference between WINANSI and IDENTITY-H encoding types

2010-03-29 Thread Leonard Rosenthol
You can use Identity-H for Arial and Times as well - but WinANSI is also fine. Are you embedding the fonts in all cases - even for WinANSI? Remember that if you don't embed the font, you have NO CONTROL over what happens at print time. Related to that, HOW are you printing to this thermal

Re: [iText-questions] FormField, TextField diacritical characters problem.

2010-03-29 Thread Leonard Rosenthol
What font are you using for the field? If you don't supply a Unicode-enabled font, then you won't get Unicode text (such as your special characters). -Original Message- From: Pavol Behul [mailto:pbe...@gmail.com] Sent: Monday, March 29, 2010 7:26 AM To:

Re: [iText-questions] Difference between WINANSI and IDENTITY-H encoding types

2010-03-29 Thread dorairaj
Hi, Thank you for your reply. I have gone through the two models to ensure the pdf printing quality. 1) select adobe pdf while printing the java printer dialog to create the pdf page. http://old.nabble.com/file/p28069506/print-acrobat.pdf print-acrobat.pdf . 2) create pdf page using itext

Re: [iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-29 Thread pickm
That fixes it. Thanks! I got widthPercentage (the table) confused with widthPercentages (the columns)... I assumed they were the same thing. -- View this message in context: http://old.nabble.com/ColumnText-setSimpleColumn-with-getFieldPositions%28%29-tp28042812p28069575.html Sent from the

Re: [iText-questions] Difference between WINANSI and IDENTITY-H encoding types

2010-03-29 Thread Leonard Rosenthol
The PDF is perfect - there is nothing wrong with it. Are you using Reader 9, the latest version? Are you current with your printer drivers? What type of printer is it - Postscript, PCL, HPGL, raster, other? The problem is on your printing side - it's NOT an iText issue. -Original

[iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Vengunta, Raj
Hello, I have a pdf file coming in via ftp from an external server. This pdf file has an owner password to which I do not have access to. As a result any time I use iText to open this file and read it, I get an error. Is there any way that I can change iText's pdfReader object to not ask for

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread wasegraves
Raj, I'm not a lawyer, but it seems to me anyone providing you with the requested information would be joining you in a conspiracy to commit crimes against Adobe and the owner of the PDF. Perhaps you should ask the owner of the PDF for the password. That said, is the PDF printable? Cheers,

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Ernesto Duncan
Hello, as if iText 5.0.1, all encrypted PDFs can be decrypted using the default password OpenSesame. Have fun On Mar 29, 2010, at 8:45 PM, Vengunta, Raj wrote: Hello, I have a pdf file coming in via ftp from an external server. This pdf file has an owner password to which I do not have

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Vengunta, Raj
HI Bill, No chance of any crime or anything criminal. The providers of the file have themselves explicitly given permission to our organization to do what we want. Basically the material they are giving us our proprietary stuff giving back to us in pdf format. So any question of

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Vengunta, Raj
Hello, Either you're bs'ing big time or I'm doing something wrong, but your opensesame don't work. If it's the former, you must be on the mailing list as a hacker. It might be fun reporting you though. Bwahahaha, From: Ernesto Duncan [mailto:ernesto.dun...@gmail.com] Sent: Monday, March 29,

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Mathieu Fortin
That's the whole point of shared secret. So that only those who have the password can decrypt the file. Either you ask him the password, or he removes the protection. De : Vengunta, Raj raj.vengu...@claytonhomes.com À : Post all your questions about iText here

[iText-questions] Browse document structure

2010-03-29 Thread Mircea Zahan
Hi all, Everything is just peachy with iText when one only wants to write PDFs. But when it comes to reading, the documentation says almost nothing. Only basics, like metadata, pages etc. My problem: I need to obtain all the lines, curves etc. from a PDF together with their companions, that is,

[iText-questions] Low level browsing of document structure

2010-03-29 Thread Mircea Zahan
Hi all, Everything is just peachy with iText when one only wants to write PDFs. But when it comes to reading, the documentation says almost nothing. Only basics, like metadata, pages etc. My problem: I need to obtain all the lines, curves etc. from a PDF together with their companions, that is,

Re: [iText-questions] Difference between WINANSI and IDENTITY-H encoding types

2010-03-29 Thread dorairaj
Hi, The PDF is perfect - there is nothing wrong with it. Ok. If i used Indenty-H encoding for all fonts , the document was created with huge memory. i may create 1 lakh pages in document so memory will increase unexpectedly, so i would like to use Identy-H encoding for the few

[iText-questions] Adjust Document Margins in Generic Tag Event

2010-03-29 Thread Mitch Freed
Is it possible to change the current page margins in a generic tag event? Thanks, Mitch -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

[iText-questions] PdfPTable dynamic column width (XHTML like)

2010-03-29 Thread tiihonen
Hi, I'm using iText 2.1.7. Today I tried to create my first table. Everything looks great except one thing. If I create a table in XHTML with no specific width, the table chooses a good looking width for each column. Is iText able to do the same? For example: A table with 3 columns and one

Re: [iText-questions] itextsharp-flatten xfa filled document not working

2010-03-29 Thread Julian2
Julian2 wrote: I need to cancel edition by user when opening the PDF document. I tried FormFlattening=true but when i do it, all AcroFields in my document appear empty. What am i doing wrong??? Thanks even for reading this. In the subject you talk about XFA. In this message you talk about

[iText-questions] Does itext supports pdf generation for indian languages?

2010-03-29 Thread Poornim.B.Dupati
Hi, Can anyone clarify the following: 1.Does itext supports pdf generation for indian languages? 2.We are storing the data in UTF-8 format.Is it be possible to print the decoded unicode (utf-8) characters , if particular font will be provided for that language.? If so kindly suggest the

Re: [iText-questions] Adding text after a JFreeChart

2010-03-29 Thread kiran . infoland
Here is the straight forward solution, http://konsole.myinfoland.com/2010/03/29/adding-text-to-pdf-after-jfreechrart-itext/ -- This message was sent on behalf of kiran.infol...@gmail.com at openSubscriber.com

Re: [iText-questions] how to bypass owner password of pdf

2010-03-29 Thread Ernesto Duncan
Hello, as of iText 5.0.1, all decrypting of encrypted PDFs can be done by the default password OpenSesame. Have fun, Ernesto. On Mar 29, 2010, at 8:45 PM, Vengunta, Raj wrote: Hello, I have a pdf file coming in via ftp from an external server. This pdf file has an owner password to which I do

[iText-questions] Low level browsing of document structure

2010-03-29 Thread Mircea Zahan
Hi all, Everything is just peachy with iText when one only wants to write PDFs. But when it comes to reading, the documentation says almost nothing. Only basics, like metadata, pages etc. My problem: I need to obtain all the lines, curves etc. from a PDF together with their companions, that is,