Re: [ujac-support] TOC Question
Brought to you by:
lauerc
|
From: Christian L. <chr...@gm...> - 2004-08-18 06:16:14
|
Hi Brian, currently only sections and chapters are supported, because it's a little tricky to get the position of an element out of iText. The problem is that the position is generated when each object is written by the document writer, so you have to handle events that iText creates to get the positions of each element. This event handling is very specific for the different interesting elements. To enable this for these elements (paragraph, cell, etc), I'll implement a solution similar to the <outline> tag. The name of the tag will be <toc-item>. Here's an example of what it could look like: <cell><toc-item level="1" number="1">Title</toc-item>Cell contents</cell> I'll let you know when I've finished this stuff. Best regards, Christian On Tue, 2004-08-17 at 14:08, Brian Campbell wrote: > Hi, > > I've got a question regarding the TOC feature in the UJAC Print library. > I've built a report that I want but now I want to add a TOC to the front of > the report. The doc/examples are very fuzzy when it comes to the TOC > feature(s). I'm building a PDF that is a report so it doesn't have chapters > or sections. Is it possible to build a TOC without chapters/sections? > Thanks in advance! > > -Brian > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > ujac-support mailing list > uja...@li... > https://lists.sourceforge.net/lists/listinfo/ujac-support -- Christian Lauer <chr...@gm...> |