diff options
Diffstat (limited to 'offapi/com/sun/star/awt/tree')
-rw-r--r-- | offapi/com/sun/star/awt/tree/ExpandVetoException.idl | 36 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl | 24 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/MutableTreeNode.idl | 26 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/TreeControl.idl | 30 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/TreeControlModel.idl | 38 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl | 38 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl | 36 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl | 32 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XMutableTreeNode.idl | 50 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeControl.idl | 44 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeDataModel.idl | 36 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl | 52 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeEditListener.idl | 36 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl | 46 | ||||
-rw-r--r-- | offapi/com/sun/star/awt/tree/XTreeNode.idl | 30 |
15 files changed, 277 insertions, 277 deletions
diff --git a/offapi/com/sun/star/awt/tree/ExpandVetoException.idl b/offapi/com/sun/star/awt/tree/ExpandVetoException.idl index cbee77879859..69e0a1004d1c 100644 --- a/offapi/com/sun/star/awt/tree/ExpandVetoException.idl +++ b/offapi/com/sun/star/awt/tree/ExpandVetoException.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,23 +24,23 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_ExpandVetoException_idl__ -#define __com_sun_star_awt_tree_ExpandVetoException_idl__ - -#ifndef __com_sun_star_util_VetoException_idl__ -#include <com/sun/star/util/VetoException.idl> +#ifndef __com_sun_star_awt_tree_ExpandVetoException_idl__ +#define __com_sun_star_awt_tree_ExpandVetoException_idl__ + +#ifndef __com_sun_star_util_VetoException_idl__ +#include <com/sun/star/util/VetoException.idl> #endif #ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__ #include <com/sun/star/awt/tree/TreeExpansionEvent.idl> #endif - -//============================================================================= - + +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** Exception used to stop an expand/collapse from happening. @see XTreeExpansionListener @see XTreeControl @@ -49,10 +49,10 @@ exception ExpandVetoException : com::sun::star::util::VetoException { /** The event that the exception was created for. */ TreeExpansionEvent Event; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl b/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl index 92875a7806d8..8edabf9817ba 100644 --- a/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl +++ b/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,8 +24,8 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_MutableTreeDataModel_idl__ -#define __com_sun_star_awt_tree_MutableTreeDataModel_idl__ +#ifndef __com_sun_star_awt_tree_MutableTreeDataModel_idl__ +#define __com_sun_star_awt_tree_MutableTreeDataModel_idl__ #ifndef __com_sun_star_awt_tree_XMutableTreeDataModelidl__ #include <com/sun/star/awt/tree/XMutableTreeDataModel.idl> @@ -35,12 +35,12 @@ #include <com/sun/star/awt/tree/XMutableTreeNode.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** If you do not want to implement the <type>XTreeDataModel</type> yourself, use this service. This implementation uses <type>MutableTreeNode</type> for its nodes. */ @@ -48,8 +48,8 @@ service MutableTreeDataModel : XMutableTreeDataModel { }; -//============================================================================= - +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/MutableTreeNode.idl b/offapi/com/sun/star/awt/tree/MutableTreeNode.idl index c2db72d93bb6..1f506cad1aed 100644 --- a/offapi/com/sun/star/awt/tree/MutableTreeNode.idl +++ b/offapi/com/sun/star/awt/tree/MutableTreeNode.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,27 +24,27 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_MutableTreeNode_idl__ -#define __com_sun_star_awt_tree_MutableTreeNode_idl__ - +#ifndef __com_sun_star_awt_tree_MutableTreeNode_idl__ +#define __com_sun_star_awt_tree_MutableTreeNode_idl__ + #ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__ #include <com/sun/star/awt/tree/XMutableTreeNode.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= +//============================================================================= /** Represents an editable tree node as used by the <type>MutableTreeDataModel</type> */ service MutableTreeNode : XMutableTreeNode { -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/TreeControl.idl b/offapi/com/sun/star/awt/tree/TreeControl.idl index 79ed4b86ab90..a534b52f14c3 100644 --- a/offapi/com/sun/star/awt/tree/TreeControl.idl +++ b/offapi/com/sun/star/awt/tree/TreeControl.idl @@ -1,7 +1,7 @@ /************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,19 +24,19 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_TreeControl_idl__ -#define __com_sun_star_awt_tree_TreeControl_idl__ - +#ifndef __com_sun_star_awt_tree_TreeControl_idl__ +#define __com_sun_star_awt_tree_TreeControl_idl__ + #ifndef __com_sun_star_awt_tree_XTreeControl_idl__ #include <com/sun/star/awt/tree/XTreeControl.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= - +//============================================================================= + /** A control that displays a set of hierarchical data as an outline. <p> @@ -52,7 +52,7 @@ module com { module sun { module star { module awt { module tree { You can implement it yourself or use the <type>MutableTreeDataModel</type> which uses <type>XMutableTreeNode</type> and <type>XMutableTreeDataModel</type> for a simple and mutable data model. - + <p>The data model must be set at the <member>TreeControlModel::TreeDataModel</member> property.</p> <h4>Selection</h4> @@ -87,11 +87,11 @@ module com { module sun { module star { module awt { module tree { </p> */ service TreeControl: XTreeControl -{ -}; - -//============================================================================= +{ +}; + +//============================================================================= }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/TreeControlModel.idl b/offapi/com/sun/star/awt/tree/TreeControlModel.idl index 6a84d52e165e..5ff615d7bf57 100644 --- a/offapi/com/sun/star/awt/tree/TreeControlModel.idl +++ b/offapi/com/sun/star/awt/tree/TreeControlModel.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,27 +24,27 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_TreeControlModel_idl__ -#define __com_sun_star_awt_tree_TreeControlModel_idl__ - -#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ +#ifndef __com_sun_star_awt_tree_TreeControlModel_idl__ +#define __com_sun_star_awt_tree_TreeControlModel_idl__ + +#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ #include <com/sun/star/awt/tree/XTreeDataModel.idl> #endif -#ifndef __com_sun_star_awt_UnoControlModel_idl__ +#ifndef __com_sun_star_awt_UnoControlModel_idl__ #include <com/sun/star/awt/UnoControlModel.idl> #endif -#ifndef __com_sun_star_view_SelectionType_idl__ +#ifndef __com_sun_star_view_SelectionType_idl__ #include <com/sun/star/view/SelectionType.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= - +//============================================================================= + /** specifies the standard model of a <type>TreeControl</type>. */ service TreeControlModel @@ -57,7 +57,7 @@ service TreeControlModel */ [property] ::com::sun::star::view::SelectionType SelectionType; - /** Specifies the <type>XTreeDataModel</type> that is providing the hierarchical data. + /** Specifies the <type>XTreeDataModel</type> that is providing the hierarchical data. <p>You can implement your own instance of <type>XTreeDataModel</type> or use the <type>MutableTreeDataModel</type>. @@ -98,17 +98,17 @@ service TreeControlModel */ [property] boolean Editable; - /** Specifies what happens when editing is interrupted by selecting another node in the tree, + /** Specifies what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means. <p>Setting this property to <TRUE/> causes the changes to be automatically saved when editing is interrupted. <FALSE/> means that editing is canceled and changes are lost <p>The default value is <FALSE/></p> */ [property] boolean InvokesStopNodeEditing; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl index 380848950e6e..2e372ef14445 100644 --- a/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl +++ b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,23 +24,23 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__ -#define __com_sun_star_awt_tree_TreeDataModelEvent_idl__ - -#ifndef __com_sun_star_lang_EventObject_idl__ -#include <com/sun/star/lang/EventObject.idl> -#endif +#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__ +#define __com_sun_star_awt_tree_TreeDataModelEvent_idl__ + +#ifndef __com_sun_star_lang_EventObject_idl__ +#include <com/sun/star/lang/EventObject.idl> +#endif #ifndef __com_sun_star_awt_tree_XTreeNode_idl__ #include <com/sun/star/awt/tree/XTreeNode.idl> #endif -//============================================================================= - -module com { module sun { module star { module awt { module tree { - -//============================================================================= - +//============================================================================= + +module com { module sun { module star { module awt { module tree { + +//============================================================================= + /** An event used by a <type>XTreeDataModel</type> to notify changes in the data model to the <type>XTreeControl</type>. You usually need to fill this event only if you implement the <type>XTreeDataModel</type> @@ -59,10 +59,10 @@ struct TreeDataModelEvent : ::com::sun::star::lang::EventObject /** holds the parent node for changed, added or removed nodes. <p> If this is null, <member>Nodes</member> must contain only the root node */ XTreeNode ParentNode; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl b/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl index 20ee645d56e8..333c10353975 100644 --- a/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl +++ b/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,23 +24,23 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__ -#define __com_sun_star_awt_tree_TreeExpansionEvent_idl__ - -#ifndef __com_sun_star_lang_EventObject_idl__ -#include <com/sun/star/lang/EventObject.idl> -#endif +#ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__ +#define __com_sun_star_awt_tree_TreeExpansionEvent_idl__ + +#ifndef __com_sun_star_lang_EventObject_idl__ +#include <com/sun/star/lang/EventObject.idl> +#endif #ifndef __com_sun_star_awt_tree_XTreeNode_idl__ #include <com/sun/star/awt/tree/XTreeNode.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** This event tells you what node is currently expanding or collapsing. @see XTreeExpansionListener @@ -50,10 +50,10 @@ struct TreeExpansionEvent : ::com::sun::star::lang::EventObject { /* The node that has been expanded/collapsed.*/ com::sun::star::awt::tree::XTreeNode Node; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl b/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl index b2ef8c65a706..f153b6910423 100644 --- a/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl +++ b/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,23 +24,23 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XMutableTreeDataModel_idl__ -#define __com_sun_star_awt_tree_XMutableTreeDataModel_idl__ +#ifndef __com_sun_star_awt_tree_XMutableTreeDataModel_idl__ +#define __com_sun_star_awt_tree_XMutableTreeDataModel_idl__ -#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ +#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ #include <com/sun/star/awt/tree/XTreeDataModel.idl> #endif -#ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__ +#ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__ #include <com/sun/star/awt/tree/XMutableTreeNode.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** This is the editable version of the <type>XTreeDataModel</type>. <p>Note that only <type>XTreeNode</type> created from the same instance with <member>createNode</member> @@ -49,7 +49,7 @@ module com { module sun { module star { module awt { module tree { interface XMutableTreeDataModel : XTreeDataModel { /** creates a new tree node with the given value and given settings. - + @param DisplayValue should be convertable to a string and is used by the <type>XTreeControl</type> as a textual represenation of the created node. @@ -77,9 +77,9 @@ interface XMutableTreeDataModel : XTreeDataModel void setRoot( [in] XMutableTreeNode RootNode ) raises( ::com::sun::star::lang::IllegalArgumentException ); }; - -//============================================================================= - + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl b/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl index 1ecf30290400..2fce673b1aec 100644 --- a/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl +++ b/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,26 +24,26 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__ -#define __com_sun_star_awt_tree_XMutableTreeNode_idl__ - +#ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__ +#define __com_sun_star_awt_tree_XMutableTreeNode_idl__ + #ifndef __com_sun_star_awt_tree_XTreeNode_idl__ #include <com/sun/star/awt/tree/XTreeNode.idl> #endif -#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ -#include <com/sun/star/lang/IllegalArgumentException.idl> -#endif - -#ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ -#include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#endif - -//============================================================================= +#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ +#include <com/sun/star/lang/IllegalArgumentException.idl> +#endif + +#ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ +#include <com/sun/star/lang/IndexOutOfBoundsException.idl> +#endif +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= +//============================================================================= /** Represents a mutable tree node as used by the <type>MutableTreeDataModel</type> */ @@ -69,8 +69,8 @@ interface XMutableTreeNode : XTreeNode if <var>Index</var> is less than 0 or greater then <member>XTreeNode::getChildCount()</member>. */ void insertChildByIndex( [in] long Index, [in] XMutableTreeNode ChildNode ) - raises( com::sun::star::lang::IllegalArgumentException, - com::sun::star::lang::IndexOutOfBoundsException ); + raises( com::sun::star::lang::IllegalArgumentException, + com::sun::star::lang::IndexOutOfBoundsException ); /** removes the node from this instance at the specified index. @@ -80,9 +80,9 @@ interface XMutableTreeNode : XTreeNode @throws ::com::sun::star::lang::IndexOutOfBoundsException if <var>Index</var> is less than 0 or greater then <member>XTreeNode::getChildCount()</member>. */ - void removeChildByIndex( [in] long Index ) - raises( com::sun::star::lang::IndexOutOfBoundsException ); - + void removeChildByIndex( [in] long Index ) + raises( com::sun::star::lang::IndexOutOfBoundsException ); + /** Changes if the children of this node are created on demand. @see XTreeNode::hasChildrenOnDemand() @@ -113,10 +113,10 @@ interface XMutableTreeNode : XTreeNode <p>If <var>URL</var> is empty, <member>XTreeControl::DefaultCollapsedGraphicURL</member> is used. */ void setCollapsedGraphicURL( [in] string URL ); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeControl.idl b/offapi/com/sun/star/awt/tree/XTreeControl.idl index a5341257ba45..dafdedc1a6da 100644 --- a/offapi/com/sun/star/awt/tree/XTreeControl.idl +++ b/offapi/com/sun/star/awt/tree/XTreeControl.idl @@ -1,7 +1,7 @@ /************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,12 +24,12 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeControl_idl__ -#define __com_sun_star_awt_tree_XTreeControl_idl__ - -#ifndef __com_sun_star_awt_XControl_idl__ -#include <com/sun/star/awt/XControl.idl> -#endif +#ifndef __com_sun_star_awt_tree_XTreeControl_idl__ +#define __com_sun_star_awt_tree_XTreeControl_idl__ + +#ifndef __com_sun_star_awt_XControl_idl__ +#include <com/sun/star/awt/XControl.idl> +#endif #ifndef __com_sun_star_awt_tree_XTreeExpansionListener_idl__ #include <com/sun/star/awt/tree/XTreeExpansionListener.idl> @@ -39,24 +39,24 @@ #include <com/sun/star/view/XMultiSelectionSupplier.idl> #endif -#ifndef __com_sun_star_awt_tree_XTreeEditListener_idl__ +#ifndef __com_sun_star_awt_tree_XTreeEditListener_idl__ #include <com/sun/star/awt/tree/XTreeEditListener.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= - +//============================================================================= + /** An interface to a control that displays a set of hierarchical data as an outline. @see TreeControl */ interface XTreeControl -{ - /** This interfaces provides access to the selection of tree nodes for this control. - +{ + /** This interfaces provides access to the selection of tree nodes for this control. + <p>valid selection values for this interface are <type>XTreeNode</type> or sequence<<type>XTreeNode</type>>.</p> @@ -88,7 +88,7 @@ interface XTreeControl /** Returns <TRUE/> if <var>Node</var> is currently collapsed. @param Node - the <type>XTreeNode</type> specifying the node to check + the <type>XTreeNode</type> specifying the node to check @returns <TRUE/> if <var>Node</var> or at least one of its parent nodes are collapsed, @@ -275,7 +275,7 @@ interface XTreeControl /** Adds a <type>XTreeEditListener</type>. @param xListener - a <type>XTreeEditListener</type> that will be notified + a <type>XTreeEditListener</type> that will be notified before and after a tree node is edited. */ void addTreeEditListener( [in] XTreeEditListener Listener ); @@ -286,10 +286,10 @@ interface XTreeControl the <type>XTreeEditListener</type> to remove */ void removeTreeEditListener( [in] XTreeEditListener Listener ); -}; - -//============================================================================= +}; + +//============================================================================= }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeDataModel.idl b/offapi/com/sun/star/awt/tree/XTreeDataModel.idl index 50f6dcae2151..53338d5aca15 100644 --- a/offapi/com/sun/star/awt/tree/XTreeDataModel.idl +++ b/offapi/com/sun/star/awt/tree/XTreeDataModel.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,18 +24,18 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ -#define __com_sun_star_awt_tree_XTreeDataModel_idl__ +#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__ +#define __com_sun_star_awt_tree_XTreeDataModel_idl__ #ifndef __com_sun_star_awt_tree_XTreeDataModelListener_idl__ #include <com/sun/star/awt/tree/XTreeDataModelListener.idl> #endif -#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ -#include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ +#include <com/sun/star/lang/IllegalArgumentException.idl> +#endif -#ifndef __com_sun_star_lang_XComponent_idl__ +#ifndef __com_sun_star_lang_XComponent_idl__ #include <com/sun/star/lang/XComponent.idl> #endif @@ -43,12 +43,12 @@ #include <com/sun/star/awt/tree/XTreeNode.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** An instance of this interface is used by the <type>TreeControl</type> to retrieve the hierarchical outline data that is displayed in the actual control. @@ -83,10 +83,10 @@ interface XTreeDataModel : ::com::sun::star::lang::XComponent */ void removeTreeDataModelListener( [in] XTreeDataModelListener Listener ); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl index 5110dac3623e..e1c1dd58c6b3 100644 --- a/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl +++ b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,27 +24,27 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeDataModelListener_idl__ -#define __com_sun_star_awt_tree_XTreeDataModelListener_idl__ - -#ifndef __com_sun_star_lang_XEventListener_idl__ -#include <com/sun/star/lang/XEventListener.idl> -#endif - -#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__ -#include <com/sun/star/awt/tree/TreeDataModelEvent.idl> -#endif - - -//============================================================================= - +#ifndef __com_sun_star_awt_tree_XTreeDataModelListener_idl__ +#define __com_sun_star_awt_tree_XTreeDataModelListener_idl__ + +#ifndef __com_sun_star_lang_XEventListener_idl__ +#include <com/sun/star/lang/XEventListener.idl> +#endif + +#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__ +#include <com/sun/star/awt/tree/TreeDataModelEvent.idl> +#endif + + +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** An instance of this interface is used by the <type>TreeControl</type> to get notifications about data model changes. - + <p>Usually you must not implement this interface yourself as it is already handled by the <type>TreeControl</type>, but you must notify it correctly if you implement the <type>XTreeDataModel</type> yourself</p>. @@ -55,7 +55,7 @@ interface XTreeDataModelListener: com::sun::star::lang::XEventListener The node(s) have not changed locations in the tree or altered their children arrays, but other attributes have changed and may affect presentation. - + Example: the name of a file has changed, but it is in the same location in the file system. To indicate the root has changed, <member>TreeDataModelEvent::Nodes</member> will contain @@ -86,10 +86,10 @@ interface XTreeDataModelListener: com::sun::star::lang::XEventListener structure has changed. <member>TreeDataModelEvent::Nodes</member> is empty. */ void treeStructureChanged( [in] TreeDataModelEvent Event ); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeEditListener.idl b/offapi/com/sun/star/awt/tree/XTreeEditListener.idl index dcaec810dae8..6256a9ac831e 100644 --- a/offapi/com/sun/star/awt/tree/XTreeEditListener.idl +++ b/offapi/com/sun/star/awt/tree/XTreeEditListener.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,31 +24,31 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeEditListener_idl__ -#define __com_sun_star_awt_tree_XTreeEditListener_idl__ +#ifndef __com_sun_star_awt_tree_XTreeEditListener_idl__ +#define __com_sun_star_awt_tree_XTreeEditListener_idl__ #ifndef __com_sun_star_awt_tree_XTreeNode_idl__ #include <com/sun/star/awt/tree/XTreeNode.idl> #endif -#ifndef __com_sun_star_lang_XEventListener_idl__ -#include <com/sun/star/lang/XEventListener.idl> -#endif +#ifndef __com_sun_star_lang_XEventListener_idl__ +#include <com/sun/star/lang/XEventListener.idl> +#endif #ifndef __com_sun_star_util_VetoException_idl__ #include <com/sun/star/util/VetoException.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** You can implement this interface and register with <method scope="XTreeControl">addTreeEditListener</method> to get notifcaitons when editing of a node starts and ends. - <p>You have to set the <member>TreeControlModel::Editable</member> property to + <p>You have to set the <member>TreeControlModel::Editable</member> property to <TRUE/> before a tree supports editing.</p> */ interface XTreeEditListener : ::com::sun::star::lang::XEventListener @@ -59,7 +59,7 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener @param Node the <type>XTreeNode</type> for that an edit request was fired by calling <method scope="XTreeControl">startEditingAtNode</method> - + @throws VetoException if thrown the editing will not start. */ @@ -80,10 +80,10 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener the text that was entered by the user. */ void nodeEdited( [in] XTreeNode Node, [in] string NewText ); -}; - -//============================================================================= +}; +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl b/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl index 8b235ff6db28..01cc91664357 100644 --- a/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl +++ b/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,27 +24,27 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeExpansionListener_idl__ -#define __com_sun_star_awt_tree_XTreeExpansionListener_idl__ - -#ifndef __com_sun_star_lang_XEventListener_idl__ -#include <com/sun/star/lang/XEventListener.idl> -#endif - -#ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__ -#include <com/sun/star/awt/tree/TreeExpansionEvent.idl> -#endif +#ifndef __com_sun_star_awt_tree_XTreeExpansionListener_idl__ +#define __com_sun_star_awt_tree_XTreeExpansionListener_idl__ + +#ifndef __com_sun_star_lang_XEventListener_idl__ +#include <com/sun/star/lang/XEventListener.idl> +#endif + +#ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__ +#include <com/sun/star/awt/tree/TreeExpansionEvent.idl> +#endif #ifndef __com_sun_star_awt_tree_ExpandVetoException_idl__ #include <com/sun/star/awt/tree/ExpandVetoException.idl> #endif - -//============================================================================= - + +//============================================================================= + module com { module sun { module star { module awt { module tree { - -//============================================================================= - + +//============================================================================= + /** An instance of this interface can get notifications from a <type>TreeControl</type> when nodes are expanded or collapsed. @@ -83,10 +83,10 @@ interface XTreeExpansionListener: com::sun::star::lang::XEventListener /** Called whenever a node in the tree has been succesfully collapsed. */ void treeCollapsed( [in] TreeExpansionEvent Event ); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/XTreeNode.idl b/offapi/com/sun/star/awt/tree/XTreeNode.idl index b19af432f5d2..d47ccc607b2f 100644 --- a/offapi/com/sun/star/awt/tree/XTreeNode.idl +++ b/offapi/com/sun/star/awt/tree/XTreeNode.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,9 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_awt_tree_XTreeNode_idl__ -#define __com_sun_star_awt_tree_XTreeNode_idl__ - +#ifndef __com_sun_star_awt_tree_XTreeNode_idl__ +#define __com_sun_star_awt_tree_XTreeNode_idl__ + #ifndef __com_sun_star_container_XEnumerationAccess_idl__ #include <com/sun/star/container/XEnumerationAccess.idl> #endif @@ -35,12 +35,12 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.idl> #endif -//============================================================================= - +//============================================================================= + module com { module sun { module star { module awt { module tree { -//============================================================================= - +//============================================================================= + /** An instance implementing this interface represents the model data for an entry in a <type>XTreeDataModel</type>. <p>The <type>TreeControl</type> uses this interface to retrieve the model @@ -50,7 +50,7 @@ module com { module sun { module star { module awt { module tree { interface XTreeNode { /** Returns the child tree node at <var>Index</var>. - + @throws ::com::sun::star::lang::IndexOutOfBoundsException if <var>Index</var> is less than 0 or equal or greater then <member>getChildCount</member>. */ @@ -96,10 +96,10 @@ interface XTreeNode <p>If <var>URL</var> is empty, <member>XTreeControl::DefaultCollapsedGraphicURL</member> is used. */ string getCollapsedGraphicURL(); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif |