LibreOffice 25.2 帮助
可以使用变量字段在文档中加入动态内容。例如,可以使用变量重置页码。
| 类型 | 说明 | 
|---|---|
| 设置变量 | Defines a variable and its value. You can change the value of a variable by clicking in front of the variable field, and then choosing . | 
| 显示变量 | Inserts the current value of the variable that you click in the Select list. | 
| DDE 字段 | 在文档中插入 DDE链接至文档,可以通过指定的名称随时更新此链接。 | 
| 插入公式 | 插入固定的数字或公式的计算结果。 | 
| 输入字段 | 插入变量或用户字段的新值。 输入字段中变量的值仅在自该字段插入位置起向前的范围有效。要在文档中稍后的位置修改变量值,需要插入另一个名称相同但值不同的输入字段。但用户字段的值会发生全局性修改。 The variables are displayed in the Select field. When you click the Insert button, the dialog Review Fields appears, where you can enter the new value or additional text as a remark. | 
| 编号范围 | Inserts automatic numbering for tables, graphics, or frames. | 
| 设置页面变量 | 在文档中插入一个参照点。在这个参照点之后,页面重新开始计数。选择「打开」启用此参照点,选择「关闭」将其禁用。您也可以在「修改」中输入值,使页面从不同的值开始计数。 | 
| Show page variable | 显示从「设置页面变数」参照点到此字段之间的页数。 | 
| 用户字段 | 插入自定义的全局变量。您可以使用「用户字段」定义条件语句的变量。修改「用户字段」时,文档中此变量的所有实例都会更新。 | 
Lists the available fields for the field type selected in the Type list. To insert a field, click the field, and then click Insert.
To quickly insert a field from the Select list, hold down CommandCtrl and double-click the field.
Type the name of the user-defined field that you want to create. This option is available for "Set variable", "DDE field", "Number range" and "User Field" field types.
自定义字段只能在当前文档中使用。
在「格式」列表中,定义该值是作为文本插入还是作为数字插入。
在 HTML 文档中,「设置变量」字段类型有两个其他的字段可用: HTML_ON 和 HTML_OFF。当文件保存为 HTML 文档时,根据您选择的选项,「数值」框中的文字将转换为 HTML 起始标记 (<Value>) 或 HTML 终止标记 (</Value>)。
This option is only available if the "DDE field" field type is selected.
This option is only available if the "Insert Formula" field type is selected.
This option is only available if the "Set page variable" field type is selected.
Hides the field contents in the document. The field is inserted as a thin gray mark in the document. This option is only available for the "Set Variable" and "User Field" field types.
Use this option to display a heading number before a “number range” field. The heading number comes from a heading prior to the location of the field.
With typical use of headings in the document, the selected number will indicate how many levels of heading number (starting from level 1) to display. The selected value indicates the maximum number of levels to show. The actual number may have fewer levels. For example, if the immediately prior heading number is 2.6, and is selected, then only 2.6 is displayed . If is selected, no heading number is displayed.
Specify the character to use as a separator between the heading number and the field number.
With Heading Number, Up to level and Separator are only available for the “Number range” field type.
Adds the user-defined field to the Select list.
Removes the user-defined field from the select list. You can only remove fields that are not used in the current document. To remove a field that is used in the current document from the list, first delete all instances of the field in the document, and then remove it from the list.
删除