Змінні

Поля змінних дозволяють додавати в документ динамічний вміст. Наприклад, можна використовувати змінну для скидання нумерації сторінок.

Щоб скористатися цією командою…

Виберіть вкладку Вставка - Поле - Інші поля - Змінні


Тип

Lists the available field types.

Тип

Опис

Задати змінну

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.

Задати змінну сторінки

Вставляє вихідну точку в документ, після якої відлік сторінок починається заново. Виберіть "увімкн.", щоб увімкнути вихідну точку, і "вимкн.", щоб її вимкнути. Можна також ввести зміщення для початку відліку сторінок з іншого номера.

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.

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

Користувацькі поля доступні лише в поточному документі.


Value

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 Statement

Загальний синтаксис команди 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.

Icon Apply

Застосувати

Видалити

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

Видалити

Будь ласка, підтримайте нас!