[iText-questions] Needed help in image handling

2007-05-23 Thread magesh rathnam
Hi all, I have a requirement where in the image has to be placed within a particular area whose coordinates are known. The image would be of a larger area than the region and hence we need to scale down the image to fit the area. We generally place the image at the center of the region. But at

[iText-questions] RtfWriter2 Update

2007-05-23 Thread Mark Hall
Hi A major update to the RtfWriter2 (and all its helper classes) has been provided by Thomas Bickel. It is primarily a performance related update. In theory (and in our tests) there were no errors introduced by this change and the outward behaviour shouldn't change either. With the exception o

Re: [iText-questions] Question about RTF List in Table Cell

2007-05-23 Thread Mark Hall
On Wednesday 23 May 2007, Felix Satyaputra wrote: > The bizzarre thing is I ended up having additional > empty list item. The thing is when I generate the > Document using PdfWriter, this problem does not > occur. > > I have narrowed it down of the \listtext entry in > RTF > having \par at the end.

Re: [iText-questions] Difference between extraParagraphSpace andspaceBefore/spaceAfter

2007-05-23 Thread Mark Hall
On Wednesday 23 May 2007, Paulo Soares wrote: > Consider a Paragraph with newlines inside. spaceBefore/spaceAfter will > only happen once but extraParagraphSpace will happen with each newline. Thanks for the info. Greetings, Mark -- You will pioneer the first Martian colony. My GPG public key is

Re: [iText-questions] Table class [RTF]

2007-05-23 Thread Mark Hall
On Wednesday 23 May 2007, Paulo Soares wrote: > > Document document = new Document(); > > RtfWriter2.getInstance(document, new > > FileOutputStream("HelloWorld.rtf")); > > document.open(); > > Table table = new Table(1); > > document.add(table); > > document.close(); > > > > > > now the output is t

[iText-questions] spanning of columns

2007-05-23 Thread chandrajeet
I tried creating a PdfPTable out of my existing JTable having lots of columns n rows. 1. I splitted the columns first into multiple pages as in SplitTable example. 2. Then rows subsequently. But, with this the Header disappears and it shows only one page set of values. Without splitting it w

[iText-questions] blank pdf file

2007-05-23 Thread Li Wang
I generated a PDF report (using iText) that can be retrieved via an url. Now I am trying to save the PDF report as a hard copy in our system and email it to client as an attachment. However, sometimes the hard copy is blank while sometimes good. It has certain pages long which appears the data is

[iText-questions] Using the SAXParser in R&J example with a memory (JDOM) input object?

2007-05-23 Thread Jim Hurricane
I need to modify how the Romeo & Juliet example works so that the parser.parse(a,b) works differentlly. Specifically, I would like to be able to pass a memory-only JDOM tree as the first parameter instead of a disk-based XML file. I can write the output to a ByteArrayOutputStream with no probl

Re: [iText-questions] [SPAM] Using PdfCopy with image results in "The document has no pages"

2007-05-23 Thread Hawk137
>> I'm using PdfCopy to bring in a batch of disparate types to a destination PDF >> file. I'm currently seeing a problem where PdfWriter works fine, but >> PdfCopy (a subclass of PdfWriter) fails. > > This is documented: PdfCopy can only be used to assemble pages > from different PDFs without cha

Re: [iText-questions] performance of tiff implementation in itext

2007-05-23 Thread Leonard Rosenthol
Why not just "pass through" the data from the TIFF into the PDF (obviously "unwrapping" the data streams)? PDFlib and a few other PDF libraries take this approach for some image formats... Leonard On May 23, 2007, at 9:42 AM, Paulo Soares wrote: > Tiff images compressed with LZW are first

Re: [iText-questions] Maintain paragraph and image together

2007-05-23 Thread Andres Guerrero
Hi Paulo, thank you very much for you suggestion, I've trying with ColumnText with not so much luck, as I explained before, the document has a signature at the end, and I can't place the signature alone in a page, if it occurs, I must take the last paragraph and move it with the signature in the

Re: [iText-questions] PdfPTable with more columns

2007-05-23 Thread chandrajeet
I tried creating a PdfPTable out of my existing big JTable having more columns n rows. 1. I tried splitting the columns first into multiple pages as in SplitTable example. 2. Then rows subsequently. But, with this the Header disappears and it shows only one page set of values. Without splitting

