Re: [iText-questions] Vertical alignment of multiline form fields

2011-02-02 Thread ravinagesh
Thanks a lot buddy.. the Approach works !!! This is a sample code that aligns the data filled in a tagged PDF , properly ( vertically ) as specified in the PDF tag. My PDF was created in Adobe LiveCycle Designer. And it has even multiline fields, all aligned bottom. Creating PDF using such an ap

Re: [iText-questions] Force Barcode128 type B

2011-02-02 Thread Mark Storer
I'm not familiar with the internals of Code 128, but looking at the code... hmmm. Having read both the code and http://en.wikipedia.org/wiki/Code_128, it looks fairly straightforward: It looks like you can simply: public static String getRawText(String text, boolean ucc) { int c = 0; f

Re: [iText-questions] Problem extracting text

2011-02-02 Thread Paulo Soares
I wasn't aware of that nuance (the Diffs array). This funcionality will be in the next release. Paulo -Original Message- From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Wednesday, February 02, 2011 1:38 PM To: Post all your questions about iText here Subject: Re: [iText-questi

Re: [iText-questions] Problem extracting text

2011-02-02 Thread Leonard Rosenthol
In this case (where there is a Diffs array), this is correct. If there is a ToUnicode, use it! However, just make sure that if the encoding is one of the standard 1 byte encodings AND there is no Diffs - DO NOT use ToUnicode (even if present). -Original Message- From: Gilles Mazoyer [m

Re: [iText-questions] Encoding

2011-02-02 Thread 1T3XT BVBA
Op 1/02/2011 19:57, dante schreef: > Halo! I have a german pdf with ä,ö...€. OK. > I read the whole text form the pdf document: > > PdfReader reader = new PdfReader(path); > byte[] myContent = reader.GetPageContent(1); That gets the content stream of page 1. Are you sure that stream contains