Module
Contents
Index 🔎︎

# 查找和替换

在当前文档中查找、替换文本及格式。

要访问此命令...

选择编辑 - 查找和替换

命令Ctrl
+H

在“标准栏”上，单击

查找和替换

## 查找

输入您想要查找的文本，或者从列表中选择一个之前的查找项。

Search options are listed under the Find box and in the Other options area of the dialog.

## 区分大小写

区分大小写字符。

## 整个单元格全字匹配

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

## 所有工作表

当前电子表格文件的所有工作表中查找。

## 替换

输入替换文字，或从列表中选择一个最近输入的替换文字或样式。

Replacement options are listed under the Find box and in the Other options area of the dialog.

## 查找全部

查找并选择要在文档（仅限 Writer 和 Calc 文档）中查找的文本或格式的所有实例。

## 查找上一个

Finds and selects the previous occurrence of the text or format that you are searching for in the document.

## 查找下一个

Finds and selects the next occurrence of the text or format that you are searching for in the document.

## 替换

替换查找到的选定文字或格式，然后查找下一处。

## 全部替换

Replaces all of the occurrences of the text or format that you want to replace. Repeat this command until all replacements on your slide have been made.

## 其它选项

Shows more or fewer search options. Click this label again to hide the extended search options.

## Current selection only

Searches only the selected text or cells.

## Replace backwards

Search starts at the current cursor position and goes backwards to the beginning of the file.

## 正则表达式

允许您在查找中使用通配符。

正则表达式列表

## Paragraph Styles / Including StylesCell Styles

Searches for text formatted with the style that you specify. Select this checkbox, and then select a style from the Find list. To specify a replacement style, select a style from the Replace list.

After you select the attributes that you want to search for, the Paragraph Styles box in the Other options area of the LibreOffice Writer Find & Replace dialog changes to Including Styles.

如果要查找其特性是使用直接格式和样式设置的文字，请选中包括样式框。

## 类似查找

Find terms that are similar to the Find text. Select this checkbox, and then click the Similarities button to define the similarity options.

## 匹配字符宽度（仅在启用亚洲语言后）

区分半角和全角字符。

## 同音（日语）（仅在启用亚洲语言后）

让您为在日语文本中使用的相似符号指定查找选项。选中此复选框，然后单击 ... 按钮以指定查找选项。

在日文中查找

## 注释

在 Writer 中，您可以选择在搜索时包括批注文本。

## Attributes

Choose the text attributes that you want to search for. For example, if you search for the Font attribute, all instances of text that do not use the default font are found. All text that has a directly coded font attribute, and all text where a style switches the font attribute, are found.

查找属性

## Format

查找指定的文字格式特征，例如字体类型、字体效果和文字方向等。

## No Format

Click in the Find or the Replace box, and then click this button to remove the search criteria based on formats.

The search criteria for formatting attributes are displayed under the Find or the Replace box.

## Direction

确定单元格查找的顺序。

### Rows

Searches from left to right across the rows.

### Columns

Searches from top to bottom through the columns.

## 查找位置

### Formulas

Searches for the characters that you specify in formulas and in fixed (not calculated) values. For example, you could look for formulas that contain 'SUM'.

### Values

查找您在数值和公式结果中指定的字符。

### Notes

搜索您在单元格批注中指定的字符。

## 关闭

关闭对话框并保存所有修改。

关闭查找和替换对话框后，通过按 Shift+CommandCtrl
+F 组合键，您仍然可以使用上一个输入的搜索条件进行搜索。

相关主题

在文本查找中使用通配符

正则表达式列表

在 Writer 中查找和替换