Re: [iText-questions] pdftk error

2007-05-23 Thread Paulo Soares
There's a lot of confusion here. pdftk took a very old jdk 1.1 version of iText because it was the only one that could compile with gcj. If you have any problems with pdftk you'll have to talk to whoever create it. If, on the other hand, you have problems using the Java iText version then we'll be

Re: [iText-questions] PdfPTable with more columns

2007-05-23 Thread Paulo Soares
See the example SpliTable in http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.htm l. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of chandrajeet > Sent: Wednesday, May 23, 2007 3:38 PM > To: itext-questions@lists.sourc

[iText-questions] PdfPTable with more columns

2007-05-23 Thread chandrajeet
When the PdfPTable consists of more than 100 columns how can I make it to fit in the resultant PDF? As of now, the generated pdf shows in a compressed way(Unreadable). I want to extend it to next pages. -- View this message in context: http://www.nabble.com/PdfPTable-with-more-columns-tf3804474.

Re: [iText-questions] [iText] problems whith com.lowagie.text.Image

2007-05-23 Thread Paulo Soares
This is a comunication problem that has nothing to do with iText. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of aurelie > Sent: Wednesday, May 23, 2007 2:16 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] [iT

Re: [iText-questions] performance of tiff implementation in itext

2007-05-23 Thread Paulo Soares
Tiff images compressed with LZW are first decompressed and then recompressed with flate compression. This takes a lot of memory and time. Jpeg images are included as-is with any decompression/compression. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] O

[iText-questions] [iText] problems whith com.lowagie.text.Image

2007-05-23 Thread aurelie
I use com.lowagie.text.Image in my code but when I execute my application the image is not insert in my .pdf and I have a message d error (java.net.SocketException : Broken pipe) I precise that the image exist What the solution? is it iText problems or a server problem? thanks --

Re: [iText-questions] converting JTable into pdf format

2007-05-23 Thread chandrajeet
Hi Bruno, Any idea how to go with. You looked at my templating approach? chandrajeet wrote: > > http://www.nabble.com/file/p10744768/big_table.png > This table spans across 200 columns and 300+ rows. > > -- View this message in context: http://www.nabble.com/converting-JTable-into-pdf-f

Re: [iText-questions] performance of tiff implementation in itext

2007-05-23 Thread Pierre Jourdan
I was profiling my application that creates a pdf from multiple files (pdf, jpeg, tiff) using iText2.0.1 and I saw that lots of memory and cpu are spent in : com.lowagie.text.pdf.codec.TIFFLZWDecoder.initializeStringTable com.lowagie.text.pdf.codec.TIFFLZWDecoder.addStringToTable com.l

Re: [iText-questions] [iText] Getting the action for a field.

2007-05-23 Thread Leonard Rosenthol
On May 23, 2007, at 3:13 AM, Bruno Lowagie (iText) wrote: >> so if a textfield (in the pdf) validates it will (presumably) call >> this >> function. >> I want to be able to get all the acrofields and see which function >> they >> call when they validate, get the javascript for the pdf using >>

Re: [iText-questions] Adding revocation information in PKCS#7 duringverification

2007-05-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Khurram Salim > Sent: Wednesday, May 23, 2007 12:18 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Adding revocation information in > PKCS#7 duringverification > > H

[iText-questions] Adding revocation information in PKCS#7 during verification

2007-05-23 Thread Khurram Salim
Hello, I'm signing a PDF using iText and IAIK JCE Provider. I'm also adding Time-stamping information in the signature. Can I also add revocation information in the signature e.g. OCSP response? But I'm facing a problem. I want to add revocation information in already created signature in PDF dur

Re: [iText-questions] Parse HTML tag problem

2007-05-23 Thread Paulo Soares
That's not supported. It will be, sometime. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kathy Lo > Sent: Wednesday, May 23, 2007 3:31 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Parse HTML tag problem

Re: [iText-questions] Table class [RTF]

2007-05-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of annamalai guruswamy > Sent: Wednesday, May 23, 2007 8:08 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Table class > > Hai, > > i have a problem with iText table cl

Re: [iText-questions] Difference between extraParagraphSpace andspaceBefore/spaceAfter

