SOS: Help for generating Table of Contents

By: Ganesh - pganeshkumar
SOS: Help for generating Table of Contents
2005-01-03 12:05

I have a ToC as follows:

DEFINITIONS ?????????????????????. 3

I thought have 2 separate text fields for each line of ToC: one for the description part and the other for the page number.

I fixed the width for the description part as 375, left aligned and that for the page number as 50, right aligned.

The problem is that I am unable to get the alignment right for the description part, bcoz of the dots after each description.

I would like the dots to extend from the end of the text to the end of the trext field.

Any inputs would be most welcome. I am in a hurry as the deadline is fast approaching.

Thanks and regards,

By: CleverFool - cleverfool
RE: SOS: Help for generating Table of Content
2005-01-10 03:15
It is very simple.
Set X coordinates of both parts to some fixed value. Then add text field with dots and width equal to paper width. Add this field before both dynamic fields. Then set dynamic fields to be opaque (not transparent). All shoud work now perfectly.
2004 IR Help's picture
Joined: Aug 17 2006 - 3:49am
Last seen: 17 years 1 month ago

2 Answers:

can you tell me /post me code to create tabe of contents


vembu's picture
Joined: Jun 25 2009 - 1:47am
Last seen: 14 years 3 months ago



This thread is 4 years old. Nowadays we have the /demo/samples/tableofcontents sample provided with the JR project.


I hope this helps.


teodord's picture
Joined: Jun 30 2006 - 9:00am
Last seen: 2 days 14 hours ago