gives access to the text of a component and makes it possible to register event listeners.
Definition: XTextComponent.idl:37
void setEditable([in] boolean bEditable)
makes the text editable for the user or read-only.
void addTextListener([in] com::sun::star::awt::XTextListener l)
registers a text event listener.
short getMaxTextLen()
returns the currently set maximum text length.
void setMaxTextLen([in] short nLen)
sets the maximum text length.
void setSelection([in] com::sun::star::awt::Selection aSelection)
sets the user selection.
void setText([in] string aText)
sets the text of the component.
string getText()
returns the text of the component.
string getSelectedText()
returns the currently selected text.
boolean isEditable()
returns if the text is editable by the user.
void removeTextListener([in] com::sun::star::awt::XTextListener l)
unregisters a text event listener.
com::sun::star::awt::Selection getSelection()
returns the current user selection.
void insertText([in] com::sun::star::awt::Selection Sel, [in] string Text)
inserts text at the specified position.
makes it possible to receive text change events.
Definition: XTextListener.idl:34