I'd like to get a Table of Contents to flow in 2 columns ... listing links down left column first then continuing the list down the right column before going on to the next page. Something like this:
First topic ........ 1 TwentyFirst topic ....... 102 Second topic ..... 3 TwentySecond topic ... 108 Third topic ........ 5 TwentyThird topic ....... 117 Fourth topic ....... 7 TwentyFourth topic ..... 119 Fifth topic .......... 9 TwentyFifth topic ........ 130 etc... Twentieth topic ...98
--- end of page here --
Thirtieth topc ... 215 Fortifirst topc ........... 315 Thirtifirst topic .. 220 Fortysecond topic ..... 320 etc
I currrently have a STYLE defined that will display the table of contents in a single narrow column
// Create a new style called TOC based on style Normal style = document.Styles.AddStyle("TOC2", "Normal"); style.Font.Name = "Arial Narrow"; style.Font.Size = 6; style.ParagraphFormat.AddTabStop("2cm", TabAlignment.Left, TabLeader.Dots); style.ParagraphFormat.AddTabStop("8cm", TabAlignment.Right); style.ParagraphFormat.Font.Color = Colors.Blue;
Is there a way to flow the paragraph or is there a different approach?
thanks.
|