目录

# Index (table of contents)

当选择「目录」作为索引类型时，可以使用以下选项。

要访问此命令...

选择「插入 - 目录与索引 - 目录、索引或参考文献 - 类型」选项卡 (当选中类型为「目录」时)

## 类型和标题

指定索引的类型和标题。

### 标题

输入选中索引的标题。

### 类型

Select the type of index that you want to insert or edit. The options available on this tab depend on the index type that you select. If the cursor is in an index when you choose the Insert - Table of Contents and Index - Table of Contents, Index or Bibliography, you can then edit that index.

### 防止手动修改

防止修改索引内容。当刷新索引时，将丢失对索引所做的手动修改。如果要使光标在受保护的区域中滚动，请选择「LibreOffice - 偏好设置工具 - 选项 - LibreOffice Writer - 格式化辅助」，然后在「保护区域」段落选择「启用光标」复选框。

## Create Index or Table of Contents

### For

选择是为文档还是为当前的章创建索引。

### Include up to level

Specify the maximum outline level for a paragraph, specified in Create from, to be included in the index.

## 创建自

使用此区域来指定要在索引中包括的信息。

### Headings

Creates the index using headings levels. Any paragraph with a heading level less than or equal to the heading level specified in Include up to level is included in the index.

Paragraphs formatted with one of the predefined paragraph styles (“Heading 1–10”) have an outline level that corresponds to the number in the paragraph style. You can also assign outline levels to paragraphs in the Outline & List tab page of the Format - Paragraph dialog.

LibreOffice creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Heading Numbering dialog will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents.

### 其他样式

Includes paragraphs with the paragraph styles specified in the Assign Styles dialog as index entries. To select paragraph styles, click the Assign Styles button to the right of this option.Assigned paragraph styles must have an outline level less than or equal to the value specified in Include up to level to be included in the index.

Use “Additional Styles” to include paragraphs in the Table of Contents with the “Figure Index Heading” or “Bibliography Heading” paragraph style, as well as any other relevant paragraph style.

### 指定样式

Opens the Assign Styles dialog, where you can select paragraph styles to include in the index. Choose a desired index level for where a style will be displayed in the index.

### Index entries

Choose this option to include index entries inserted in the document with Insert - Table of Contents and Index - Index Entry in the generated index.

相关主题

Index (user-defined)