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
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
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
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
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
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
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
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
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
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.
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
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
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\
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)
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
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
Henry Lu wrote:
> How do I print table-of-contents like format?
>
> Introduction Page 1
> Chapter 1Page 2
> Chapter 2Page 15
> ...
Using a table.
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
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
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:
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
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]
] 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
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
24 matches
Mail list logo