×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

$home.properties.pagetreeHeading.asText

Creating a table of contents

Thomas Rough

Thomas Rough Last update: Feb 28, 2019

Another important navigation element is a table of contents (TOC) – a list of all the headings in your document.

Add a table of contents

  1. In Word, select References > Table of Contents Insert Table of Contents
  2. Choose one of the automatic table of contents provided by Word  e.g. Classic
    You will then get a message from Microsoft Word, asking if you want to create a table of contents.
  3. After you click OK, the message No table of content entries found is displayed in your template, because there aren't yet any content elements which could be listed there

Style table of contents

You can now edit the appearance of your table of contents:

  1. In the Word template, highlight the inserted Table of Content and select References > Table of Contents > Custom Table of Contents
  2. The Table of Contents dialog box will then appear and you can begin to format the inserted Table of Content
  3. Click Modify in order to define the styling for the TOC heading levels
  4. For each TOC heading level you can change the font, font size, color and other properties. For example, by choosing TOC 1 and then selecting Modify, you can style how heading level 1 of the Table of Contents will be formatted. 
    For detailed information, see Microsoft Office Help.
  5. Repeat steps 3 to 4 for the other TOC heading level styles and then select OK. You will then need to confirm that you wish to Replace this table of Contents
  6. Save the Word template

If you later export a page with some headings, the table of contents will be populated with the headings of the defined heading level.

Get your exported Confluence content in the right place

By default, Scroll Word Exporter places your exported Confluence content at the beginning of the document. Of course, in this case, you would not want to the content to begin before this structural element.

To avoid this happening, insert the placeholder $scroll.content in the position where you want the content to start.

2x$versions.current.name
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok