The best way to generate a table of contents is to apply the predefined heading paragraph styles, such as &quot; Heading 1 &quot; , to the paragraphs that you want to include in your table of contents. After you apply these styles, you can then create a table of contents.
生成目录的最佳方式是：对要包括在目录的段落应用预设的标题段落样式（如“标题 1”）。应用这些样式之后，就可以开始创建目录。