Open your document in OpenOffice 3.2.
Highlight the first heading that you would like to include in your table of contents.
Click Insert in the toolbar at the top of the screen and scroll to find Indexes and Tables.
In the screenshot below, note that the window has popped up. Check that the text which you would like to set as your heading is in the box labeled Entry and that the level is marked 1.
Click Insert to set this text as a heading.
Notice that in the screenshot below, the heading has a gray shadow. With the dialog box open, select your next heading.
You will see that the text in the Entry box has been replaced with the text for the second heading. Select insert to create this heading. Follow steps 2–8 to identify the remaining headings.
Once you have identified all of the headings, close the dialog box.
Under the Insert menu, select Indexes and Tables and then Indexes and Tables.
In the screenshot below, a window has popped up. Select Table of Contents in the Type menu and type the name of your table of contents.
In the screenshot below, you will see a table of contents added at the beginning of the document. To separate the table of contents, simply click below the table of contents and select Page Break from the Insert menu.