Sisukord

# Funktsioonid

Depending on the field type that you select, you can assign conditions to certain functions. For example, you can define a field that executes a macro when you click the field in the document, or a condition that, when met, hides a field. You can also define placeholder fields that insert graphics, tables, frames and other objects into your document when needed.

Selle käsu kasutamiseks...

Vali Lisamine - Väljad - Muud väljad - kaart Funktsioonid

### Tüüp

Lists the available field types.

Tüüp | Tähendus
--- | ---
Tingimuslik tekst | Inserts text if a certain condition is met. For example, enter "sun eq 1" in the Condition box, and then the text that you want to insert when the variable "sun" equals "1" in the Then box. If you want, you can also enter the text that you want to display when this condition is not met in the Else box. To define the variable "sun", click the Variables tab, select "Set variable", type "sun" in the Name box, and its value in the Value box.
Sisestusloend | Inserts a text field that displays one item from a list. You can add, edit, and remove items, and change their order in the list. Click an Input list field in your document or press CommandCtrl+Shift+F9 to display the Choose Item dialog.
Sisestusväli | Inserts a text field that you can open by clicking it in the document. You can then change the text that is displayed.
Makro käivitamine | Inserts a text field that runs a macro when you click the field in the document. To assign a macro to the field, click the Macro button.
Kohahoidja | Inserts a placeholder field in the document, for example, for graphics. When you click a placeholder field in the document, you are prompted to insert the item that is missing.
Peidetud tekst | Inserts a text field that is hidden when the condition that you specify is met. To use this function, choose LibreOffice - PreferencesTools - Options - LibreOffice Writer - View and clear the Hidden text check box.
Peidetud lõik | Hides a paragraph when the condition that you specify is met. To use this function, choose LibreOffice - PreferencesTools - Options - LibreOffice Writer - View and clear the Hidden paragraphs check box.
Märkide kombineerimine | Combines up to 6 characters, so that they behave as a single character. This feature is only available when Asian fonts are supported.

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

## Format

For function fields, the format field is only used for fields of the type placeholder. Here, the format determines the object for which the placeholder stands.

## Tingimus

Tingimusega lingitud väljade jaoks sisesta siin kriteeriumid.

## siis, muidu

Enter the text to display when the condition is met in the Then box, and the text to display when the condition is not met in the Else box.

You can also insert database fields in the Then and Else boxes using the format "databasename.tablename.fieldname".

If the table or the field name does not exist in a database, nothing is inserted.

If you include the quotes in "databasename.tablename.fieldname", the expression is inserted as text.

## Viide

Type the text that you want to display in the field. If you are inserting a placeholder field, type the text that you want to display as a help tip when you rest the mouse pointer over the field.

## Vormindus

Vali makro, mida soovid käivitada, kui klõpsatakse väljal.

## Makro nimi

Näitab valitud makro nime.

## Kohahoidja

Kirjuta tekst, mida soovid näha kohahoidja väljal.

## Peidetud tekst

Sisesta tekst, mida soovid peita, kui tingimus on täidetud.

## Märgid

Sisesta märgid, mida soovid kombineerida. Kombineerida saab kuni kuus märki. See säte on saadaval vaid väljatüübi Märkide kombineerimine jaoks.

## Väärtus

Sisesta valitud välja väärtus.

## Makro

Avab makrode valija, kus saad valida makro, mis käivitatakse dokumendis valitud väljal klõpsamisel. See nupp on saadaval vaid funktsioonivälja "Makro käivitamine" jaoks.

The following controls are displayed for Input list fields:

## Element

Sisesta uus element.

## Lisa

Lisab elemendi loendisse.

## Loendi elemendid

Kuvab elemendid. Kõige ülemist elementi kuvatakse dokumendis.

## Eemalda

Eemaldab valitud elemendi loendist.

## Nihuta üles

Nihutab valitud elemendi loendis ülespoole.

## Nihuta alla

Nihutab valitud elemendi loendis allapoole.

## Nimi

Sisesta sisestusloendile unikaalne nimi.

## Elemendi valimine

This dialog is shown when you click an Input list field in the document.

Choose the item that you want to display in the document, then click OK.

## Redigeerimine

Displays the Edit Fields: Functions dialog, where you can edit the Input list.

## Järgmine

Closes the current Input list and displays the next, if available. You see this button when you open the Choose Item dialog by CommandCtrl+Shift+F9.