目录

# Insert or Edit Index Entry

Marks the selected text as index or table of contents entry or edits the selected index entry.

要访问此命令...

Insert:

选择「插入 - 目录与索引 - 索引条目」

打开「插入」工具栏，点击

Insert Index Entry

Edit:

Place the cursor in front of the index field, then choose Edit - Reference - Index Entry...

or right-click to open context menu - choose Edit Index Entry

You can leave the Insert Index Entry and Edit Index Entry dialogs open while you select and insert or edit entries.

## 索引

Select the index that you want to add the entry to.

When editing an index entry, displays the type of index that the selected entry belongs to. You cannot change the index type of an index entry in this dialog. Instead, you must delete the index entry from the document, and then insert it again in a different index type.

## 新建自定义索引

打开「创建新的自定义索引」对话框，您可以使用此对话框创建自定义索引。

New User-defined Index

### 名称

输入新建的自定义索引的名称。新建的索引将被加入可用的索引与目录列表中。

## 条目

显示文档中选中的文字。如果需要，可以为索引条目输入不同的词。文档中选中的文字不会被修改。

Or, edit the index entry if necessary. When you modify the index entry, the new text only appears in the index, and not at the index entry anchor in the document. For example, you can enter an index with comments such as "Basics, see also General".

## Update entry from selection

Click the icon to update Entry with the current text selection in the document.

Update Entry from Selection

## 第一个关键字

将当前选中的内容作为您在此处输入的词的子条目。例如，如果您选择「cold」并输入「weather」作为第一个关键字，则索引条目为「weather, cold」。

## 第二个关键字

将当前选中的内容作为第一个关键字的第二级子条目。例如，如果选择「cold」，并输入「weather」作为第一个关键字，「winter」作为第二个关键字，则索引条目为「weather, winter, cold」。

## 语音描述

输入相应条目的语音描述。例如，日语汉字有一个以上的发音，可以用片假名输入正确发音。日语汉字之后会根据此语音描述条目进行分类。此选项仅在启用亚洲语言支持时可用。

## 主条目

将选中的文字作为字母顺序索引中的主条目。LibreOffice 在索引中以与其他条目不同的格式显示主条目的页码。

## Index level

Specify the index level for the inserted index entry.

此选项仅适用于目录和自定义索引条目。

## For Selected Entry

The following three options are available when a text selection is loaded in Entry, either by selecting the text in the document and then opening the dialog, or by using Update entry from selection in the dialog.

### Apply to all other occurrences

Automatically marks all other occurrences of the selected text in the document. For a modified entry, the match is conducted on the original selection, but the modified entry is inserted as the index entry. Text in headers, footers, and frames is not included.

#### 全字匹配

查找与查找文本相同的整个单词或单元格。

#### 区分大小写

Matches the exact character provided in the Find box without considering any alternative case matches.

要将文字段落中的每次出现都包含在索引中，请选择文字，然后选择「编辑 - 查找与替换」，并点击「查找全部」。然后选择「插入 - 目录与索引 - 索引条目」，并点击「插入」。

## 插入

在文字中标记索引条目。

## 关闭

关闭对话框。

## Delete

Deletes the selected entry from the index. The entry text in the document is not deleted.

The following navigation buttons are only available in the Edit Index Entry dialog.

## Previous entry (same name)

Jumps to the previous index entry with the same entry and type as the current index entry.

Previous entry (same name)

## Next entry (same name)

Jumps to the next index entry with the same entry and type as the current index entry.

Next entry (same name)

## Previous entry

Jumps to the previous index entry of the same type in the document.

Previous entry

## Next entry

Jumps to the next index entry of the same type in the document.

Next entry

You can jump quickly to index entries with the Navigation Bar.

相关主题

使用目录与索引