2007-05-23 Thread Paulo Soares
Consider a Paragraph with newlines inside. spaceBefore/spaceAfter will only happen once but extraParagraphSpace will happen with each newline. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mark Hall > Sent: Tuesday, May 22, 2007 6:08 PM

Re: [iText-questions] pdftk error

2007-05-23 Thread Paulo Soares
Pdftk uses a very old iText version. This particular bug was already fixed. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie (iText) > Sent: Wednesday, May 23, 2007 8:52 AM > To: Post all your questions about iText here > Subj

Re: [iText-questions] Java Heap Space / Images in PDF's

2007-05-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Martin > Sent: Tuesday, May 22, 2007 11:05 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Java Heap Space / Images in PDF's > > Hello all - > > I've been usin

Re: [iText-questions] performance of tiff implementation in itext

2007-05-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Pierre Jourdan > Sent: Wednesday, May 23, 2007 10:05 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] performance of tiff implementation in itext > > Hi, > > I was pro

[iText-questions] unsubscribe

2007-05-23 Thread Nitin Tomer
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre Jourdan Sent: Wednesday, May 23, 2007 2:35 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] performance of tiff implementation in itext Hi, I was profiling my application that

[iText-questions] performance of tiff implementation in itext

2007-05-23 Thread Pierre Jourdan
Hi, I was profiling my application that creates a pdf from multiple files (pdf, jpeg, tiff) using iText2.0.1 and I saw that lots of memory and cpu are spent in : com.lowagie.text.pdf.codec.TIFFLZWDecoder.initializeStringTable com.lowagie.text.pdf.codec.TIFFLZWDecoder.addStringToTable com.lowagi

[iText-questions] Java Heap Space / Images in PDF's

2007-05-23 Thread David Martin
Hello all - I've been using iText for years now but I've recently been having real difficulties with it. For years we've been using JBoss as our web server and iText as a PDF report generator and I've been quite happy with it. We recently upgraded to Java 1.5 and JBoss 4 and now I'm having memo

Re: [iText-questions] [iText] Getting the action for a field.

2007-05-23 Thread Bruno Lowagie (iText)
Stanley Bondi wrote: > Sorry to be asking so many questions, I really should start doing some work for myself now. That's difficult if people keep on asking questions... > Where can I get Bl with iText, I have seen other "Keys" but not Bl. I referred to my book (and so did you by the way). Have

Re: [iText-questions] [SPAM] PdfWriter with PdfCopy Capabilities

2007-05-23 Thread Bruno Lowagie (iText)
quantass wrote: > So the big question is: How can I dynamically create a PDF and then > concatenate files into that PDF while maintining the outlines and > annotations of that PDF. Since I'm making references in the Concatenated > files Its not a real option to create the dynamic PDF first and then

Re: [iText-questions] pdftk error

2007-05-23 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > Creating Output ... >Adding page 1 from 647931582_FINALAPP.pdf > Unhandled Java Exception: > java.lang.ClassCastException: com.lowagie.text.pdf.PdfNull cannot be > cast to com.lowagie.text.pdf.PdfDictionar y ><> Apparently you have a PDF with a value for a key t

Re: [iText-questions] [iText] Getting the action for a field.

2007-05-23 Thread Bruno Lowagie (iText)
Stanley Bondi wrote: > Thanks, I'll take look at the reference. > > > You are probably referring to MouseUp, Keystroke, Focus, Blur,... > > as described in chapter 15 of the iText book or section 8.5 in > > the PDF Reference (Tables 8.44, 8.45, 8.46, 8.47). > > Im not 100% sure how it works

Re: [iText-questions] [SPAM] Using PdfCopy with image results in "The document has no pages"

2007-05-23 Thread Bruno Lowagie (iText)
Hawk137 wrote: > I'm using PdfCopy to bring in a batch of disparate types to a destination PDF > file. I'm currently seeing a problem where PdfWriter works fine, but > PdfCopy (a subclass of PdfWriter) fails. This is documented: PdfCopy can only be used to assemble pages from different PDFs witho

[iText-questions] Table class

2007-05-23 Thread annamalai guruswamy
Hai, i have a problem with iText table class my code is Document document = new Document(); RtfWriter2.getInstance(document, new FileOutputStream("HelloWorld.rtf")); document.open(); Table table = new Table(1); document.add(table); document.close(); now the output is table with 2 rows. Thank