Text Field Extensions

From Apache OpenOffice Wiki
Jump to: navigation, search



A user can enter any kind of data into a text field. These values are always stored as a string in the Text property. This can cause some problems when you are evaluating the user input. These controls offer specific solutions to this issue:

  • Formatted field.
  • Date field.
  • Time field.
  • Currency field.
  • Numeric field.
  • Pattern field.
Common Properties of Extensions of a UnoControlEdit (text field)
[IDLS:StrictFormat] boolean. If set to true, only the allowed characters as defined by the format of the control are accepted. All other entries typed with the keyboard are ignored.
[IDLS:EnforceFormat] boolean. If set to true, the allowed characters are checked when leaving the focus.
[IDLS:Spin] boolean. The Spin property defines whether the control displays a spin button.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages