Introduction: How to Create a Table of Contents in OpenOffice/LibreOffice

About: Linux user. Started out in 1979 with a TRS-80 with only 4K of RAM. Then went onto CP/M then DOS and after that Windows (Version 3.1). My last Windows was XP. Switched to Linux and never looked back. My father…

This is a tutorial in how to auto create a Table Of Contents (TOC) for your document using OpenOffice or LibreOffice with a few clicks.

If the completed document is exported as a HTML or PDF then the clickable links in the TOC will be preserved.

My example here will be with the public domain book A Princess Of Mars from which the movie John Carter came from.
This book was written by Edgar Rice Burroughs, the creator of Tarzan.

Step 1:

First create your document. All your TOC entries need be a Header. In this example I used Header3

Step 2:

Once my document is completed, I go to the location where I want to put my TOC.

Then I  click on Insert and then select Indexes and Tables and then click on second  Indexes and Tables

Step 3:

A window will open. Select the tab Entries

Step 4:

Since I was using Header3 for my chapter titles I selected Level 3.
Then I click the white space just left of E button
Then I clicked the Hyperlink button.

Once you click the Hyperlink button, a new button titled LS will appear Left of the E button. This is normal.

Step 5:

Now you need to click the white space to the right of the E button.
Then click your Hyperlink button.

Once you click the Hyperlink button, a  new button titled LE will appear right of the E button. This is normal.

Step 6:

Now click the OK button to create your TOC.

Step 7:

Here it is A Table Of Contents with clickable links.

Note: if you make any changes to your document that would change the start location of your chapters etc. You will then need to right click on your TOC and select Update Index/Table.

Step 8:

If you wish to export this document as a  PDF and retain the links in your TOC, then click your PDF button in your menu bar.
Or you can click on File and select Export as PDF

Step 9:

If you prefer, you can watch my video on how to Create a TOC in OpenOffice.