Contents

# Data (for XML Form Documents)

The Data tab page of the Properties dialog for an XML Form document offers some XML forms settings.

To access this command...

Open context menu of a selected control on an XML Form document, choose Control Properties - Data tab.

Open Form Controls toolbar of an XML Form document, click Control icon - Data tab.

The possible settings of the Data tab page of a control depend on the respective control. You will only see the options that are available for the current control and context. The following fields are available:

## XML model podataka

Odaberite model iz popisa svih modela iz trenutnog dokumenta.

## Povezujem

Select or enter the name of a binding. Selecting the name of an existing binding associates the binding with the form control. Entering a new name creates a new binding and associates it with the form control.

## Povezivanje izraza

Enter the DOM node to bind the control model to. Click the ... button for a dialog to enter the XPath expression.

## Potrebno

Specifies if the item must be included on the XForm.

## Relevantno

Declares the item as relevant.

## Samo za čitanje

Declares the item as read-only.

## Ograničenje

Declares the item as a constraint.

## Izračun

Declares that the item is calculated.

## Tip podatka

Odaberite tip podataka prema kojem će se kontrola validirati.

### x

Odaberite korisnički definiran tip podataka i kliknite gumb za brisanje korisnički definiranih tipova podataka.

### +

Click the button to open a dialog where you can enter the name of a new user-defined data type. The new data type inherits all facets from the currently selected data type.

The following lists all facets that are valid for data types. Some facets are only available for some data types.

### Razmaci

Specifies how whitespaces are to be handled when a string of the current data type is being processed. Possible values are "Preserve", "Replace", and "Collapse". The semantics follow the definition at https://www.w3.org/TR/xmlschema-2/#rf-whiteSpace.

### Uzorak

Specifies a regular expression pattern. Strings validated against the data type must conform to this pattern to be valid. The XSD data type syntax for regular expressions is different from the regular expression syntax used elsewhere in LibreOffice, for example in the Find & Replace dialog.

### Znamenaka (ukupno)

Specifies the maximum total number of digits that values of the decimal data type can have.

### Znameka (razlomak)

Specifies the maximum total number of fractional digits that values of the decimal data type can have.

### Maks. (uključivo)

Određuje isključivu donju granicu za vrijednosti.

### Maks. (ne uključivo)

Određuje isključivu donju granicu za vrijednosti.

### Min. (uključivo)

Određuje isključivu donju granicu za vrijednosti.

### Min. (isključivo)

Određuje isključivu donju granicu za vrijednosti.

### Duljina

Određuje broj znakova u nizu.

### Duljina (najmanje)

Određuje broj znakova u nizu.

### Duljina (najviše)

Određuje broj znakova u nizu.

Please support us!