Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Defining Index or Table of Contents Entries

To Define Index Entries

  1. Click in a word, or select the words in your document that you want to use as an index entry.

  2. Choose Insert - Table of Contents and Index - Index Entry, 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 add an index mark to similar words in your document, select Apply to all similar texts.
  • To add the entries to a custom index, click the New User-defined Index icon, enter the name of the index, and then click OK.

To Define Table of Contents Entries

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.

To Use a Custom Paragraph Style as a Table of Contents Entry

  1. Choose Tools - Chapter Numbering and click the Numbering tab.

  2. Select the paragraph style that you want to include in your table of contents in the Paragraph Style box.

  3. In the Level list, click the hierarchical level to which you want to apply the paragraph style.

  4. Click OK. You can now apply the style to headings in your document and include them in your table of contents.

Office creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non-breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Chapter Numbering dialogue box will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents.