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

2007-05-22 Thread Felix Satyaputra
Hi All, Has anyone ever encountered this before? I am trying to make a List and add this list to a Cell within a Table. I then use RTF2Writer to generate the RTF document. Table table = new Table(1); table.setBorder(Table.NO_BORDER); table.setSpaceInsideCell(2.0f);

[iText-questions] Parse HTML tag problem

2007-05-22 Thread Kathy Lo
I use iText-1.4.2 and iText-1.4.8 HTMLWorker.parseToList() to parse the HTML text into PDF file. The HTML Text is so simple that it contains bold, underline, italic text and a simple table with 2 rows and 3 columns. The table attributes are: cellPadding=0 cellSpacing=0 border=1 width=60% I found

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

2007-05-22 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. Here's a small piece of code that replicates the problem: import java.io.*; import com.lowagie.text.*; impo

Re: [iText-questions] table of contents

2007-05-22 Thread Brian McKeever
On 5/22/07, Bruno Lowagie (iText) <[EMAIL PROTECTED]> wrote: > The option I would have used (and probably already proposed on the > mailing list in the past), [...] Thanks for the tip. It worked out pretty nicely. Brian - T

[iText-questions] pdftk error

2007-05-22 Thread Ray . Passmore
Installed itext jar (itext-2.0.2.jar) for use in Oracle DB. Used PDFTK before with no problems and using it in Korn scripts to repair PDF files. PDF merge script started to fail (below). Moved files to PC and duplicated the problem. It appears the files have some characteristic causing the

[iText-questions] PdfWriter with PdfCopy Capabilities

2007-05-22 Thread quantass
Hi, can anyone help me with this issue? Currently writing a program that creates a PDF dynamically and based on that concatenates some files at the end. There are also internal links (created with set local destination etc.) that point to the concatenated files. PdfReader reader = new PdfRea

Re: [iText-questions] working example of a JTable2Pdf?

2007-05-22 Thread Bill Ensley
>I am toiling on this since last few days especially on looping through. >Haven't yet settledown to find the exact width n heights with offsets to clip n show in different >pages. >Thats why I wanted to look through any existing example who had a similar need. Yes, I see that, I've followed the t

Re: [iText-questions] working example of a JTable2Pdf?

2007-05-22 Thread chandrajeet
I am toiling on this since last few days especially on looping through. Haven't yet settledown to find the exact width n heights with offsets to clip n show in different pages. Thats why I wanted to look through any existing example who had a similar need. Bill Ensley wrote: > > I'd like someon

Re: [iText-questions] working example of a JTable2Pdf?

2007-05-22 Thread Bill Ensley
I'd like someone to write my program for me too. -Bill Ensley www.bearprinting.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chandrajeet Sent: Tuesday, May 22, 2007 12:57 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] work

[iText-questions] working example of a JTable2Pdf?

2007-05-22 Thread chandrajeet
Can someone give me a working example of a JTable2Pdf with the JTable having 1. at least 200 columns 2. A 1000 rows 3. Headers should appear in each page 4. With Color and components like( JCheckBox etc ) inside a cell 5. With Margins 6. Page numbers, date(if possible) at the footer Note: Unfor

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

2007-05-22 Thread chandrajeet
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-format-tf3796835.html#a10744768 Sent from the iText - General mailing list archive at Nabble.com. --

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

2007-05-22 Thread chandrajeet
Oh I just put the tepmplate part to notify the audience, Here is the full block of code. PdfWriter writer = PdfWriter.getInstance( document, new FileOutputStream( "jTable.pdf" ) ); document.open(); PdfContentByte cb = writer.getDirectContent(); PdfT

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

2007-05-22 Thread Bruno Lowagie
Stanley Bondi wrote: > Using the iTextSharp API, > I can get the acrofields and I can get the javascript in the PDF, > I want to find the javascript event handler name for a field in a acroform. You can get the javascript (1) You can't find the javascript event handler (2) > Im assuming that java

Re: [iText-questions] RTF List: Spacing and Bullet Symbol

2007-05-22 Thread Mark Hall
On Monday 21 May 2007, Felix Satyaputra wrote: > I've attached the source with this email just in case > someone wants to try the same thing. I'm happy to > supply a patch the changes is deemed useful enough to > go into iText itself. If you could provide a patch that would be greatly appreciated.

[iText-questions] Difference between extraParagraphSpace and spaceBefore/spaceAfter

2007-05-22 Thread Mark Hall
Hi, what's the difference between extraParagraphSpace and the spaceBefore/spaceAfter methods? Greetings, Mark -- Q: Why should you always serve a Southern Carolina football man soup in a plate? A: 'Cause if you give him a bowl, he'll throw it away. My GPG public key is availa

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

2007-05-22 Thread Leonard Rosenthol
On May 22, 2007, at 12:38 PM, Bruno Lowagie wrote: > If a PDF is embedded in an HTML file, in other words: > if the PDF is opened in the Adobe Reader plug-in, and > if you have added a message handler inside the PDF, > you can establish a communication between the JS in > the HTML page and the JS i

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

2007-05-22 Thread Bruno Lowagie
chandrajeet wrote: > Hi All, > > I have a fairly big Jtable with more than 100 columns in it. How can I > create a printable PDF version from it. THe current version of > iText(JTable2PDf) doesn't generate it right. It trims after 4 or 5th column. > Also no headers comes in. > I am afraid that I

Re: [iText-questions] Display mathematical formula using iText

2007-05-22 Thread Bruno Lowagie
Basco, John X wrote: > I am experimenting with iText to create pdf documents that has > mathematical formula’s such as square root of (x^2 + y^2 ) etc. Could > you please point to the right direction. I have read your book iText in > action. iText is not TeX. In TeX you have operators to d

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

2007-05-22 Thread Bruno Lowagie
Stanley Bondi wrote: > I would like to know if there is a way to get the javascript method > called by a field event (eg OnValidate). > I would like to call the validation function for a field from a C# > applcation (without knowing what that function is). I don't understand the question. If a P

Re: [iText-questions] JVM out of memory when processing file

2007-05-22 Thread Alastair Gregory
I resolved this by upgrading my JVM to the latest Sun version (1.6) and now it runs to completion with default JVM settings. Alastair Gregory wrote: I'm using iText merging six PDFs approx. 3.7MB each, into a single output document. When running on Linux (Fedora Core 6) using the Fedora "gij"

[iText-questions] JVM out of memory when processing file

2007-05-22 Thread Alastair Gregory
I'm using iText merging six PDFs approx. 3.7MB each, into a single output document. When running on Linux (Fedora Core 6) using the Fedora "gij" JVM at Java version1.4.2 I get a crash on closing the output document: ExceptionConverter: java.io.IOException: Cannot allocate memory at gnu.java.

[iText-questions] Display mathematical formula using iText

2007-05-22 Thread Basco, John X
Dear Mr. Bruno Loagie, I am experimenting with iText to create pdf documents that has mathematical formula's such as square root of (x2 + y2) etc. Could you please point to the right direction. I have read your book iText in action. Thanks John Basco [EMAIL PROTECTED] --

[iText-questions] converting JTable into pdf format

2007-05-22 Thread chandrajeet
Hi All, I have a fairly big Jtable with more than 100 columns in it. How can I create a printable PDF version from it. THe current version of iText(JTable2PDf) doesn't generate it right. It trims after 4 or 5th column. Also no headers comes in. I am afraid that I can create a PdfPTable from thi

Re: [iText-questions] Jtable2PDF: missing column names and pagination

2007-05-22 Thread chandrajeet
Where do I get this example solution, the messageArchive(38297191 ) takes me to a junk page. Could you paste the solution here pls. Agarwal, Sunil [CIB-IT] wrote: > > Is this the example you are referring to? It may be a stupid question , > but just wanted to confirm and trying to avoid spendin

[iText-questions] converting JTable into pdf format

2007-05-22 Thread chandrajeet
Hi All, I have a fairly big Jtable with more than 100 columns in it. How can I create a printable PDF version from it. THe current version of iText(JTable2PDf) doesn't generate it right. It trims after 4 or 5th column. Also no headers comes in. I am afraid that I can create a PdfPTable from thi

Re: [iText-questions] table of contents

2007-05-22 Thread Bruno Lowagie (iText)
Brian McKeever wrote: > Hello all, > > My pdf has bookmarks, but the customer would like it to have a table > of contents so that they can navigate the document even when it's in > paper form. I'd like to form lines where the name of the section is > aligned left, the page number is aligned right

Re: [iText-questions] Drwa a line with only dots!

2007-05-22 Thread Bruno Lowagie (iText)
Eric Summkeller wrote: > I draw the border of a PdfPCell with the cellLayout() method of a > PdfPCellEvent. To draw the lines I use the setLineDash() method. My question > is which parameters should I use to draw a line with only dots? That's a good question, and the answer is surprisingly easy

Re: [iText-questions] PdfContentByte Problems

2007-05-22 Thread Bruno Lowagie (iText)
Heather Richardson wrote: > The page numbers are working correctly, however the table is not > displaying correctly. I'm not sure what I did wrong but I have a feeling > it has something to do with the ContentByte. I used examples given on > your website to get this far and I'm sure I just have