Contents

# Data (for XML Form Documents)

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

Lai piekļūtu šai komandai...

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 datu modelis

Select a model from the list of all models in the current document.

## Piesaiste

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.

## Piesaistes izteiksme

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

## Pieprasīts

Specifies if the item must be included on the XForm.

## Būtisks

Deklarē vienumu kā būtisku.

## Tikai lasāms

Deklarē vienumu kā tikai lasāmu.

## Ierobežojums

Deklarē vienumu kā ierobežojumu.

## Aprēķināšana

Deklarē, kurš vienums tiek aprēķināts.

## Datu tips

Select a data type which the control should be validated against.

### x

Select a user-defined data type and click the button to delete the user-defined data type.

### +

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.

### Tukšumzīmes

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.

### Raksts

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.

### Cipari (kopā)

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

### Cipari (daļa)

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

### Maksimums (ieskaitot)

Norāda ieskaitošo augšējo robežu vērtībām.

### Maksimums (neieskaitot)

Norāda neieskaitošo augšējo robežu vērtībām.

### Minimums (ieskaitot)

Norāda ieskaitošo apakšējo robežu vērtībām.

### Minimums (neieskaitot)

Norāda neieskaitošo apakšējo robežu vērtībām.

### Garums

Norāda rakstzīmju skaitu virknei.

### Garums (vismaz)

Norāda minimuma rakstzīmju skaitu virknei.

### Garums (ne vairāk)

Norāda maksimuma rakstzīmju skaitu virknei.

Please support us!