summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/XTextComponent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/awt/XTextComponent.idl')
-rw-r--r--offapi/com/sun/star/awt/XTextComponent.idl67
1 files changed, 11 insertions, 56 deletions
diff --git a/offapi/com/sun/star/awt/XTextComponent.idl b/offapi/com/sun/star/awt/XTextComponent.idl
index 3ad0ffe17..4001b289b 100644
--- a/offapi/com/sun/star/awt/XTextComponent.idl
+++ b/offapi/com/sun/star/awt/XTextComponent.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: XTextComponent.idl,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mt $ $Date: 2002-09-05 14:20:43 $
+ * last change: $Author: mi $ $Date: 2002-10-03 13:01:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,100 +80,81 @@
//=============================================================================
-// DocMerge from xml: interface com::sun::star::awt::XTextComponent
-/** gives access to the text of a text component and makes it possible
+/** gives access to the text of a component and makes it possible
to register event listeners.
*/
interface XTextComponent: com::sun::star::uno::XInterface
{
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::addTextListener
/** registers a text event listener.
*/
[oneway] void addTextListener( [in] com::sun::star::awt::XTextListener l );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::removeTextListener
/** unregisters a text event listener.
*/
[oneway] void removeTextListener( [in] com::sun::star::awt::XTextListener l );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::setText
- /** sets the text of the text field.
+ /** sets the text of the component.
*/
[oneway] void setText( [in] string aText );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::insertText
- /** inserts text at the given position.
+ /** inserts text at the specified position.
*/
[oneway] void insertText( [in] com::sun::star::awt::Selection Sel,
[in] string Text );
//-------------------------------------------------------------------------
- // DocMerge from idl: method com::sun::star::awt::XTextComponent::getText
- /** @returns
- the currently set text of this text component.
+ /** returns the text of the component.
*/
string getText();
//-------------------------------------------------------------------------
- // DocMerge from idl: method com::sun::star::awt::XTextComponent::getSelectedText
- /** @returns
- the currently selected text.
+ /** returns the currently selected text.
*/
string getSelectedText();
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::setSelection
/** sets the user selection.
*/
[oneway] void setSelection( [in] com::sun::star::awt::Selection aSelection );
//-------------------------------------------------------------------------
- // DocMerge from idl: method com::sun::star::awt::XTextComponent::getSelection
- /** @returns
- the current user selection.
+ /** returns the current user selection.
*/
com::sun::star::awt::Selection getSelection();
//-------------------------------------------------------------------------
- // DocMerge from idl: method com::sun::star::awt::XTextComponent::isEditable
- /** @returns
- whether the text is editable by the user.
+ /** returns if the text is editable by the user.
*/
boolean isEditable();
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::setEditable
/** makes the text editable for the user or read-only.
*/
[oneway] void setEditable( [in] boolean bEditable );
//-------------------------------------------------------------------------
- // DocMerge from xml: method com::sun::star::awt::XTextComponent::setMaxTextLen
- /** specifies the maximum character count; 0 means no limit.
- Value will only be considered on user interactions, not when changing the text via API.
+ /** sets the maximum text length.
*/
[oneway] void setMaxTextLen( [in] short nLen );
//-------------------------------------------------------------------------
- // DocMerge from idl: method com::sun::star::awt::XTextComponent::getMaxTextLen
- /** @returns
- the currently set maximum text length.
+ /** returns the currently set maximum text length.
*/
short getMaxTextLen();
@@ -183,30 +164,4 @@ interface XTextComponent: com::sun::star::uno::XInterface
}; }; }; };
-/*=============================================================================
-
- $Log: not supported by cvs2svn $
- Revision 1.4 2001/03/16 16:41:13 jsc
- remove interfaceheader with uik and remove [const] in method definitions
-
- Revision 1.3 2000/11/08 12:42:11 mi
- moved from api
-
- Revision 1.1.1.1 2000/09/18 23:34:54 hjs
- initial import
-
- Revision 1.5 2000/09/11 11:52:09 mi
- documentation merged from XML
-
- Revision 1.3 2000/05/16 12:19:54 mi
- documentation
-
- Revision 1.2 2000/02/07 11:24:17 mi
- zu #70728# missing documentation marked
-
- Revision 1.1.1.1 1999/11/11 09:48:40 jsc
- new
-
-
-=============================================================================*/
#endif