查找与替换

目录

# Find & Replace

Finds or replaces text or formats in the current document.

要访问此命令...

#### From the menu bar:

Choose Edit - Find & Replace.

#### From toolbars:

查找与替换

#### From the keyboard:

CommandCtrl + H

## 查找

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

查找选项位于「查找」框下方的「其他选项」区域。

### 区分大小写

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

Disable this option to consider all possible case matches. For example, entering "a" in the Find box matches both "a" and "A".

Be aware that some characters may have more than one match when Match case is disabled. For instance, "s" matches "s", "S" and "ß" (sharp S used in the German language).

### 已格式化的显示

搜索时包含格式化为字符的数字。

### Entire Cells Whole words only

Searches for whole words or cells that are identical to the search text.

### All sheets

Searches through all of the sheets in the current spreadsheet file.

## 替换

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

替换选项位于对话框中「查找」框下方的「其他选项」区域。

## 查找全部

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

## 查找上一个

查找并选中文档中上一处符合查找条件的文字或格式。

## 查找下一个

查找并选中文档中下一处符合查找条件的文字或格式。

## 替换

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

## 全部替换

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.

## 其它选项

显示更多或更少查找选项。再次点击该标签可隐藏展开的查找选项。

### 仅在当前选中范围内

仅在选中的文本或单元格内查找。

### 向后替换

从当前光标所在位置开始查找，并向文件开头的方向继续查找。

### 注释

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

### Regular expressions

Allows you to use regular expressions in your search.

正则表达式列表

### Paragraph Styles / Including Styles Cell Styles

查找使用您指定的样式排版的文本。选择此复选框，然后从「查找」列表中选择一个样式。要指定用来替换的样式，请从「替换」列表中选择一个样式。

## 类似查找

查找与「查找文本类似的条目。选中此复选框，然后点击 ...」按钮以定义类似选项。

### 匹配全角/半角 (仅在启用亚洲语言后)

Distinguishes between half-width and full-width character forms.

### 模糊查找 (日语) (仅在启用亚洲语言后)

Lets you specify the search options for similar notation used in Japanese text. Select this checkbox, and then click the Sounds button to specify the search options.

在日文中查找

### Diacritic-sensitive

Searches exact match, does not include Unicode combining marks in search. For example, searching for كتب will not match كَتَبَ or كُتُب or كتِب and so on.

### Kashida-sensitive

Searches exact match, does not include Arabic Tatweel mark U+0640 (also known as Kashida) in search. For example, searching for كتاب will not match كـتاب or كتــــاب and so on.

## Attributes

Choose the text attributes that you want to search for. For example, if you select the Outline attribute, then all characters formatted manually with an Outline effect are found. If you also want to find characters with an Outline effect as part of a style, then select Including styles in the Other Options section, before searching.

查找属性

## Format

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

After you select format and attributes that you want to search for, the Paragraph Styles checkbox in the Other options area changes to Including Styles. Select this checkbox if you want to include search for formatting and attributes set by styles.

## 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 and replace criteria selected for Format and Attributes are displayed under the Find and Replace boxes.

## Direction

Determines the order for searching the cells.

### Rows

Searches from left to right across the rows.

### Columns

Searches from top to bottom through the columns.

## Search in

### 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

Searches for the characters that you specify in values and in the results of formulas.

### Comments

Searches for the characters that you specify in the comments that are attached to the cells.

### 关闭

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

After you close the Find & Replace dialog, you can still search using the last search criteria that you entered, by pressing Shift+CommandCtrl+F.

相关主题

在文字搜索中使用正则表达式

正则表达式列表

在 Writer 中查找与替换