Дані (для документів XML Form)

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

Щоб скористатися цією командою…

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.


Параметри на вкладці Дані елемента керування залежать від конкретного елемента керування. Відображаються лише ті параметри, які можуть застосовуватися щодо поточного елемента і в поточному контексті. Доступні такі поля:

Модель даних XML

Виберіть модель зі списку моделей в поточному документі.

Прив'язка

Виберіть або введіть назву прив'язки. Вибір назви наявної прив'язки встановлює відповідність між прив'язкою і елементом керування. Введення нової назви створює нову прив'язку і встановлює її відповідність елементу керування.

Вираз зв'язування

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

Необхідно

Вказує, чи повинен даний елемент бути включений в XForm.

Відноситься

Declares the item as relevant.

Лише для читання

Оголошує елемент призначеним тільки для читання.

Обмеження

Оголошує елемент обмеженням.

Обчислення

Оголошує елемент обчисленим.

Тип даних

Виберіть тип даних, за яким буде здійснюватися перевірка елемента керування.

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.


Пробільні символи

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.

Візерунок

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.

Розрядів (всього)

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

Розрядів (дробова частина)

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

Максимум (включно)

Specifies an inclusive upper bound for values.

Максимум (не включно)

Specifies an exclusive upper bound for values.

Мінімум (включно)

Specifies an inclusive lower bound for values.

Мінімум (не включно)

Specifies an exclusive lower bound for values.

Довжина

Specifies the number of characters for a string.

Довжина (принаймні)

Specifies the minimum number of characters for a string.

Довжина (не більше)

Specifies the maximum number of characters for a string.

Будь ласка, підтримайте нас!