12 April 2014: The OpenOffice Wiki is not, and never was, affected by the heartbleed bug. Users' passwords are safe and wiki users do not need take any actions.

Creating a table of contents

From Apache OpenOffice Wiki
Jump to: navigation, search

Writer’s table of contents feature lets you build an automated table of contents from the headings in your document. Before you start, make sure that the headings are styled consistently. For example, you can use the Heading 1 style for chapter titles and the Heading 2 and Heading 3 styles for chapter subheadings.

Although tables of contents can be customized extensively in Writer, often the default settings are all you need. Creating a quick table of contents is simple:

  1. When you create your document, use the following paragraph styles for different heading levels (such as chapter and section headings): Heading 1, Heading 2, and Heading 3. These are what will appear in your table of contents. You can use more levels of headings, but the default setting is to use only the first three levels in the table of contents.
  2. Place the cursor where you want the table of contents to be inserted.
  3. Select Insert > Indexes and Tables > Indexes and Tables.
  4. Change nothing in the Insert Index/Table dialog. Click OK.

If you add or delete text (so that headings move to different pages) or you add, delete, or change headings, you need to update the table of contents. To do this:

  1. Place the cursor within the table of contents.
  2. Right-click and select Update Index/Table from the pop-up menu.
Documentation note.png If you cannot place your cursor in the table of contents, choose Tools > Options > OpenOffice.org Writer > Formatting Aids, and then select Enable in the Cursor in protected areas section.

You can customize an existing table of contents at any time. Right-click anywhere in it and select Edit Index/Table from the pop-up menu. Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies) of the Writer Guide describes in detail all the customizations you can choose.

Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools