Re: [iText-questions] Horizontal Rule

2004-10-12 Thread Simon Brunning
On Tue, 12 Oct 2004 11:11:06 +1000, Julie Russell <[EMAIL PROTECTED]> wrote: > How do I do a horizontal rule like in HTML in PDF using iText? This works for me: Graphic horizontalLine = new Graphic(); horizontalLine.setHorizontalLine(1, 100); document.add(horizontalLine);

[iText-questions] Generating a table of contents

2004-09-28 Thread Simon Brunning
I'm attempting to generate a table of contents (ToC) for my document. I *think* I've got the right general approach, but I'm having trouble with some of the details. That I'm *trying* to do is to keep a note of each chapter and section as they are added to the document, to generate the ToC page, t

[iText-questions] Chaper/Section headings and bookmark labels

2004-09-21 Thread Simon Brunning
I've recently started using iText, having finally managed to convince the managment that StyleReport, the tool that we had been using for some terrible reason, was effectivly unusable. I'm finding using iText a real pleasure. It just *works*. Thanks to all those involved in its creation! I do have

Re: [iText-questions] how to hide table and cell borders

2004-09-17 Thread Simon Brunning
> From: chnarayana murthy <[EMAIL PROTECTED]> > > hi, > can anyone let me know how to hide border of table and borders cells inside table. > this table is in generated pdf using iText api. PdfPTable table; PdfPCell currentCell; table = new PdfPTable(2); current