Click in a word, or select the words in your document that you want to use as an index entry.
Choose, and do one of the following:
To change the text that appears in the index, type the text that you want in the Entry box. The text that you type here does not replace the selected text in the document.
To hide the variable in your document, select \<emph\>Invisible\</emph\>.
To save a line styles file, click the \<emph\>Save Line Styles\</emph\> button, enter a filename, and then click \<emph\>OK\</emph\>.
The best way to generate a table of contents is to apply the predefined heading paragraph styles, such as "Heading 1", to the paragraphs that you want to include in your table of contents. You can also use custom paragraph styles, so long as you assign them one of the predefined outline levels.
Choose Numbering tab.and click the
Select the paragraph style that you want to include in your table of contents in the \<emph\>Paragraph Style\</emph\> box.
In the \<emph\>Level\</emph\> list, click the hierarchical level that you want to apply the paragraph style to.
Click \<emph\>OK\</emph\>. You can now apply the style to headings in your document and include them in your table of contents.