Contents

# Functions

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.

To access this command...

Choose Insert - Field - More Fields - Functions tab

### क़िस्म

Lists the available field types.

क़िस्म | अर्थ
--- | ---

सशर्त पाठ

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.

इनपुट सूची | 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 Command Ctrl+Shift+F9 to display the Choose Item dialog.
Input field | Inserts a text field that you can open by clicking it in the document. You can then change the text that is displayed.
मेक्रो चलाएँ | 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.
स्थानधारक | 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.
Hidden text | Inserts a text field that is hidden when the condition that you specify is met. To use this function, choose LibreOffice - Preferences Tools - Options - LibreOffice Writer - View and clear the Hidden text check box.
छिपा हुआ अनुच्छेद | Hides a paragraph when the condition that you specify is met. To use this function, choose LibreOffice - Preferences Tools - Options - LibreOffice Writer - View and clear the Hidden paragraphs check box.
अक्षरों को मिलायें | 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.

## कंडीशन

For fields linked to a condition, enter the criteria here.

## Then, Else

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 you include the quotes in "databasename.tablename.fieldname", the expression is inserted as text.

## संदर्भ

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.

## प्रारुप

जब क्षेत्र को क्लिक किया जाए तो चलाए जाने वाले मेक्रो को चुनें .

## मेक्रो नाम

चयनित मेक्रो का नाम दिखाता है.

## स्थानधारक

प्लेसहोल्डर क्षेत्र में जो पाठ आप दिखाना चाहते हैं, उसे टाइप करें.

## Hidden text

शर्त पूरा होने पर जो पाठ छुपाया जाना हो, उसे टाइप करें.

## अक्षर

Enter the characters that you want to combine. You can combine a maximum of 6 characters. This option is only available for the Combine characters field type.

## मान

चयनित क्षेत्र के लिए मूल्य प्रविष्ट करें.

## मेक्रोज़

Opens the Macro Selector dialog, where you can choose the macro that will run when you click the selected field in the document. This button is only available for the "Execute macro" function field.

The following controls are displayed for Input list fields:

## वस्तु

Enter a new item.

## जोड़ें

Adds the Item to the list.

## सूची में वस्तुएँ

Lists the items. The topmost item is shown in the document.

## मिटाएँ

Removes the selected item from the list.

## ऊपर ले जाएँ

Moves the selected item up in the list.

## नीचे ले जाएँ

Moves the selected item down in the list.

## नाम

Enter a unique name for the Input list.

## वस्तु चुनें

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.

## संपादन

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

## Next

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

Please support us!