Data (for XML Form Documents)
The Data tab page of the Properties dialog for an XML Form document offers some XML forms settings.
Možné nastavenia na záložke Dáta závisia od vybraného ovládacieho prvku. Uvidíte len tie možnosti, ktoré sú k dispozícii pre aktuálny ovládací prvok a kontext. Zoznam dostupných polí:
XML model dát
Select a model from the list of all models in the current document.
Väzba
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.
Zväzovací výraz
Enter the DOM node to bind the control model to. Click the ... button for a dialog to enter the XPath expression.
Požadované
Určuje, či musí byť položka zahrnutá do XForm.
Relevantný
Deklaruje položku za relevantnú.
Iba na čítanie
Deklaruje položku iba na čítanie.
Vymedzený
Deklaruje položku ako obmedzenie.
Výpočty
Deklaruje, že položka je vypočítavaná.
Dátový typ
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.
Medzery
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.
Vzorka
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.
Číslice (celkom)
Specifies the maximum total number of digits that values of the decimal data type can have.
Číslice (zlomok)
Specifies the maximum total number of fractional digits that values of the decimal data type can have.
Max. (vrátane)
Specifies an inclusive upper bound for values.
Max. (bez)
Specifies an exclusive upper bound for values.
Min. (vrátane)
Specifies an inclusive lower bound for values.
Min. (bez)
Specifies an exclusive lower bound for values.
Dĺžka
Specifies the number of characters for a string.
Dĺžka (minimálna)
Specifies the minimum number of characters for a string.
Dĺžka (maximálna)
Specifies the maximum number of characters for a string.