Module
Contents
Index 🔎︎

# 表格

Defines the attributes of tables in text documents.

指定列、行和表格模式的默认设置。另外，还可以指定用于移动和插入列、行的标准值。如果需要更多信息，请参阅 LibreOffice Writer 帮助中的使用键盘编辑表格。

要访问此命令...

Choose LibreOffice - Preferences Tools - Options
- LibreOffice Writer/LibreOffice Writer/Web - Table.

## 默认

为文本文档中所有新创建的文字表格指定默认值。

### 标题

Specifies that the first row of the table is formatted with the "Table heading" Paragraph Style.

### 在每页上重复显示

Specifies whether the table heading is carried over onto the new page after a page break.

### 不拆分（不在HTML中）

指定表格不会被任何类型的文字流间断符拆分。 在菜单「表格 - 属性 - 文字流」中也可以找到此选项。

### 边框

Specifies that table cells have a border by default.

## 表格内容

### 数字识别

Specifies that numbers in a text table are recognized and formatted as numbers. Table cells in LibreOffice Writer can recognize a number when it is represented in one of the number formats available in categories of Numbers, Percent, Currency, Date, Time, Scientific, Fraction and Boolean.

The recognized number is displayed with default number format for table cells, and sets the cell format to the recognized category. For example, if a number is recognized as Date, the cell format category is set to Date. You can set a specific number format for the cell, for example, a date entered as 8/3/2018 displays as Thursday March 8, 2018 when the cell number format is set to "Friday, December 31, 1999" in the Number Format dialog.

Recognized Date and Time numbers are converted to internal date and time serial values. Percent numbers are converted internally to their numeric values. Boolean values are converted internally to 0 or 1.

When an input cannot be recognized as a number, the number category changes to Text and the input is not changed.

如果不选中数字识别，数字将以文字格式保存并自动向左对齐。

### 数字格式识别

If Number format recognition is not marked, only input in the format that has been set at the cell is accepted. Any other input resets the format to Text.

For example, if a cell contains a date value and has its cell format as date, a new input of a percent value in the cell set the cell format to Text and the percent input number is not recognized.

When Number format recognition is marked, input numbers sets the cell format to the recognized number category.

### 对齐

Specifies that numbers are always bottom right aligned in the cell. If this field is not marked numbers are always top left aligned in the cell.

直接格式化不受对齐字段的影响。如果直接将单元格内容居中对齐，则不论单元格中所含的是文字还是数字，它们都将保持居中。

## 键盘操控

### 移动单元格

定义使用键盘移动行和列的默认设置。

#### 行

Specifies the value to be used for moving a row.

#### 列

Specifies the value to be used for moving a column.

### 插入

指定使用键盘插入行和列的默认设置。

#### 行

Specifies the default value for inserting rows.

#### 列

Specifies the default value for inserting columns.

### 行/列行为

确定行列对其相邻行列以及对整个表格的影响。

#### 固定

Specifies that changes to a row or column only affect the corresponding adjacent area.

#### 固定成比例

Specifies that changes to a row or column have an effect on the entire table.

#### 可变

Specifies that changes to a row or column affect the table size.