Make a Custom Table of Contents Available by Default in Word
Question details
Make a table of contents that recognizes custom heading styles available for reuse without displaying one in the document template.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Documents based on a template use custom heading styles that should appear at specified table-of-contents levels.
- Observed behavior
- The desired result is a reusable table of contents with custom style mappings that can be inserted when needed.
Open Word in the desktop app and check that the custom heading styles exist in the document or template. Decide which table-of-contents level each style should use.
Save a Custom Table of Contents as a Reusable Building Block
Use this approach to keep the configured table available for insertion without placing it in the template's document body.
Word stores the style mappings in the table-of-contents field. Saving that field as a building block lets you reuse the mappings, but it does not change the settings used by every standard table-of-contents command.
Open a document based on the template and apply the custom heading styles to sample headings using Home > Styles.
Go to References > Table of Contents > Custom Table of Contents, then select Options. Enter a TOC level number next to each custom style and remove any unwanted level assignments.
Select OK in the options and table-of-contents dialogs to insert the configured table into the test document.
Select the entire table of contents, then choose Insert > Quick Parts > Save Selection to Quick Part Gallery. Give it a name, choose an appropriate gallery, and save it in an available template or building-block file.
In a document that has the saved building block available, insert it from Insert > Quick Parts or the gallery you selected. Click the table and choose Update Table to populate it with the current document's headings.

Create Tables of Contents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for a smooth move between office suites. WPS Writer can create tables of contents, although it does not change Word's building-block settings.

Frequently Asked Questions
Can I keep the template free of a visible table of contents?
Yes. Create the table in a test document and save it through Insert > Quick Parts > Save Selection to Quick Part Gallery. Users can insert the saved table when they need it.
Why aren't my custom headings appearing in the table of contents?
Check that the headings use the intended styles under Home > Styles. Then open References > Table of Contents > Custom Table of Contents > Options and assign each custom style a TOC level.
Will the standard Word table-of-contents command automatically use my saved mappings?
Not necessarily. The mappings are stored in the configured table-of-contents field. Insert the saved building block to reuse that field and its mappings.
How do I refresh the table after editing headings?
Click the table of contents and select Update Table. Choose to update the entire table if headings or their text have changed.




