Hi all,
I've been asked to adjust our PDF generated table of contents to carry a dotted line the width of remaining space.
Before:
1.1 Preface 1
After:
1.1 Preface.........................................................................1
There are however many different lengths of text making the dot length vary considerately. Since the size of dots and all characters are different, I'm finding it very difficult to do this. Does anyone think they know a way how to solve this problem? Maybe adding dots until the program notices a page break? Any suggestions would be great.
Thanks,
Kurt
