For right-to-left langauges, Word can do this automatically. For
left-to-right languages, you can use the following trick:
Insert a two-column, one-row table, without border lines.
Insert two tables of contents, one in each cell. In the left cell, map the
headings to lower-level TOC entries. For example, map Heading 1 to TOC level
7, Heading 2 to TOC level 8, and Heading 3 to TOC level 9. Change the left
indent for the corresponding TOC styles to, say, -10 cm and the right indent
to 10 cm; that way, the text will disappear into the left margin of the cell
(adjust the measurements if necessary). Set a tab stop at the right margin
of the cell for the page number.
In the right cell, just insert the TOC as usual; the page numbers will
disappear into the right margin.
Note that since the TOC styles are set to automatically update, you can set
tab stops and indents directly in the text (as direct formatting) for each
entry; it will then automatically be incorporated into the styles.
See also the "Using the TOC Options" section of the article at
http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm. Even more information can be
found at
http://word.mvps.org/faqs/formatting/TOCSwitches.htm.
--
Stefan Blom
Microsoft Word MVP
in message
news
[email protected]...