Re: [iText-questions] plz give ideas

2008-05-06 Thread David Lloyd
Howdy, san kar wrote: > hi, > > I want to create TOC(Table of Contents) in my pdf. > > My TOC look like this.. > > *Contents* > Introduction > .8 > 1. > Author...

[iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-06 Thread gailmikels
I just started a new job & am being asked to read multiple PDF files stored in a database (DB2), concatenate them, and add a TOC. I've been able to do this with static PDF files, but am having trouble finding how to convert the string I get from the DB into a usable iText object. I've used

[iText-questions] Andrew S Moy/CHI/NTRS is out of the office.

2008-05-06 Thread Andrew S Moy
I will be out of the office starting May 6, 2008 and will not return until May 13, 2008. Hello, Please contact Carl Groebe (312) 557-5454 if you need any assistance during this time, thanks. - This SF.net email is sponsore

Re: [iText-questions] Invalid TIFF -- Invalidcodeencounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Howard Shank
I don't know what to suggest then. You found the T.6 Recommendation from UTI (CCITT). Howard Shank - Original Message From: "Tessler, Micah (M.B.)" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Tuesday, May 6, 2008 5:30:36 PM Subject: Re: [iText-questions] Inv

[iText-questions] Migrating from J2EE 1.3 to 1.4 specification level with iText 1.3

2008-05-06 Thread Kapil Agarwal - kagarwa
We have an application that's using itext-1.3.jar and is currently on J2EE 1.3 specification level(Websphere 5). We are upgrading it to J2EE 1.4 specification level (Wepshere 6). 1. How do I ascertain the iText version? All I know, the jar name is itext-1.3.jar 2. Do we have to upgrade iText to h

[iText-questions] Extracting XFA from PDF (which has it)

2008-05-06 Thread Dorothy Booher
Hello, Regarding this discussion on the relationship between xfa and pdf, http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg36570.h tml the final solution Leonard provided was to use iText to extract xfa from the pdf, then modify and inject it into the “shell” pdf.

Re: [iText-questions] Invalid TIFF -- Invalidcodeencounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Tessler, Micah (M.B.)
OK. For reference, the TIFF spec does not go into detail on T6 compression, rather refers to T6 in general. The only T6 spec I found was here (and has no extensions to my knowledge): http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-T.6-198811-I!!PDF-E&type=items -Micah -Original Mes

Re: [iText-questions] Invalid TIFF -- Invalid codeencounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Howard Shank
Hi Micah, I'm not quite sure what you are looking for and I'm not a TIFF expert by any means. The TIFF v6 Specification can be downloaded from here: http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf The Lib TIFF Org at http://www.libtiff.org may also have information you are looking

Re: [iText-questions] Invalid TIFF -- Invalid codeencounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Tessler, Micah (M.B.)
OK thanks. I'm not quite sure what you are driving at here, though. I went through these pages and no one had a solution. All I saw were complaints about the problem or related ones. Did one of the links you found actually have an explanation of the expanded "standard" or how the data handshake

Re: [iText-questions] Invalid TIFF -- Invalid code encounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Howard Shank
Just doing a search on Google at http://www.google.com/search?q=Invalid+code+encountered+while+decoding+2D+group+4&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a turns up many pages of this same problem. Howard Shank - Original Message From: "Tessler, Micah (M.

Re: [iText-questions] getDpiX() returns zero and cannot maintain originality in .png

2008-05-06 Thread kcbxt8
I apologize. Can you please tell me is there any other way to get the scalepercent(7200f/getDpiX()) working from getWidth or getHeight and setting them to original values please. Bruno Lowagie (iText) wrote: > > kcbxt8 wrote: >> Please provide me a mechanism where I can preserve the originality

Re: [iText-questions] paasing stylesheet object to Font object

2008-05-06 Thread kcbxt8
how can I use that name when defining styles. for example I have something like Font font; and I have a Stylesheet object, How can I integrate these two. can you show me the sample code. -- View this message in context: http://www.nabble.com/paasing-stylesheet-object-to-Font-object-tp17086575p17

Re: [iText-questions] Invalid TIFF -- Invalid codeencounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Lewis, Cory (Genworth)
I've come across this issue on occasion as well, and would be interested in a fix. Next time it occurs I'll retrieve the document and see what I can learn about it. Unfortunately I will probably not be able to share it. Cory > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EM

Re: [iText-questions] paasing stylesheet object to Font object

2008-05-06 Thread Bruno Lowagie
kcbxt8 wrote: > Can any one help. If you already have a font, register it. Get its name, then use that name when defining the styles. If that doesn't answer the question, I didn't understand what you were asking. br, Bruno -

Re: [iText-questions] getDpiX() returns zero and cannot maintain originality in .png

2008-05-06 Thread Bruno Lowagie
kcbxt8 wrote: > Please provide me a mechanism where I can preserve the originality of any > .png image on pdf. Please don't be bossy. You act as if you know more about images than we do. PLEASE don't START OVER the long and FRUSTRATING DISCUSSION about images and their 'resolution'. Before you pos

Re: [iText-questions] Problems with dynamic xfa-Form

2008-05-06 Thread Bruno Lowagie
achtal wrote: > Hi, > we have a pdf-form which has more than one subform. In all this subforms are > the same textfields. They also have the same name. Our form designer says > that we have to work with the indexes in itext. Does anybody has ani idea > how can i work with this form on itext? So th

Re: [iText-questions] Invalid TIFF -- Invalid code encounteredwhiledecoding 2D group 4 compressed data.

2008-05-06 Thread Tessler, Micah (M.B.)
Thanks for the response, but I remain skeptical that large numbers of scanners are corrupting the T6 compression standard. And all of the commercial tiff readers (I haven't tried open-source readers other than iText) understand this corruption. I submit that a more logical interpretation of th

[iText-questions] paasing stylesheet object to Font object

2008-05-06 Thread kcbxt8
Is there any way to pass stylesheet object to font object. or using the values in font object to generate a stylesheet object. I am trying to Stylesheet styles; styles.loadTagStyle("b", "font-weight", "bold"); styles.loadTagStyle("i", "font-weight", "italic"); but I already have a fon

[iText-questions] Problems with dynamic xfa-Form

2008-05-06 Thread achtal
Hi, we have a pdf-form which has more than one subform. In all this subforms are the same textfields. They also have the same name. Our form designer says that we have to work with the indexes in itext. Does anybody has ani idea how can i work with this form on itext? So that I have all values, a

[iText-questions] getDpiX() returns zero and cannot maintain originality in .png

2008-05-06 Thread kcbxt8
I am trying to print a .png file into pdf and I want the same clarity inside the pdf. I was trying to png.scalePercent(72f / jpg.getDpiX() * 100); but getDpiX() returns zero. Is there any way to keep the images as it is in pdf rather than default dpi. The images are large in number and I cannot d

Re: [iText-questions] OCG and content stream

2008-05-06 Thread Lars Eirik Rønning
So what you are saying is this: If i decide to do any transformation on my image or other element this will not work correctly? I am aware i do have to adjust the matrix, but i was not aware i did have to alter the bbox.(although i do understand why) On Tue, May 6, 2008 at 3:33 PM, Leonard Rosent

Re: [iText-questions] OCG and content stream

2008-05-06 Thread Leonard Rosenthol
It's not the resources that are the issue - you are correct, you could leave them alone... It's the matrix and BBox that are most important, as those values are actually used when processing the content. So if you change the size and/or transformation of the content inside the XObject - it

Re: [iText-questions] List class

2008-05-06 Thread Howard Shank
Hi Bruno. That's what I thought, I just wanted to make sure I wasn't missing something deep under the hood of the classes. Thanks a lot! Howard - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Tuesday, May 6, 2008 3:20:0

[iText-questions] plz give ideas

2008-05-06 Thread san kar
hi, I want to create TOC(Table of Contents) in my pdf. My TOC look like this.. *Contents* Introduction .. ...8 1. Author..9 P