Re: [iText-questions] Table of Contents

2011-04-18 Thread Colin Cheng
You should call PdfReader's consolidateNamedDestinations() in advance. On Mon, Apr 18, 2011 at 12:59 AM, meziano wrote: > Hello, > Using itext 5.0.4 I succed to do the following steps: > -generate a "dynamic" main-document in memory ("dynamic" means here with > an > uknown number of pages) > -a

Re: [iText-questions] Table of Contents

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 9:59, meziano schreef: > I must mention, that I used the method setLocalDestination(destination) > while generating the main-document, and setLocalGoto(destination) while > generating the ToC-document. So you're using setLocalDestination(destination) in a document X.pdf, and you're us

Re: [iText-questions] table of contents using htmlworker

2008-12-09 Thread 1T3XT info
Andrea Conti wrote: > Could you suggest a way to do this? Maybe, capture the elements as I add > them to the column text and then create the ToC manually. Is there any > gotcha with trying to read the element type as I pull it from the > htmlworker? HTMLWorker gives you an ArrayList of Element

Re: [iText-questions] table of contents using htmlworker

2008-12-09 Thread Andrea Conti
1T3XT info wrote: > Andrea > Conti wrote: >> Is it possible to create a table of contents using, for example, the H2 >> html tag? I don't see it in the book and I am hoping it is in the main >> tool or that someone has modified it to do that. > > No. That is unfortunate. Could you suggest a wa

Re: [iText-questions] table of contents using htmlworker

2008-12-07 Thread 1T3XT info
Andrea Conti wrote: > Is it possible to create a table of contents using, for example, the H2 > html tag? I don't see it in the book and I am hoping it is in the main > tool or that someone has modified it to do that. No. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://ww

Re: [iText-questions] Table of Contents

2008-06-02 Thread Bruno Lowagie
Chris Bourke wrote: > > I've added sections and subsections (cool auto-numbering by the way) to a > document and I now want to insert a table of contents. After searching > around I could only find one reference that said it was difficult and you > needed to know the number of pages in advance

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

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] Table of contents in pdf!

2007-03-02 Thread Bruno Lowagie
Eric Summkeller wrote: > - How could I found the Paragraph with the special character combination? That may prove to be very difficult if not impossible. Why didn't you add a(n invisible) annotation instead? Annotations contain coordinates. > - How could I change this Paragraph through the new Pa

Re: [iText-questions] Table of contents - RTF

2006-12-03 Thread Mark Hall
On Thursday 30 November 2006 22:23, Henry Lu wrote: > To generate TOC in RTF, does each item in the TOC have to be a new Chapter? > For example, I have 10 different categories; each has its own items. What > I'd like to do is to list these 10 categories in the TOC. Can we do that? http://itextdocs.

Re: [iText-questions] table of contents - RTF

2006-12-01 Thread Henry Lu
rom: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Henry >Lu >Sent: Friday, December 01, 2006 2:47 PM >To: Post all your questions about iText here >Subject: Re: [iText-questions] table of contents - RTF > > >Thank you very much! But what is > >chapterNumber? How do

Re: [iText-questions] table of contents - RTF

2006-12-01 Thread Smiley, Stuart A.
: Re: [iText-questions] table of contents - RTF Thank you very much! But what is chapterNumber? How do you createed/got this value? -Henry Smiley, Stuart A. wrote: >Henry, > >This is working for me using itext-1.4.7: > >Paragraph toc = new Paragraph(); >paragraph.add((new

Re: [iText-questions] table of contents - RTF

2006-12-01 Thread Henry Lu
Thank you very much! But what is chapterNumber? How do you createed/got this value? -Henry Smiley, Stuart A. wrote: >Henry, > >This is working for me using itext-1.4.7: > >Paragraph toc = new Paragraph(); >paragraph.add((new RtfTableOfContents( >"RIGHT CLICK HERE AND SELECT \"UPDATE FIELD\

Re: [iText-questions] table of contents - RTF

2006-12-01 Thread Smiley, Stuart A.
Henry, This is working for me using itext-1.4.7: Paragraph toc = new Paragraph(); paragraph.add((new RtfTableOfContents( "RIGHT CLICK HERE AND SELECT \"UPDATE FIELD\" TO UPDATE"))); document.add(toc); // for each chapter Chunk titleChunk = new Chunk("Some Chapter Title",chapterFont)

Re: [iText-questions] Table of Contents creating using itext.jar

2006-11-10 Thread Bruno Lowagie (iText)
This bounced. Sorry if it was already posted. Bis repetitia placent ;-) Bruno Lowagie (iText) wrote: > Khan, Aziz wrote: >> Hi all, > > The question was sent to the mailing list owner, > not to the mailing list. It is hereby forwarded. > >> How do I print table-of-contents like format? >> >> Int

Re: [iText-questions] table-of-contents format

2006-10-06 Thread Henry Lu
Sorry about that. RTF. -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>How do I print table-of-contents like format? >> >>Introduction Page 1 >>Chapter 1Page 2 >>Chapter 2

Re: [iText-questions] table-of-contents format

2006-10-06 Thread Bruno Lowagie
Henry Lu wrote: > How do I print table-of-contents like format? > > Introduction Page 1 > Chapter 1Page 2 > Chapter 2Page 15 > ... Using a table.

Re: [iText-questions] Table of contents

2006-09-21 Thread Bruno Lowagie
Gautier, Charles wrote: > Hi Bruno and thx for your response, the index gets correctly generated. > > As I need to generate a table of contents that end-users would expect to find > at the second or third page of the document, would you have any idea how can > I "insert" the index in the documen

Re: [iText-questions] Table of contents in compilation pdf

2005-03-05 Thread Paul . Krasucki
I am not sure what are Blackberry's limitations. Will try to find out. This is something that came up from one of our clients and we tested it and indeed this is the case. The bottom line is that on 'good' pdfs after I go to Table of contents --> Full document I see full document. In case of my mod

Re: [iText-questions] Table of contents in compilation pdf

2005-03-05 Thread Paulo Soares
I've also no idea of the limitations. Maybe you should post one of those pdfs and tell us what shows up in Blackberry. - Original Message - From: <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Saturday, March 05, 2005 8:32 PM Subject: Re:

Re: [iText-questions] Table of contents in compilation pdf

2005-03-04 Thread Paulo Soares
What are the limitations of your pdf viewer? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, March 04, 2005 6:38 PM Subject: [iText-questions] Table of contents in compilation pdf I create new pdf from a bunch of existing pdfs (first pdf has a bookmark in it, I inser

RE: [iText-questions] Table of Contents

2004-06-17 Thread Paulo Soares
I'll include a simple TOC example in the next iText release. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Lee Backstrom > Sent: Wednesday, June 16, 2004 6:37 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions]

RE: [iText-questions] Table of Contents

2004-03-12 Thread Paulo Soares
] Sent: Thursday, March 11, 2004 10:23 PMTo: Paulo SoaresSubject: RE: [iText-questions] Table of Contents Thanks!   I found your example for reordering the pages, but with making my TOC at the end, how do I know what element is on what page?  ie, If I have set text coming from

RE: [iText-questions] Table of Contents

2004-03-11 Thread Paulo Soares
There's no automatic TOC but you can make your own. You can even put the TOC at the end of the document and then reorder the pages to move it to the first pages. See the examples in itextpdf.sf.net.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O