Переменные

Variable fields let you add dynamic content to your document. For example, you can use a variable to reset the page numbering.

Доступ к этой команде

Выберите вкладку Вставка - Поля - Дополнительно - Переменные.


Тип

Перечисляет доступные типы полей.

Тип

Описание

Задать переменную

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 Edit - Field.

Показать переменную

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.

Задать переменную страницы

Вставляет исходную точку в документ, после которой отсчёт страниц начинается заново. Выберите "вкл.", чтобы включить исходную точку, и "выкл.", чтобы её отключить. Можно также ввести смещение для начала отсчёта страниц с другого номера.

Показать переменные страницы

Отображает число страниц, начиная с исходной точки, заданной в поле «Задать переменную страницы», и до данного поля.

Поле пользователя

Вставляет пользовательскую глобальную переменную. Можно использовать поле пользователя, чтобы определить переменную условий. При изменении поля пользователя обновляются все экземпляры переменной в документе.


Select

Lists the available fields for the field type selected in the Type list. To insert a field, click the field, and then click Insert.

tip

To quickly insert a field from the Select list, hold down and double-click the field.


Формат

If a field is displaying a date, time or number, then Format is used to customize the appearance of the date, time, or number. Common formats are shown in the Format window, or click "Additional formats" to define a custom format.

Имя

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.

warning

Пользовательские поля доступны только в текущем документе.


Значение

Enter the contents that you want to add to a user-defined field.

В списке Формат определите, будет ли значение вставлено как текст или как число.

note

The following fields can only be inserted if the corresponding field type is selected in the Type list.


В документе HTML для типа поля "Задать переменную" имеется два дополнительных поля: HTML_ON и HTML_OFF. В зависимости от выбранного параметра, текст, введённый в поле Значение , преобразуется в открывающий тег HTML (<Value>) или в закрывающий тег HTML (</Value>) при сохранении файла как документ HTML.

Инструкция DDE

Общий синтаксис для команды DDE выглядит следующим образом: "<Сервер> <Тема> <Элемент>", где сервер - это имя DDE для приложения, содержащего данные. Тема обозначает местоположение элемента (обычно имя файла), а элемент представляет собой конкретный объект.

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.

Текст ссылки

Введите текст, который должен отображаться в поле. Если выполняется вставка поля подстановки, введите текст, который будет отображаться как подсказка при перемещении указателя мыши в это поле.

Смещение

Введите значение смещения, которое будет использоваться для поля номера страницы, например, "+1".

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.

With Heading Number

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.

Up to level

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 4 is selected, then only 2.6 is displayed . If [None] is selected, no heading number is displayed.

note

The heading number selected for display is the first prior heading whose outline level is equal to or less than the selected outline level. For example, select “2” to use the heading number of the first prior heading with outline level 1 or outline level 2.


Разделитель

Specify the character to use as a separator between the heading number and the field number.

note

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.

Icon

Удалить

Пожалуйста, поддержите нас!