Variables

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

Přistup k tutomu přikazej …

Wubjerće Zasadźić – Polo – Dalše informacije – Rajtark: Wariable


Typ

Nalistuje pólne typy, kotrež su k dispoziciji.

Type

Description

Set Variable

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.

Show Variable

Inserts the current value of the variable that you click in the Select list.

DDE field

Inserts a DDE link into the document, that you can update as often as you want through the assigned name.

Insert Formula

Inserts a fixed number, or the result of a formula.

Input field

Inserts a new value for a variable or a User Field.

The value of a variable in an Input field is only valid from where the field is inserted and onwards. To change the value of the variable later in the document, insert another Input field of the same name, but with a different value. However, the value of a User Field is changed globally.

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.

Number range

Inserts automatic numbering for tables, graphics, or frames.

Set page variable

Inserts a reference point in the document, after which the page count restarts. Select "on" to enable the reference point, and "off" to disable it. You can also enter an offset to start the page count at a different number.

Show page variable

Displays the number of pages from the "Set page variable" reference point to this field.

User Field

Inserts a custom global variable. You can use the User Field to define a variable for a condition statement. When you change a User Field, all instances of the variable in the document are updated.


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.


Format

Jeli polo datum čas abo ličbu pokazuje, so potom Format wužiwa, zo by so napohlad datuma, časa abo ličby přiměrił. Zwučene formaty so we woknje Format pokazuja abo klikńće na „Přidatne formaty“, zo byšće swójski format definował.

Mjeno

Zapodajće mjeno swójskeho pola, kotrež chceće wutworić. This option is available for "Set variable", "DDE field", "Number range" and "User Field" field types.

warning

User-defined fields are only available in the current document.


Hódnota

Zapodajće wobsah, kotryž chceće swójskemu polu přidać.

In the Format list, define if the value is inserted as text or a number.

note

Slědowace pola dadźa so jenož zasadźić, jeli wotpowědny pólny typ je w lisćinje Typ wubrany.


In an HTML document, two additional fields are available for the "Set variable" field type: HTML_ON and HTML_OFF. The text that you type in the Value box is converted to an opening HTML tag (<Value>) or to a closing HTML (</Value>) tag when the file is saved as an HTML document, depending on the option that you select.

DDE Statement

Powšitkowna syntaksa za přikaz DDE je: „<Server> <Topic> <Otem>“, při čimž Server je mjeno DDE za nałoženje, kotrež daty wobsahuje. Topic so na městno za Item poćahuje (zwjetša datajowe mjeno) a Item reprezentuje poprawny objekt.

This option is only available if the "DDE field" field type is selected.

Formula

This option is only available if the "Insert Formula" field type is selected.

Pokaz

Zapodajće tekst, kotryž chceće w polu pokazać. Jeli zastupowace polo zasadźujeće, zapodajće tekst, kotryž chceće jako pokiw pomocy pokazać, hdyž je pokazowak myški nad polom.

Wotchilenje

Zapodajće wotchilensku hódnotu, kotruž chceće na polo ličby strony nałožić, na přikład „+1“.

This option is only available if the "Set page variable" field type is selected.

Invisible

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

Za pokazanje wubrane nadpismowe čisło je prěnje předchadne nadpismo, kotrehož rozrjadowanska runina je jenaka abo mjeńša hač wubrana rozrjadowanska runina. Wubjerće na přikład „2“, zo byšće nadpismowe čisło prěnjeho předchadneho nadpisma z rozrjadowanskej runinu 1 abo z rozrjadowanskej runinu 2 wužiwał.


Separator

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.


Apply

Adds the user-defined field to the Select list.

Symbol za Nałožić

Nałožić

Delete

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

Delete