1. Open the Word document and place the cursor where you want to insert the directory.
2. In the top menu bar of Word, find the "References" tab. Click the Content button under the References tab.
3. Select a predefined directory style in the pop-up menu. If you are not satisfied, you can choose a custom directory for more custom settings.
After completing the above steps, Word will automatically create a table of contents entry according to the title and page number in the document, and insert the table of contents into the document.