Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: form :: component ::

service TextField
Description
specifies a component which allows the input of text, either single- or multi-line.

Included Services - Summary
::com::sun::star::awt::UnoControlEditModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlEdit.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
RichTextControl

specifies optional capabilities for displaying and inputting formatted text. (details)

Exported Interfaces - Summary
::com::sun::star::form::XReset

can be used to reset the control to it's default text. (details)

Properties' Summary
string
DefaultText
contains a default value for the control.  
Included Services - Details
::com::sun::star::awt::UnoControlEditModel
(referenced entity's summary:)
specifies the standard model of an ::com::sun::star::awt::UnoControlEdit.
::com::sun::star::form::FormControlModel
(referenced entity's summary:)
specifies a control model within a form.
RichTextControl
Usage Restrictions
optional
Description
specifies optional capabilities for displaying and inputting formatted text.

If the RichTextControl::RichText property is set to true, then the TextField component will disable it's reset capabilities. This means that all calls to ::com::sun::star::form::XReset::reset will be ignored.

Exported Interfaces - Details
::com::sun::star::form::XReset
Description
can be used to reset the control to it's default text.
See also
TextField::DefaultText
Properties' Details
DefaultText
string DefaultText;
Description
contains a default value for the control.

This value is used when the control is initially displayed, and for resetting it.

See also
::com::sun::star::awt::UnoControlEditModel::Text, ::com::sun::star::form::XReset

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.