Difference between revisions of "Documentation/DevGuide/Basic/Formatted Field"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Basic and Dialogs)
m (FINAL VERSION FOR L10N)
 
Line 6: Line 6:
 
|NextPage=Documentation/DevGuide/Basic/Pattern Field
 
|NextPage=Documentation/DevGuide/Basic/Pattern Field
 
}}
 
}}
{{DISPLAYTITLE:Formatted Field}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Basic/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Formatted Field}}
 
The formatted field control <idl>com.sun.star.awt.UnoControlFormattedField</idl> specifies a format that is used for formatting the entered and displayed data. A number formats supplier must be set in the <code>FormatsSupplier</code> property and a format key for the used format must be specified in the <code>FormatKey</code> property. It is recommended to use the property browser in the dialog editor for setting these properties. Supported number formats are number, percent, currency, date, time, scientific, fraction and boolean values. Therefore, the formatted field can be used instead of a date field, time field, numeric field or currency field. The <code>NumberFormatsSupplier</code> is described in [[Documentation/DevGuide/OfficeDev/Office Development|Office Development]].
 
The formatted field control <idl>com.sun.star.awt.UnoControlFormattedField</idl> specifies a format that is used for formatting the entered and displayed data. A number formats supplier must be set in the <code>FormatsSupplier</code> property and a format key for the used format must be specified in the <code>FormatKey</code> property. It is recommended to use the property browser in the dialog editor for setting these properties. Supported number formats are number, percent, currency, date, time, scientific, fraction and boolean values. Therefore, the formatted field can be used instead of a date field, time field, numeric field or currency field. The <code>NumberFormatsSupplier</code> is described in [[Documentation/DevGuide/OfficeDev/Office Development|Office Development]].
  

Latest revision as of 12:38, 15 May 2009



The formatted field control com.sun.star.awt.UnoControlFormattedField specifies a format that is used for formatting the entered and displayed data. A number formats supplier must be set in the FormatsSupplier property and a format key for the used format must be specified in the FormatKey property. It is recommended to use the property browser in the dialog editor for setting these properties. Supported number formats are number, percent, currency, date, time, scientific, fraction and boolean values. Therefore, the formatted field can be used instead of a date field, time field, numeric field or currency field. The NumberFormatsSupplier is described in Office Development.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages