diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2011-03-18 15:55:57 +0100 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2011-03-18 15:55:57 +0100 |
commit | a97550ecc8a573e0e97795b80d3459435f2c32c3 (patch) | |
tree | eb48c375f230cef869f117ccfcf5eda9575183be /offapi/com/sun/star | |
parent | d143205cb540875d39b711af6ea94c3bc7b14ec6 (diff) |
#i117329# - Publishing of UNO types, 4th wave.
Diffstat (limited to 'offapi/com/sun/star')
73 files changed, 793 insertions, 805 deletions
diff --git a/offapi/com/sun/star/awt/tree/ExpandVetoException.idl b/offapi/com/sun/star/awt/tree/ExpandVetoException.idl index 69e0a1004..b3675f334 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,35 +24,35 @@ * 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 */ -exception ExpandVetoException : com::sun::star::util::VetoException +published 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 8edabf981..8ecf6eba6 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,21 +35,21 @@ #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. */ -service MutableTreeDataModel : XMutableTreeDataModel +published service MutableTreeDataModel : XMutableTreeDataModel { }; -//============================================================================= - +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl index 2e372ef14..c02108707 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> @@ -50,7 +50,7 @@ module com { module sun { module star { module awt { module tree { @see XTreeControl @see XTreeDataModelListener */ -struct TreeDataModelEvent : ::com::sun::star::lang::EventObject +published struct TreeDataModelEvent : ::com::sun::star::lang::EventObject { /** contains the changed, added or removed nodes. <p> All nodes must have <member>ParentNode</member> as parent. */ @@ -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 333c10353..524b43dd3 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,36 +24,36 @@ * 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 @see XTreeControl */ -struct TreeExpansionEvent : ::com::sun::star::lang::EventObject +published 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 f153b6910..6634a31ca 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,32 +24,32 @@ * 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> are valids nodes for this instance.</p> */ -interface XMutableTreeDataModel : XTreeDataModel +published 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 2fce673b1..fed14b189 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,30 +24,30 @@ * 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> */ -interface XMutableTreeNode : XTreeNode +published interface XMutableTreeNode : XTreeNode { /** appends <var>ChildNode</var> to this instance. @@ -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 33713d470..10f235d2f 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 -{ +published interface XTreeControl +{ /** 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 53338d5ac..f6eac6b11 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. @@ -58,7 +58,7 @@ module com { module sun { module star { module awt { module tree { If you do not need your own model implementation, you can also use the <type>MutableTreeDataModel</type>. */ -interface XTreeDataModel : ::com::sun::star::lang::XComponent +published interface XTreeDataModel : ::com::sun::star::lang::XComponent { /** Returns the root of the tree. <p>Returns null only if the tree has no nodes. @@ -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 e1c1dd58c..5925eeab3 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,38 +24,38 @@ * 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>. */ -interface XTreeDataModelListener: com::sun::star::lang::XEventListener +published interface XTreeDataModelListener: com::sun::star::lang::XEventListener { /** Invoked after a node (or a set of siblings) has changed in some way. 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 6256a9ac8..75875c7fb 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,34 +24,34 @@ * 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 +published interface XTreeEditListener : ::com::sun::star::lang::XEventListener { /** This method is called from the <type>TreeControl</type> implementation when editing of <var>Node</var> is requested by calling <member>XTreeControl::startEditingAtNode()</member>. @@ -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 01cc91664..759e74a40 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,34 +24,34 @@ * 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. @see XTreeControl::addTreeExpansionListener @see XTreeControl::removeTreeExpansionListener */ -interface XTreeExpansionListener: com::sun::star::lang::XEventListener +published interface XTreeExpansionListener: com::sun::star::lang::XEventListener { /** Invoked when a node with children on demand is about to be expanded. @@ -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 d47ccc607..e867f40d2 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,22 +35,22 @@ #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 information needed to display a hierarchical outline</p> <p>Each XTreeNode in a <type>XTreeDataModel</type> must be unique. */ -interface XTreeNode +published 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 diff --git a/offapi/com/sun/star/datatransfer/XTransferableSupplier.idl b/offapi/com/sun/star/datatransfer/XTransferableSupplier.idl index e616351d2..db5e65206 100644 --- a/offapi/com/sun/star/datatransfer/XTransferableSupplier.idl +++ b/offapi/com/sun/star/datatransfer/XTransferableSupplier.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 @@ -40,7 +40,7 @@ module com { module sun { module star { module datatransfer { -interface XTransferableSupplier +published interface XTransferableSupplier { //------------------------------------------------------------------------- /** To get access to a transferable representation of a selected part of an object. diff --git a/offapi/com/sun/star/drawing/XSlidePreviewCache.idl b/offapi/com/sun/star/drawing/XSlidePreviewCache.idl index db615f0a2..eb1cecb7a 100644 --- a/offapi/com/sun/star/drawing/XSlidePreviewCache.idl +++ b/offapi/com/sun/star/drawing/XSlidePreviewCache.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 @@ -44,16 +44,15 @@ #include <com/sun/star/rendering/XCanvas.idl> #endif - module com { module sun { module star { module drawing { /** Listener for asynchronous preview creations. Called when a slide preview has been created that was previously requested via a call to - <method>XSlidePreviewCache::getSlidePreview()</method>. The + <method>XSlidePreviewCache::getSlidePreview()</method>. The implementor may then call <method>getSlidePreview()</method> a second time to get the up-to-date version of the preview. */ -interface XSlidePreviewCacheListener +published interface XSlidePreviewCacheListener { /** Called by a <interface>XSlidePreviewCache</interface> object when a preview has been created for the slide with the given index. @@ -77,7 +76,7 @@ interface XSlidePreviewCacheListener order to allow multiple references to a single slide (custom presentations). */ -interface XSlidePreviewCache +published interface XSlidePreviewCache { /** Set the set of slides for which the cache will provide the previews. All slides in the given XIndexAccess are required to come diff --git a/offapi/com/sun/star/drawing/framework/AnchorBindingMode.idl b/offapi/com/sun/star/drawing/framework/AnchorBindingMode.idl index 6d99dbc41..9a6514451 100644 --- a/offapi/com/sun/star/drawing/framework/AnchorBindingMode.idl +++ b/offapi/com/sun/star/drawing/framework/AnchorBindingMode.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 @@ -43,7 +43,7 @@ module com { module sun { module star { module drawing { module framework { anchor a1:a2 which itself is a resource a1 bound to anchor a2. Then r:a1:a2 is bound directly to a1:a2 and indirectly to a2.</p> */ -enum AnchorBindingMode +published enum AnchorBindingMode { DIRECT, INDIRECT diff --git a/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl b/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl index 44c359b6b..ac4db617e 100644 --- a/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl +++ b/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.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 @@ -36,9 +36,8 @@ module com { module sun { module star { module uno { interface XInterface; }; }; module com { module sun { module star { module drawing { module framework { -interface XConfiguration; -interface XConfigurationController; -interface XResourceId; +published interface XConfiguration; +published interface XResourceId; /** Objects of this class are used for notifying changes of the configuration. @@ -53,7 +52,7 @@ interface XResourceId; general guidelines. See <type>XConfigurationController</type> for a list of event types used by the basic drawing framework.</p> */ -struct ConfigurationChangeEvent +published struct ConfigurationChangeEvent : ::com::sun::star::lang::EventObject { /** The type of configuration change is a free-form string. This is the diff --git a/offapi/com/sun/star/drawing/framework/ResourceActivationMode.idl b/offapi/com/sun/star/drawing/framework/ResourceActivationMode.idl index 07d896e45..162d94f24 100644 --- a/offapi/com/sun/star/drawing/framework/ResourceActivationMode.idl +++ b/offapi/com/sun/star/drawing/framework/ResourceActivationMode.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 @@ -32,11 +32,11 @@ module com { module sun { module star { module drawing { module framework { /** The ResourceActivationMode specifies, for example for the <member scope="com::sun::star::drawing::framework" - >XConfigurationController::requestResourceActivation()</member>, + >XConfigurationController::requestResourceActivation()</member>, whether a requested resource is to replace an existing resource of the same class or is to be activated additionally. */ -enum ResourceActivationMode +published enum ResourceActivationMode { /** A resource is requested in addition to already existing ones. This is used for example for panes. diff --git a/offapi/com/sun/star/drawing/framework/XConfiguration.idl b/offapi/com/sun/star/drawing/framework/XConfiguration.idl index 94fac0dd2..acbb5ecab 100644 --- a/offapi/com/sun/star/drawing/framework/XConfiguration.idl +++ b/offapi/com/sun/star/drawing/framework/XConfiguration.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 @@ -40,7 +40,7 @@ module com { module sun { module star { module drawing { module framework { -interface XResourceId; +published interface XResourceId; /** A configuration describes the resources of an application like panes, views, and tool bars and their relationships that are currently active @@ -54,7 +54,7 @@ interface XResourceId; @see XConfigurationController */ -interface XConfiguration +published interface XConfiguration : ::com::sun::star::util::XCloneable { /** Returns the list of resources that are bound directly and/or @@ -117,7 +117,7 @@ interface XConfiguration IllegalArgumentException is thrown. */ void addResource ([in] XResourceId xResourceId); - + /** Remove a resource from the configuration. <p>This method should be used only by objects that implement the <type>XConfigurationRequest</type> interface or by the configuration diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationChangeListener.idl b/offapi/com/sun/star/drawing/framework/XConfigurationChangeListener.idl index 8412320b1..742a31413 100644 --- a/offapi/com/sun/star/drawing/framework/XConfigurationChangeListener.idl +++ b/offapi/com/sun/star/drawing/framework/XConfigurationChangeListener.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 @@ -41,7 +41,7 @@ module com { module sun { module star { module drawing { module framework { registered at the configuration controller and a configuration change occurs. */ -interface XConfigurationChangeListener +published interface XConfigurationChangeListener : ::com::sun::star::lang::XEventListener { /** The exact time of when a listener is called (before the change takes diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationChangeRequest.idl b/offapi/com/sun/star/drawing/framework/XConfigurationChangeRequest.idl index 0f4b6032d..7a37f8e56 100644 --- a/offapi/com/sun/star/drawing/framework/XConfigurationChangeRequest.idl +++ b/offapi/com/sun/star/drawing/framework/XConfigurationChangeRequest.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 @@ -37,7 +37,7 @@ module com { module sun { module star { module drawing { module framework { -interface XConfiguration; +published interface XConfiguration; /** A single explicit request for a configuration change. @@ -53,7 +53,7 @@ interface XConfiguration; <p>This interface is typically used internally by the <type>XConfigurationController</type></p> @see XConfigurationController */ -interface XConfigurationChangeRequest +published interface XConfigurationChangeRequest { /** Commit the configuration change request represented by the called object to the given configuration. diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationController.idl b/offapi/com/sun/star/drawing/framework/XConfigurationController.idl index d50b2bf3f..9d7630318 100644 --- a/offapi/com/sun/star/drawing/framework/XConfigurationController.idl +++ b/offapi/com/sun/star/drawing/framework/XConfigurationController.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 @@ -46,11 +46,11 @@ module com { module sun { module star { module drawing { module framework { -interface XConfigurationChangeListener; -interface XConfigurationChangeRequest; -interface XResourceId; -interface XResource; - +published interface XConfigurationChangeListener; +published interface XConfigurationChangeRequest; +published interface XResourceId; +published interface XResource; + /** The configuration controller is responsible for the management of the set of active resources. @@ -62,18 +62,18 @@ interface XResource; <member>requestResourceActivation()</member> and <member>requestResourceDeactivation()</member>.</li> </ul></p> - + <p>When the two configurations differ then the current configuration is updated eventually to reflect the requested configuration. An update takes place when the following three conditions are fullfilled. <ol> <li>when the last pending request for configuration changes has been - processed,</li> + processed,</li> <li>when the <member>update()</member> method is called.</li> <li>when the configuration manager it is unlocked after formerly being locked.</li> </ol></p> - + <p>Requests for configuration changes are handled in a two step process: <ol> <li>First the requested configuration is updated iteratively: Every @@ -94,7 +94,7 @@ interface XResource; <p>This process goes on until the queue of request objects becomes empty. Until this point only the requested configuration has been modified. No resources have been activated or deactivated.</p></li> - + <li><p>The second update step activates or deactivates resources so that the current configuration (the one that comprises the actually active resources) reflects the requested configuration.</p> @@ -157,7 +157,7 @@ interface XResource; deactivated resource.</p></li> </ul></p> */ -interface XConfigurationController +published interface XConfigurationController { interface XConfigurationControllerRequestQueue; interface XConfigurationControllerBroadcaster; diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.idl b/offapi/com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.idl index d36f4467a..01755f1ab 100644 --- a/offapi/com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.idl +++ b/offapi/com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.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 @@ -37,13 +37,13 @@ module com { module sun { module star { module drawing { module framework { -interface XConfigurationChangeListener; +published interface XConfigurationChangeListener; /** Manage the set of registered event listeners and the event notification for a configuration controller. <p>The listeners are called in the order in which they are registered.</p> */ -interface XConfigurationControllerBroadcaster +published interface XConfigurationControllerBroadcaster { /** Add a new listener for configuration changes. <p>The listener is notified only for the specified type of diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.idl b/offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.idl index 885448f2b..e993b5bef 100644 --- a/offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.idl +++ b/offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.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 @@ -34,17 +34,17 @@ module com { module sun { module star { module drawing { module framework { -interface XConfigurationChangeRequest; +published interface XConfigurationChangeRequest; /** The request queue of the configuration controller handles requests for changes to the current configuration. - + <p>This interface allows callers to add requests to the back of the queue and to determine wheter the queue is empty. Using this interace should normally not be necessary for anyone else than the <type>XConfigurationController</type>. It may be removed in the future.</p> */ -interface XConfigurationControllerRequestQueue +published interface XConfigurationControllerRequestQueue { /** Return whether there are pending requests for configuration changes. @return diff --git a/offapi/com/sun/star/drawing/framework/XPane.idl b/offapi/com/sun/star/drawing/framework/XPane.idl index d75cb6800..1126b69be 100644 --- a/offapi/com/sun/star/drawing/framework/XPane.idl +++ b/offapi/com/sun/star/drawing/framework/XPane.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 @@ -49,7 +49,7 @@ module com { module sun { module star { module drawing { module framework { parts like title, menu, closer button.</p> <p>The URL prefix of panes is <code>private:resource/floater</code></p> */ -interface XPane +published interface XPane { interface XResource; @@ -59,7 +59,7 @@ interface XPane ::com::sun::star::awt::XWindow getWindow (); /** Return the <type scope="com::sun::star::awt">XCanvas</type> of the pane. The - <type scope="com::sun::star::rendering">XCanvas</type> object is expected to + <type scope="com::sun::star::rendering">XCanvas</type> object is expected to be associated with the <type scope="com::sun::star::awt">XWindow</type> object returned by <member>getWindow()</member>. diff --git a/offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl b/offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl index 11b703dbd..80bd19403 100644 --- a/offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl +++ b/offapi/com/sun/star/drawing/framework/XPaneBorderPainter.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 @@ -43,7 +43,7 @@ module com { module sun { module star { module drawing { module framework { /** See XPaneBorderPainter and its addBorder() and removeBorder() methods for an explanation of the border type and its values. */ -enum BorderType +published enum BorderType { INNER_BORDER, OUTER_BORDER, @@ -52,7 +52,7 @@ enum BorderType /** Paint the border around a rectangular region, typically a pane. - + <p>Calling objects have to be able to derive inner bounding boxs of the border from the outer ones and inner ones from outer ones. This conversion and the painting of the border involves three rectangles. @@ -65,7 +65,7 @@ enum BorderType left corner bitmap is painted with its lower right at the upper left of the center box.</p> */ -interface XPaneBorderPainter +published interface XPaneBorderPainter { /** Enlarge the given rectangle by the size of the specified part of the border. This method can be used to convert an inner bounding box diff --git a/offapi/com/sun/star/drawing/framework/XResource.idl b/offapi/com/sun/star/drawing/framework/XResource.idl index 312d7ed27..3b3c6a643 100644 --- a/offapi/com/sun/star/drawing/framework/XResource.idl +++ b/offapi/com/sun/star/drawing/framework/XResource.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 @@ -34,12 +34,12 @@ module com { module sun { module star { module drawing { module framework { -interface XResourceId; +published interface XResourceId; /** Base interface that provides functionality shared by all resource types of the drawing framework. */ -interface XResource +published interface XResource { /** Return an <type>XResourceId</type> object for the called resource. The returned id unambiguously indentifies the resource. diff --git a/offapi/com/sun/star/drawing/framework/XResourceFactory.idl b/offapi/com/sun/star/drawing/framework/XResourceFactory.idl index 5193d09f8..6b76edad5 100644 --- a/offapi/com/sun/star/drawing/framework/XResourceFactory.idl +++ b/offapi/com/sun/star/drawing/framework/XResourceFactory.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 @@ -40,8 +40,8 @@ module com { module sun { module star { module drawing { module framework { -interface XResource; -interface XResourceId; +published interface XResource; +published interface XResourceId; /** Factory and possibly cache for creating and releasing resources. <p>A resource factory is created and used by the @@ -49,7 +49,7 @@ interface XResourceId; <p>A factory may want to implement a cache to reuse previously released resources.</p> */ -interface XResourceFactory +published interface XResourceFactory { /** Create a resource for the given <type>XResourceId</type> object. @param xResourceId diff --git a/offapi/com/sun/star/drawing/framework/XResourceFactoryManager.idl b/offapi/com/sun/star/drawing/framework/XResourceFactoryManager.idl index 595f41314..5865d4625 100644 --- a/offapi/com/sun/star/drawing/framework/XResourceFactoryManager.idl +++ b/offapi/com/sun/star/drawing/framework/XResourceFactoryManager.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 @@ -34,16 +34,16 @@ module com { module sun { module star { module drawing { module framework { -interface XResourceId; -interface XResourceFactory; - +published interface XResourceId; +published interface XResourceFactory; + /** The XResourceFactoryManager is part of the configuration controller and manages the set of registered resource factories. @see XConfigurationController @see XResourceFactory */ -interface XResourceFactoryManager +published interface XResourceFactoryManager { /** Register a new resource factory for the given URL. <p>When one factory is responsible for more than one type of resource diff --git a/offapi/com/sun/star/drawing/framework/XResourceId.idl b/offapi/com/sun/star/drawing/framework/XResourceId.idl index 3ca156ad2..1f5871f3a 100644 --- a/offapi/com/sun/star/drawing/framework/XResourceId.idl +++ b/offapi/com/sun/star/drawing/framework/XResourceId.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 @@ -55,7 +55,7 @@ module com { module sun { module star { module drawing { module framework { method on its creation. Arguments are only available through the getFullResourceURL(). The getResourceURL() method strips them away.</p> */ -interface XResourceId +published interface XResourceId { /** Return the URL of the resource. Arguments supplied on creation are stripped away. Use getFullResourceURL() to access them. diff --git a/offapi/com/sun/star/drawing/framework/XView.idl b/offapi/com/sun/star/drawing/framework/XView.idl index 552915290..3a45919fb 100644 --- a/offapi/com/sun/star/drawing/framework/XView.idl +++ b/offapi/com/sun/star/drawing/framework/XView.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 @@ -46,7 +46,7 @@ module com { module sun { module star { module drawing { module framework { reference them.</p> <p>The URL prefix of views is <code>private:resource/view</code></p> */ -interface XView +published interface XView { interface XResource; }; diff --git a/offapi/com/sun/star/geometry/AffineMatrix2D.idl b/offapi/com/sun/star/geometry/AffineMatrix2D.idl index 11306a269..5162db83a 100644 --- a/offapi/com/sun/star/geometry/AffineMatrix2D.idl +++ b/offapi/com/sun/star/geometry/AffineMatrix2D.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 @@ -37,7 +37,7 @@ module com { module sun { module star { module geometry { to be [0,0,1].<p> An affine mapping, as performed by this matrix, can be written out - as follows, where <code>xs</code> and <code>ys</code> are the source, and + as follows, where <code>xs</code> and <code>ys</code> are the source, and <code>xd</code> and <code>yd</code> the corresponding result coordinates: <code> @@ -67,7 +67,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct AffineMatrix2D +published struct AffineMatrix2D { /// The top, left matrix entry. double m00; diff --git a/offapi/com/sun/star/geometry/IntegerSize2D.idl b/offapi/com/sun/star/geometry/IntegerSize2D.idl index e9aea711e..0f41d2d6a 100644 --- a/offapi/com/sun/star/geometry/IntegerSize2D.idl +++ b/offapi/com/sun/star/geometry/IntegerSize2D.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 @@ -35,7 +35,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct IntegerSize2D +published struct IntegerSize2D { /// Amount of space occupied in the x direction. long Width; diff --git a/offapi/com/sun/star/geometry/Matrix2D.idl b/offapi/com/sun/star/geometry/Matrix2D.idl index 3fac5764d..7d96b7d2a 100644 --- a/offapi/com/sun/star/geometry/Matrix2D.idl +++ b/offapi/com/sun/star/geometry/Matrix2D.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 @@ -40,7 +40,7 @@ module com { module sun { module star { module geometry { matrix does not include any translational components.<p> A linear mapping, as performed by this matrix, can be written out - as follows, where <code>xs</code> and <code>ys</code> are the source, and + as follows, where <code>xs</code> and <code>ys</code> are the source, and <code>xd</code> and <code>yd</code> the corresponding result coordinates: <code> @@ -70,7 +70,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct Matrix2D +published struct Matrix2D { /// The top, left matrix entry. double m00; diff --git a/offapi/com/sun/star/geometry/RealBezierSegment2D.idl b/offapi/com/sun/star/geometry/RealBezierSegment2D.idl index 3183f7407..83180b1ae 100644 --- a/offapi/com/sun/star/geometry/RealBezierSegment2D.idl +++ b/offapi/com/sun/star/geometry/RealBezierSegment2D.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 @@ -43,7 +43,7 @@ module com { module sun { module star { module geometry { @see com.sun.star.rendering.XBezierPolyPolygon2D @since OOo 2.0 */ -struct RealBezierSegment2D +published struct RealBezierSegment2D { /// The x coordinate of the start point. double Px; diff --git a/offapi/com/sun/star/geometry/RealPoint2D.idl b/offapi/com/sun/star/geometry/RealPoint2D.idl index bb95ab45c..4f9b0fbc8 100644 --- a/offapi/com/sun/star/geometry/RealPoint2D.idl +++ b/offapi/com/sun/star/geometry/RealPoint2D.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 @@ -36,7 +36,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct RealPoint2D +published struct RealPoint2D { /// The x coordinate of the point. double X; diff --git a/offapi/com/sun/star/geometry/RealRectangle2D.idl b/offapi/com/sun/star/geometry/RealRectangle2D.idl index d81a6d62a..52e113046 100644 --- a/offapi/com/sun/star/geometry/RealRectangle2D.idl +++ b/offapi/com/sun/star/geometry/RealRectangle2D.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 @@ -47,7 +47,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct RealRectangle2D +published struct RealRectangle2D { /// X coordinate of upper left corner . double X1; diff --git a/offapi/com/sun/star/geometry/RealSize2D.idl b/offapi/com/sun/star/geometry/RealSize2D.idl index 0177c57ca..a01fa5bd9 100644 --- a/offapi/com/sun/star/geometry/RealSize2D.idl +++ b/offapi/com/sun/star/geometry/RealSize2D.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 @@ -35,7 +35,7 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -struct RealSize2D +published struct RealSize2D { /// Amount of space occupied in the x direction. double Width; diff --git a/offapi/com/sun/star/geometry/XMapping2D.idl b/offapi/com/sun/star/geometry/XMapping2D.idl index 981f5394b..a9a458579 100644 --- a/offapi/com/sun/star/geometry/XMapping2D.idl +++ b/offapi/com/sun/star/geometry/XMapping2D.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 @@ -27,9 +27,9 @@ #ifndef __com_sun_star_geometry_XMapping2D_idl__ #define __com_sun_star_geometry_XMapping2D_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -50,11 +50,11 @@ module com { module sun { module star { module geometry { @since OOo 2.0 */ -interface XMapping2D : ::com::sun::star::uno::XInterface +published interface XMapping2D : ::com::sun::star::uno::XInterface { /** Forward 2D mapping function */ - RealPoint2D map( [in] RealPoint2D aPoint ); + RealPoint2D map( [in] RealPoint2D aPoint ); //------------------------------------------------------------------------- @@ -64,7 +64,7 @@ interface XMapping2D : ::com::sun::star::uno::XInterface <code>map(mapInverse(p))=p</code>. This effectively rules out non-bijective mappings.<p> */ - RealPoint2D mapInverse( [in] RealPoint2D aPoint ); + RealPoint2D mapInverse( [in] RealPoint2D aPoint ); }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/AnimationAttributes.idl b/offapi/com/sun/star/rendering/AnimationAttributes.idl index 64e674681..c69009310 100644 --- a/offapi/com/sun/star/rendering/AnimationAttributes.idl +++ b/offapi/com/sun/star/rendering/AnimationAttributes.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 @@ -37,23 +37,23 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct AnimationAttributes +published struct AnimationAttributes { /// Preferred duration of the animation sequence in seconds. - double Duration; - + double Duration; + //------------------------------------------------------------------------- /** Repeat mode of the animation sequence.<p> - + This value determines how the [0,1] parameter space of the animation should be sweeped through. Permissible values are given in <type>AnimationRepeat</type>.<p> - + @see AnimationRepeat. */ byte RepeatMode; - + //------------------------------------------------------------------------- /** Size of the untrasnformed animation sequence.<p> @@ -64,7 +64,7 @@ struct AnimationAttributes animation content in finite-sized bitmaps.<p> */ ::com::sun::star::geometry::RealSize2D UntransformedSize; -}; +}; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/Caret.idl b/offapi/com/sun/star/rendering/Caret.idl index 0c7fee72b..1c1cc7463 100644 --- a/offapi/com/sun/star/rendering/Caret.idl +++ b/offapi/com/sun/star/rendering/Caret.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 @@ -36,14 +36,14 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct Caret +published struct Caret { /** This contains the main caret index.<p> The main caret index corresponds to the insert position when inserting text in the layout's main text direction. */ - long MainCaretIndex; + long MainCaretIndex; /** This contains the secondary caret index.<p> @@ -52,7 +52,7 @@ struct Caret at a direction change opposite to the layout's main text direction. */ - long SecondaryCaretIndex; + long SecondaryCaretIndex; /** The angle of the caret.<p> diff --git a/offapi/com/sun/star/rendering/FillRule.idl b/offapi/com/sun/star/rendering/FillRule.idl index d445ec879..0959ab0b2 100644 --- a/offapi/com/sun/star/rendering/FillRule.idl +++ b/offapi/com/sun/star/rendering/FillRule.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 @@ -34,7 +34,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -enum FillRule +published enum FillRule { /** Fill every area, where, when travelling along a line, the summed winding number (that is, -1 for a diff --git a/offapi/com/sun/star/rendering/FontInfo.idl b/offapi/com/sun/star/rendering/FontInfo.idl index ebc8c68e8..597476baf 100644 --- a/offapi/com/sun/star/rendering/FontInfo.idl +++ b/offapi/com/sun/star/rendering/FontInfo.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 @@ -27,7 +27,7 @@ #ifndef __com_sun_star_rendering_FontInfo_idl__ #define __com_sun_star_rendering_FontInfo_idl__ -#ifndef __com_sun_star_util_TriState_idl__ +#ifndef __com_sun_star_util_TriState_idl__ #include <com/sun/star/util/TriState.idl> #endif @@ -42,7 +42,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct FontInfo +published struct FontInfo { /** The PANOSE font classification.<p> @@ -73,7 +73,7 @@ struct FontInfo //------------------------------------------------------------------------- /** This value specifies which unicode ranges are supported by - this font.<p> + this font.<p> This is to be interpreted as a split-up 128bit value, see <a href=http://partners.adobe.com/asn/tech/type/opentype/os2.jsp#ur>Adobe's diff --git a/offapi/com/sun/star/rendering/FontMetrics.idl b/offapi/com/sun/star/rendering/FontMetrics.idl index 638bcb78c..50c97f1e2 100644 --- a/offapi/com/sun/star/rendering/FontMetrics.idl +++ b/offapi/com/sun/star/rendering/FontMetrics.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 @@ -51,20 +51,20 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct FontMetrics +published struct FontMetrics { - /// Ascent (above the baseline) part of the font. + /// Ascent (above the baseline) part of the font. double Ascent; //------------------------------------------------------------------------- /// Descent (below the baseline) part of the font. - double Descent; + double Descent; //------------------------------------------------------------------------- /// Extra space above ascent - double InternalLeading; + double InternalLeading; //------------------------------------------------------------------------- @@ -84,14 +84,14 @@ struct FontMetrics characters, and if one needs a font with double character width, the referenceCharSize should be doubled.<p> */ - double ReferenceCharSize; + double ReferenceCharSize; //------------------------------------------------------------------------- /** Specifies the offset to be added to the baseline when drawing underlined text. */ - double UnderlineOffset; + double UnderlineOffset; //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/FontRequest.idl b/offapi/com/sun/star/rendering/FontRequest.idl index 6ee711a66..79b7c5101 100644 --- a/offapi/com/sun/star/rendering/FontRequest.idl +++ b/offapi/com/sun/star/rendering/FontRequest.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 @@ -39,7 +39,7 @@ module com { module sun { module star { module rendering { /** This structure contains all information necessary to describe a font to be queried from XCanvas.<p> - + Note: Outline fonts are to be requested as a special family, set <member>FontInfo::FamilyName</member> appropriately. Emboss/relief must be emulated by upper layers.<p> @@ -50,7 +50,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct FontRequest +published struct FontRequest { /** The description of the font.<p> @@ -84,8 +84,8 @@ struct FontRequest output equals the identity transform. This also applies to all query methods, for both <type>XCanvasFont</type> and <type>XTextLayout</type>.<p> - */ - double CellSize; + */ + double CellSize; //------------------------------------------------------------------------- @@ -103,7 +103,7 @@ struct FontRequest double ReferenceAdvancement; //------------------------------------------------------------------------- - + /** The locale this font should be able to render.<p> This member supplements the diff --git a/offapi/com/sun/star/rendering/Panose.idl b/offapi/com/sun/star/rendering/Panose.idl index 3f70151f9..bdf8b421c 100644 --- a/offapi/com/sun/star/rendering/Panose.idl +++ b/offapi/com/sun/star/rendering/Panose.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 @@ -29,37 +29,37 @@ module com { module sun { module star { module rendering { -struct Panose +published struct Panose { /// <type>PanoseFamilyTypes</type> - byte FamilyType; + byte FamilyType; /// <type>PanoseSerifStyle</type> - byte SerifStyle; + byte SerifStyle; /// <type>PanoseWeight</type> - byte Weight; + byte Weight; /// <type>PanoseProportion</type> - byte Proportion; + byte Proportion; /// <type>PanoseContrast</type> - byte Contrast; + byte Contrast; /// <type>PanoseStrokeVariation</type> - byte StrokeVariation; + byte StrokeVariation; /// <type>PanoseArmStyle</type> - byte ArmStyle; + byte ArmStyle; /// <type>PanoseLetterForm</type> - byte Letterform; + byte Letterform; /// <type>PanoseMidline</type> - byte Midline; + byte Midline; /// <type>PanoseXHeight</type> - byte XHeight; + byte XHeight; }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/RenderState.idl b/offapi/com/sun/star/rendering/RenderState.idl index 4e9cf6533..e5077168c 100644 --- a/offapi/com/sun/star/rendering/RenderState.idl +++ b/offapi/com/sun/star/rendering/RenderState.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 @@ -36,7 +36,7 @@ module com { module sun { module star { module rendering { -interface XPolyPolygon2D; +published interface XPolyPolygon2D; /** This structure contains information passed to each <type>XCanvas</type> render operation.<p> @@ -47,7 +47,7 @@ interface XPolyPolygon2D; @since OOo 2.0 */ -struct RenderState +published struct RenderState { /** The affine transform associated with this render operation.<p> diff --git a/offapi/com/sun/star/rendering/StringContext.idl b/offapi/com/sun/star/rendering/StringContext.idl index ee16c5220..0cee83d9a 100644 --- a/offapi/com/sun/star/rendering/StringContext.idl +++ b/offapi/com/sun/star/rendering/StringContext.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 @@ -38,12 +38,12 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct StringContext +published struct StringContext { /** The complete text, from which a subset is selected by the parameters below. */ - string Text; + string Text; //------------------------------------------------------------------------- @@ -51,7 +51,7 @@ struct StringContext The first character has index 0.<p> */ - long StartPosition; + long StartPosition; //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/StrokeAttributes.idl b/offapi/com/sun/star/rendering/StrokeAttributes.idl index 2536888b1..04b760dc9 100644 --- a/offapi/com/sun/star/rendering/StrokeAttributes.idl +++ b/offapi/com/sun/star/rendering/StrokeAttributes.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 @@ -27,14 +27,6 @@ #ifndef __com_sun_star_rendering_StrokeAttributes_idl__ #define __com_sun_star_rendering_StrokeAttributes_idl__ -#ifndef __com_sun_star_rendering_PathCapType_idl__ -#include <com/sun/star/rendering/PathCapType.idl> -#endif -#ifndef __com_sun_star_rendering_PathJoinType_idl__ -#include <com/sun/star/rendering/PathJoinType.idl> -#endif - - module com { module sun { module star { module rendering { /** This structure contains all attributes required for path stroking.<p> @@ -45,14 +37,14 @@ module com { module sun { module star { module rendering { @single #110496# */ -struct StrokeAttributes +published struct StrokeAttributes { /** Defines the width of the stroke, measured in user coordinate space. This value must be positive (or 0.0) - */ - double StrokeWidth; + */ + double StrokeWidth; //------------------------------------------------------------------------- @@ -107,7 +99,7 @@ struct StrokeAttributes ends with a spacing, this spacing is included in the total width of the multiple-line stroke. That is, the stroke becomes asymmetric.<p> - */ + */ sequence<double> LineArray; //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/TextHit.idl b/offapi/com/sun/star/rendering/TextHit.idl index bd7bf0555..519dd0219 100644 --- a/offapi/com/sun/star/rendering/TextHit.idl +++ b/offapi/com/sun/star/rendering/TextHit.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 @@ -36,7 +36,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -struct TextHit +published struct TextHit { /** This contains the entry index.<p> @@ -49,7 +49,7 @@ struct TextHit containing the number of characters denotes an insertion <em>behind</em> the last character.<p> */ - long EntryIndex; + long EntryIndex; /** This member denotes whether the hit was on the leading edge.<p> diff --git a/offapi/com/sun/star/rendering/Texture.idl b/offapi/com/sun/star/rendering/Texture.idl index a7bbf35b4..b01d52c80 100644 --- a/offapi/com/sun/star/rendering/Texture.idl +++ b/offapi/com/sun/star/rendering/Texture.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 @@ -36,8 +36,8 @@ module com { module sun { module star { module rendering { -interface XBitmap; -interface XParametricPolyPolygon2D; +published interface XBitmap; +published interface XParametricPolyPolygon2D; /** Contains all information needed to define a texture.<p> @@ -53,7 +53,7 @@ interface XParametricPolyPolygon2D; @since OOo 2.0 */ -struct Texture +published struct Texture { /** Texture transformation from texture to primitive space.<p> @@ -136,18 +136,18 @@ struct Texture /** Repeat mode of the texture, x direction.<p> The repeat mode is separated into x and y direction, this is - the x direction part. Permissible values are from the + the x direction part. Permissible values are from the <type>TexturingMode</type> constants.<p> */ - byte RepeatModeX; + byte RepeatModeX; /** Repeat mode of the texture, y direction.<p> The repeat mode is separated into x and y direction, this is - the y direction part. Permissible values are from the + the y direction part. Permissible values are from the <type>TexturingMode</type> constants.<p> */ - byte RepeatModeY; + byte RepeatModeY; }; diff --git a/offapi/com/sun/star/rendering/ViewState.idl b/offapi/com/sun/star/rendering/ViewState.idl index 1f35b74c8..1545622f7 100644 --- a/offapi/com/sun/star/rendering/ViewState.idl +++ b/offapi/com/sun/star/rendering/ViewState.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 @@ -33,7 +33,7 @@ module com { module sun { module star { module rendering { -interface XPolyPolygon2D; +published interface XPolyPolygon2D; /** This structure contains information considered the view state.<p> @@ -43,13 +43,13 @@ interface XPolyPolygon2D; @since OOo 2.0 */ -struct ViewState +published struct ViewState { /** The affine transform associated with the view.<p> This member is used to transform coordinates of draw operations from user space to screen space.<p> - */ + */ ::com::sun::star::geometry::AffineMatrix2D AffineTransform; //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/VolatileContentDestroyedException.idl b/offapi/com/sun/star/rendering/VolatileContentDestroyedException.idl index d8681859e..90517a596 100644 --- a/offapi/com/sun/star/rendering/VolatileContentDestroyedException.idl +++ b/offapi/com/sun/star/rendering/VolatileContentDestroyedException.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,15 +24,15 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_rendering_VolatileContentDestroyedException_idl__ +#ifndef __com_sun_star_rendering_VolatileContentDestroyedException_idl__ #define __com_sun_star_rendering_VolatileContentDestroyedException_idl__ - -#ifndef __com_sun_star_uno_Exception_idl__ -#include <com/sun/star/uno/Exception.idl> -#endif - -module com { module sun { module star { module rendering { - + +#ifndef __com_sun_star_uno_Exception_idl__ +#include <com/sun/star/uno/Exception.idl> +#endif + +module com { module sun { module star { module rendering { + /** This exception indicates an invalid volatile bitmap content.<p> When accessing or rendering XVolatileBitmap data, that has @@ -40,10 +40,10 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ - exception VolatileContentDestroyedException : ::com::sun::star::uno::Exception + published exception VolatileContentDestroyedException : ::com::sun::star::uno::Exception { - }; + }; }; }; }; }; - + #endif diff --git a/offapi/com/sun/star/rendering/XAnimatedSprite.idl b/offapi/com/sun/star/rendering/XAnimatedSprite.idl index 37d375ed1..bc65b4e37 100644 --- a/offapi/com/sun/star/rendering/XAnimatedSprite.idl +++ b/offapi/com/sun/star/rendering/XAnimatedSprite.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XAnimatedSprite_idl__ #define __com_sun_star_rendering_XAnimatedSprite_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -56,7 +56,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XAnimatedSprite : XSprite +published interface XAnimatedSprite : XSprite { /** Start animation sequence of this sprite.<p> @@ -84,7 +84,7 @@ interface XAnimatedSprite : XSprite //------------------------------------------------------------------------- /** Stop the animation sequence.<p> - + A subsequent <member>XAnimatedSprite::startAnimation</member> will commence the sequence at the point where it was stopped with here. Once an animation is stopped, the associated @@ -106,7 +106,7 @@ interface XAnimatedSprite : XSprite void resetAnimation(); //------------------------------------------------------------------------- - + /** Issue an additional render call to this sprite's animation.<p> @@ -151,7 +151,7 @@ interface XAnimatedSprite : XSprite This is useful at times where one does not want multiple redraws for every state change.<p> - + Please note that if an animation is not started, the associated <type>XSpriteCanvas</type> does not update changed sprites automatically, but has to be told to do so via @@ -165,12 +165,12 @@ interface XAnimatedSprite : XSprite New view state of the sprite, and part of the transformation that is applied to aNewPos. The view transformation matrix must not be singular. - + @param aRenderState New render state of the sprite, and part of the transformation that is applied to aNewPos. The render transformation matrix must not be singular. - + @param nAlpha New alpha value of the sprite. This value must be within the [0,1] range. @@ -183,12 +183,12 @@ interface XAnimatedSprite : XSprite if one of the passed parameters does not lie in the specified, permissible range. */ - void setAll( [in] ::com::sun::star::geometry::RealPoint2D aNewPos, - [in] ViewState aViewState, - [in] RenderState aRenderState, - [in] double nAlpha, + void setAll( [in] ::com::sun::star::geometry::RealPoint2D aNewPos, + [in] ViewState aViewState, + [in] RenderState aRenderState, + [in] double nAlpha, [in] boolean bUpdateAnimation ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/XAnimation.idl b/offapi/com/sun/star/rendering/XAnimation.idl index 8008c3d8b..0393cd5be 100644 --- a/offapi/com/sun/star/rendering/XAnimation.idl +++ b/offapi/com/sun/star/rendering/XAnimation.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XAnimation_idl__ #define __com_sun_star_rendering_XAnimation_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_rendering_ViewState_idl__ #include <com/sun/star/rendering/ViewState.idl> #endif @@ -60,7 +60,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XAnimation : ::com::sun::star::uno::XInterface +published interface XAnimation : ::com::sun::star::uno::XInterface { /** Render the animation content at time t into the specified canvas.<p> @@ -72,7 +72,7 @@ interface XAnimation : ::com::sun::star::uno::XInterface same parameter set, identical output must be generated. This is because e.g. a Sprite might decide arbitrarily to render an animation once and cache the result, or repaint it via - XAnimation::render everytime.<p> + XAnimation::render everytime.<p> The rendered content, although, must be exactly the same for identical viewState, canvas and t values. Or, for that @@ -101,8 +101,8 @@ interface XAnimation : ::com::sun::star::uno::XInterface if one of the passed parameters does not lie in the specified, permissible range. */ - void render( [in] XCanvas canvas, [in] ViewState viewState, [in] double t ) - raises (com::sun::star::lang::IllegalArgumentException); + void render( [in] XCanvas canvas, [in] ViewState viewState, [in] double t ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl b/offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl index e464c59b8..361b70a99 100644 --- a/offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl +++ b/offapi/com/sun/star/rendering/XBezierPolyPolygon2D.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XBezierPolyPolygon2D_idl__ #define __com_sun_star_rendering_XBezierPolyPolygon2D_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ #include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#endif +#endif #ifndef __com_sun_star_rendering_XPolyPolygon2D_idl__ #include <com/sun/star/rendering/XPolyPolygon2D.idl> #endif @@ -43,7 +43,7 @@ module com { module sun { module star { module rendering { /** This is a specialized interface for a 2D poly-polygon containing - straight line and bezier segments.<p> + straight line and bezier segments.<p> This poly-polygon can contain polygons consisting of a mixture of cubic bezier curves and straight lines. As the straight line is a @@ -56,7 +56,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XBezierPolyPolygon2D : XPolyPolygon2D +published interface XBezierPolyPolygon2D : XPolyPolygon2D { /** Query subset of this poly-polygon.<p> @@ -89,7 +89,7 @@ interface XBezierPolyPolygon2D : XPolyPolygon2D if one of the given values exceed the permissible range. */ sequence< sequence < ::com::sun::star::geometry::RealBezierSegment2D > > getBezierSegments( [in] long nPolygonIndex, [in] long nNumberOfPolygons, [in] long nPointIndex, [in] long nNumberOfPoints ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -112,10 +112,10 @@ interface XBezierPolyPolygon2D : XPolyPolygon2D specified bezier segment data. @throws <type>com::sun::star::lang::IndexOutOfBoundsException</type> - if one of the given values exceed the permissible range. + if one of the given values exceed the permissible range. */ void setBezierSegments( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points, [in] long nPolygonIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -132,13 +132,13 @@ interface XBezierPolyPolygon2D : XPolyPolygon2D exceed the number of points in this polygon minus one. @returns the requested point. - + @throws <type>com::sun::star::lang::IndexOutOfBoundsException</type> if one of the given values exceed the permissible range. - + */ ::com::sun::star::geometry::RealBezierSegment2D getBezierSegment( [in] long nPolygonIndex, [in] long nPointIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -162,12 +162,12 @@ interface XBezierPolyPolygon2D : XPolyPolygon2D The index of the point in the polygon specified by nPolygonIndex, which is to be set. This value must not exceed the number of points in this polygon. - + @throws <type>com::sun::star::lang::IndexOutOfBoundsException</type> if one of the given values exceed the permissible range. */ void setBezierSegment( [in] ::com::sun::star::geometry::RealBezierSegment2D point, [in] long nPolygonIndex, [in] long nPointIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/XBitmap.idl b/offapi/com/sun/star/rendering/XBitmap.idl index e58ba975d..cc81f2e13 100644 --- a/offapi/com/sun/star/rendering/XBitmap.idl +++ b/offapi/com/sun/star/rendering/XBitmap.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 @@ -45,8 +45,6 @@ module com { module sun { module star { module rendering { -interface XBitmapCanvas; - /** This is a generic interface to a bitmap.<p> This interface contains the generic functionality to be used on @@ -57,14 +55,14 @@ interface XBitmapCanvas; @since OOo 2.0 */ -interface XBitmap : ::com::sun::star::uno::XInterface +published interface XBitmap : ::com::sun::star::uno::XInterface { /** Query the size of the bitmap.<p> This method queries the bitmap size in pixel.<p> @return the bitmap size in pixel. - */ + */ ::com::sun::star::geometry::IntegerSize2D getSize(); //------------------------------------------------------------------------- @@ -80,7 +78,7 @@ interface XBitmap : ::com::sun::star::uno::XInterface @return <TRUE/>, if the bitmap has alpha data, or <FALSE/> if not. - */ + */ boolean hasAlpha(); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XBitmapCanvas.idl b/offapi/com/sun/star/rendering/XBitmapCanvas.idl index fb4a2df3b..593174124 100644 --- a/offapi/com/sun/star/rendering/XBitmapCanvas.idl +++ b/offapi/com/sun/star/rendering/XBitmapCanvas.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XBitmapCanvas_idl__ #define __com_sun_star_rendering_XBitmapCanvas_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealRectangle2D_idl__ #include <com/sun/star/geometry/RealRectangle2D.idl> #endif @@ -61,7 +61,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XBitmapCanvas : XCanvas +published interface XBitmapCanvas : XCanvas { /** This method copies a rectangular area from a place of one canvas to a place on another.<p> @@ -74,7 +74,7 @@ interface XBitmapCanvas : XCanvas operation. The device color for both source and destination render state is ignored, the compositing mode only for the source render state.<p> - + @param sourceCanvas Canvas from which to copy the bitmap data. Can be identical to the canvas this method is called on, but must be valid. @@ -120,12 +120,12 @@ interface XBitmapCanvas : XCanvas @throws <type>com::sun::star::lang::IllegalArgumentException</type> if one of the parameters are not within the specified range. - */ - void copyRect( [in] XBitmapCanvas sourceCanvas, + */ + void copyRect( [in] XBitmapCanvas sourceCanvas, [in] ::com::sun::star::geometry::RealRectangle2D sourceRect, [in] ViewState sourceViewState, [in] RenderState sourceRenderState, [in] ::com::sun::star::geometry::RealRectangle2D destRect, [in] ViewState destViewState, [in] RenderState destRenderState ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); }; diff --git a/offapi/com/sun/star/rendering/XBufferController.idl b/offapi/com/sun/star/rendering/XBufferController.idl index 1e8e2bf6b..c2d960d65 100644 --- a/offapi/com/sun/star/rendering/XBufferController.idl +++ b/offapi/com/sun/star/rendering/XBufferController.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XBufferController_idl__ #define __com_sun_star_rendering_XBufferController_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif module com { module sun { module star { module rendering { @@ -44,7 +44,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XBufferController : ::com::sun::star::uno::XInterface +published interface XBufferController : ::com::sun::star::uno::XInterface { /** Create the given number of background buffers.<p> @@ -61,15 +61,15 @@ interface XBufferController : ::com::sun::star::uno::XInterface @throws <type>com::sun::star::lang::IllegalArgumentException</type> if nBuffers is smaller than one. - */ - long createBuffers( [in] long nBuffers ) - raises (com::sun::star::lang::IllegalArgumentException); + */ + long createBuffers( [in] long nBuffers ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- - /** Destroy all buffers generated via this object. + /** Destroy all buffers generated via this object. */ - void destroyBuffers(); + void destroyBuffers(); //------------------------------------------------------------------------- @@ -95,7 +95,7 @@ interface XBufferController : ::com::sun::star::uno::XInterface @throws <type>com::sun::star::lang::IllegalArgumentException</type> if nBuffer is outside the permissible range. */ - boolean showBuffer( [in] boolean bUpdateAll ); + boolean showBuffer( [in] boolean bUpdateAll ); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XCachedPrimitive.idl b/offapi/com/sun/star/rendering/XCachedPrimitive.idl index 5870d1679..18b18c713 100644 --- a/offapi/com/sun/star/rendering/XCachedPrimitive.idl +++ b/offapi/com/sun/star/rendering/XCachedPrimitive.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XCachedPrimitive_idl__ #define __com_sun_star_rendering_XCachedPrimitive_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_rendering_ViewState_idl__ #include <com/sun/star/rendering/ViewState.idl> #endif @@ -47,7 +47,7 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XCachedPrimitive : ::com::sun::star::uno::XInterface +published interface XCachedPrimitive : ::com::sun::star::uno::XInterface { /** Redraw the cached primitive.<p> diff --git a/offapi/com/sun/star/rendering/XCanvas.idl b/offapi/com/sun/star/rendering/XCanvas.idl index b6ce01dc3..228d302d7 100644 --- a/offapi/com/sun/star/rendering/XCanvas.idl +++ b/offapi/com/sun/star/rendering/XCanvas.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XCanvas_idl__ #define __com_sun_star_rendering_XCanvas_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -76,17 +76,17 @@ module com { module sun { module star { module geometry { - interface XMapping2D; + published interface XMapping2D; }; }; }; }; module com { module sun { module star { module rendering { -interface XCanvasFont; -interface XPolyPolygon2D; -interface XCachedPrimitive; -interface XBitmap; -interface XGraphicDevice; -interface XTextLayout; +published interface XCanvasFont; +published interface XPolyPolygon2D; +published interface XCachedPrimitive; +published interface XBitmap; +published interface XGraphicDevice; +published interface XTextLayout; /** Central interface for rendering.<p> @@ -150,10 +150,10 @@ interface XTextLayout; @since OOo 2.0 */ -interface XCanvas : ::com::sun::star::uno::XInterface +published interface XCanvas : ::com::sun::star::uno::XInterface { /** Clear the whole canvas area.<p> - + This method clears the whole canvas area to the device default color (e.g. white for a printer, transparent for an <type>XCustomSprite</type>). @@ -162,7 +162,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface /** Draw a point in device resolution on the device. - @param aPoint + @param aPoint The point to draw. @param aViewState @@ -172,21 +172,21 @@ interface XCanvas : ::com::sun::star::uno::XInterface The renderstate to be used when drawing this point. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ void drawPoint( [in] ::com::sun::star::geometry::RealPoint2D aPoint, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- /** Draw a line in device resolution width (i.e. one device pixel wide). - @param aStartPoint + @param aStartPoint The start point of the line to draw. - @param aEndPoint + @param aEndPoint The end point of the line to draw. @param aViewState @@ -196,11 +196,11 @@ interface XCanvas : ::com::sun::star::uno::XInterface The renderstate to be used when drawing this line. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ void drawLine( [in] ::com::sun::star::geometry::RealPoint2D aStartPoint, [in] ::com::sun::star::geometry::RealPoint2D aEndPoint, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -220,12 +220,12 @@ interface XCanvas : ::com::sun::star::uno::XInterface The renderstate to be used when drawing this curve. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ void drawBezier( [in] ::com::sun::star::geometry::RealBezierSegment2D aBezierSegment, [in] ::com::sun::star::geometry::RealPoint2D aEndPoint, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); - + raises (com::sun::star::lang::IllegalArgumentException); + //------------------------------------------------------------------------- /** Draw a poly-polygon in device resolution line width (i.e. the @@ -241,13 +241,13 @@ interface XCanvas : ::com::sun::star::uno::XInterface The renderstate to be used when drawing this polygon. @return a handle to the cached rendering output. - + @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ XCachedPrimitive drawPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -274,13 +274,13 @@ interface XCanvas : ::com::sun::star::uno::XInterface Further attributes used to parameterize the stroking. @return a handle to the cached rendering output. - + @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ XCachedPrimitive strokePolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] StrokeAttributes aStrokeAttributes ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -312,10 +312,10 @@ interface XCanvas : ::com::sun::star::uno::XInterface Further attributes used to parameterize the stroking. @return a handle to the cached rendering output. - + @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -323,7 +323,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive strokeTexturedPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence<Texture> aTextures, [in] StrokeAttributes aStrokeAttributes ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); //------------------------------------------------------------------------- @@ -360,10 +360,10 @@ interface XCanvas : ::com::sun::star::uno::XInterface Further attributes used to parameterize the stroking. @return a handle to the cached rendering output. - + @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -371,7 +371,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive strokeTextureMappedPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence<Texture> aTextures, [in] ::com::sun::star::geometry::XMapping2D xMapping, [in] StrokeAttributes aStrokeAttributes ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); //------------------------------------------------------------------------- @@ -391,7 +391,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aRenderState The renderstate to be used when generating the outline. - + @param aStrokeAttributes Further attributes used to parameterize the stroking. @@ -399,11 +399,11 @@ interface XCanvas : ::com::sun::star::uno::XInterface area. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ - XPolyPolygon2D queryStrokeShapes( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] StrokeAttributes aStrokeAttributes ) - raises (com::sun::star::lang::IllegalArgumentException); + XPolyPolygon2D queryStrokeShapes( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] StrokeAttributes aStrokeAttributes ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -421,15 +421,15 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aRenderState The renderstate to be used when filling this polygon. - + @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ XCachedPrimitive fillPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -447,7 +447,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aRenderState The renderstate to be used when filling this polygon. - + @param aTextures A sequence of texture definitions, with which to fill the polygonal area. @@ -455,8 +455,8 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -464,7 +464,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive fillTexturedPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence<Texture> xTextures ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); //------------------------------------------------------------------------- @@ -483,7 +483,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aRenderState The renderstate to be used when filling this polygon. - + @param aTextures A sequence of texture definitions, with which to fill the polygonal area. @@ -495,8 +495,8 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -504,7 +504,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive fillTextureMappedPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState, [in] sequence<Texture> xTextures, [in] ::com::sun::star::geometry::XMapping2D xMapping ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); //------------------------------------------------------------------------- @@ -515,7 +515,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aExtraFontProperties Additional font properties to be applied when selecting this font. Normally, you should not need this parameter. Currently, - the following properties are recognized: + the following properties are recognized: <ul> <il>Kerning: a <type>double</type> between 0 and 1, where @@ -527,9 +527,9 @@ interface XCanvas : ::com::sun::star::uno::XInterface Hebrew. The default value, if this property is not specified, is <FALSE/>.</il> - <il>ExpandedSpacing: a <type>double</type> value which is added - between all cell distances for this font. The default value for - this property is zero. Use negative values for condensed output, + <il>ExpandedSpacing: a <type>double</type> value which is added + between all cell distances for this font. The default value for + this property is zero. Use negative values for condensed output, and positive values for expanded output.</il> <il>OptionalLayoutFeatures: a sequence of <type @@ -550,7 +550,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface if one of the parameters is not within the allowed range. */ XCanvasFont createFont( [in] FontRequest aFontRequest, [in] sequence< ::com::sun::star::beans::PropertyValue > aExtraFontProperties, [in] ::com::sun::star::geometry::Matrix2D aFontMatrix ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -574,7 +574,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface the permitted range. */ sequence< FontInfo > queryAvailableFonts( [in] FontInfo aFilter, [in] sequence< ::com::sun::star::beans::PropertyValue > aFontProperties ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -598,7 +598,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface @param aRenderState The renderstate to be used when drawing this text. - + @param nTextDirection A value from the <type>TextDirection</type> collection, denoting the main writing direction for this string. The main @@ -609,11 +609,11 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ XCachedPrimitive drawText( [in] StringContext aText, [in] XCanvasFont xFont, [in] ViewState aViewState, [in] RenderState aRenderState, [in] byte nTextDirection ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -641,11 +641,11 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ XCachedPrimitive drawTextLayout( [in] XTextLayout xLayoutetText, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -670,8 +670,8 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -679,7 +679,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive drawBitmap( [in] XBitmap xBitmap, [in] ViewState aViewState, [in] RenderState aRenderState ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); /** Render the given bitmap, with a global color modulation.<p> @@ -709,8 +709,8 @@ interface XCanvas : ::com::sun::star::uno::XInterface @return a handle to the cached rendering output. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. @throws <type>VolatileContentDestroyedException</type> if a texture bitmap was volatile, and the content was @@ -718,7 +718,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface */ XCachedPrimitive drawBitmapModulated( [in] XBitmap xBitmap, [in] ViewState aViewState, [in] RenderState aRenderState ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XCanvasFont.idl b/offapi/com/sun/star/rendering/XCanvasFont.idl index f6d3b549b..7320152ed 100644 --- a/offapi/com/sun/star/rendering/XCanvasFont.idl +++ b/offapi/com/sun/star/rendering/XCanvasFont.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XCanvasFont_idl__ #define __com_sun_star_rendering_XCanvasFont_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealRectangle2D_idl__ #include <com/sun/star/geometry/RealRectangle2D.idl> #endif @@ -44,10 +44,10 @@ #endif #ifndef __com_sun_star_rendering_RenderState_idl__ #include <com/sun/star/rendering/RenderState.idl> -#endif +#endif #ifndef __com_sun_star_rendering_ViewState_idl__ #include <com/sun/star/rendering/ViewState.idl> -#endif +#endif #ifndef __com_sun_star_rendering_StringContext_idl__ #include <com/sun/star/rendering/StringContext.idl> #endif @@ -59,15 +59,15 @@ module com { module sun { module star { module rendering { -interface XCanvas; -interface XTextLayout; -interface XPolyPolygon2D; +published interface XCanvas; +published interface XTextLayout; +published interface XPolyPolygon2D; /** This interface provides access to a specific, XCanvas-dependent font incarnation. This font is not universally usable, but belongs to the XCanvas it was queried from. */ -interface XCanvasFont : ::com::sun::star::uno::XInterface +published interface XCanvasFont : ::com::sun::star::uno::XInterface { /** Create a text layout interface.<p> @@ -122,7 +122,7 @@ interface XCanvasFont : ::com::sun::star::uno::XInterface contained in the list returned by this method can lead to visible disturbances.<p> */ - sequence< double > getAvailableSizes(); + sequence< double > getAvailableSizes(); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XColorSpace.idl b/offapi/com/sun/star/rendering/XColorSpace.idl index 0a55a8502..5bfb666b3 100644 --- a/offapi/com/sun/star/rendering/XColorSpace.idl +++ b/offapi/com/sun/star/rendering/XColorSpace.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 @@ -27,9 +27,9 @@ #ifndef __com_sun_star_rendering_XColorSpace_idl__ #define __com_sun_star_rendering_XColorSpace_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> #endif @@ -43,13 +43,13 @@ module com { module sun { module star { module rendering { /// Shorthand for the device-dependent color components, and easier to read -typedef double ColorComponent; -typedef sequence<ColorComponent> Color; +published typedef double ColorComponent; +published typedef sequence<ColorComponent> Color; //============================================================================= /// RGB color triplet -struct RGBColor +published struct RGBColor { /// Red component. Valid range is [0,1.0] ColorComponent Red; @@ -62,7 +62,7 @@ struct RGBColor //============================================================================= /// ARGB color quad -struct ARGBColor +published struct ARGBColor { /** Alpha component.<p> @@ -95,14 +95,14 @@ struct ARGBColor e.g. <type>XIntegerBitmapColorSpace</type>, which use sequences of integers for color representation.<p> */ -interface XColorSpace +published interface XColorSpace { /** Query type of this color space.<p> @return a value from the <type>ColorSpaceType</type> constant group. */ - byte getType(); + byte getType(); /** Query the kind for each color component.<p> @@ -112,7 +112,7 @@ interface XColorSpace tags, specifying for each component of a color value, to what color attribute (if any) it corresponds. The values must be one of the <type>ColorComponentTag</type> constants.<p> - + At the same time, the number of elements in this sequence corresponds to the number of color channels for this color space.<p> @@ -139,7 +139,7 @@ interface XColorSpace href="http://en.wikipedia.org/wiki/Color_temperature">here</a>. */ sequence< ::com::sun::star::beans::PropertyValue > getProperties(); - + //============================================================================= diff --git a/offapi/com/sun/star/rendering/XCustomSprite.idl b/offapi/com/sun/star/rendering/XCustomSprite.idl index 03cb54261..3b6dd4564 100644 --- a/offapi/com/sun/star/rendering/XCustomSprite.idl +++ b/offapi/com/sun/star/rendering/XCustomSprite.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 @@ -27,9 +27,9 @@ #ifndef __com_sun_star_rendering_XCustomSprite_idl__ #define __com_sun_star_rendering_XCustomSprite_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_rendering_ViewState_idl__ #include <com/sun/star/rendering/ViewState.idl> #endif @@ -42,7 +42,7 @@ module com { module sun { module star { module rendering { -interface XCanvas; +published interface XCanvas; /** Interface to control a custom sprite object on a XSpriteCanvas.<p> @@ -53,7 +53,7 @@ interface XCanvas; TODO: Maybe more than alpha has to be overridden from render state. TODO: Provide means to change the output area */ -interface XCustomSprite : XSprite +published interface XCustomSprite : XSprite { /** Query a render canvas for this sprite's content.<p> diff --git a/offapi/com/sun/star/rendering/XGraphicDevice.idl b/offapi/com/sun/star/rendering/XGraphicDevice.idl index 749f43cc9..e73b9552b 100644 --- a/offapi/com/sun/star/rendering/XGraphicDevice.idl +++ b/offapi/com/sun/star/rendering/XGraphicDevice.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XGraphicDevice_idl__ #define __com_sun_star_rendering_XGraphicDevice_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_IntegerSize2D_idl__ #include <com/sun/star/geometry/IntegerSize2D.idl> #endif @@ -54,9 +54,9 @@ module com { module sun { module star { module rendering { -interface XBitmap; -interface XVolatileBitmap; -interface XBufferController; +published interface XBitmap; +published interface XVolatileBitmap; +published interface XBufferController; /* TODO: There's obviously a concept called window missing here, where methods such as bufferController, fullscreen mode etc . belong @@ -78,29 +78,29 @@ interface XBufferController; have this state, it might even be that all windows on the screen share a common graphic device. */ -interface XGraphicDevice : ::com::sun::star::uno::XInterface +published interface XGraphicDevice : ::com::sun::star::uno::XInterface { /** Query the controller for multi buffering functionality on this - graphic device. + graphic device. If there is no such functionality available, the NULL reference is returned. */ - XBufferController getBufferController(); + XBufferController getBufferController(); //------------------------------------------------------------------------- - /** Query the color space interface for this graphic device. + /** Query the color space interface for this graphic device. This is to be used when interpreting or setting device color values. */ - XColorSpace getDeviceColorSpace(); + XColorSpace getDeviceColorSpace(); //------------------------------------------------------------------------- /** Query the physical resolution of the device in pixel per - millimeter. + millimeter. A special floating point value of +infinity here indicates 'unknown', i.e. at the time of rendering undetermined or @@ -111,7 +111,7 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface //------------------------------------------------------------------------- - /** Query the physical dimensions of the device in millimeter. + /** Query the physical dimensions of the device in millimeter. A special floating point value of +infinity here indicates 'unknown', i.e. at the time of rendering undetermined or @@ -130,7 +130,7 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface @param points The points of the poly-polygon, in a separate array for every polygon. */ - XLinePolyPolygon2D createCompatibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points ); + XLinePolyPolygon2D createCompatibleLinePolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points ); //------------------------------------------------------------------------- @@ -140,7 +140,7 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface @param points The points of the poly-polygon, in a separate array for every polygon. */ - XBezierPolyPolygon2D createCompatibleBezierPolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points ); + XBezierPolyPolygon2D createCompatibleBezierPolyPolygon( [in] sequence< sequence< ::com::sun::star::geometry::RealBezierSegment2D > > points ); //------------------------------------------------------------------------- @@ -151,8 +151,8 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface Size of the requested bitmap in pixel. Both components of the size must be greater than 0 */ - XBitmap createCompatibleBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) - raises (com::sun::star::lang::IllegalArgumentException); + XBitmap createCompatibleBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -171,8 +171,8 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface Size of the requested bitmap in pixel. Both components of the size must be greater than 0 */ - XVolatileBitmap createVolatileBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) - raises (com::sun::star::lang::IllegalArgumentException); + XVolatileBitmap createVolatileBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -183,8 +183,8 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface Size of the requested bitmap in pixel. Both components of the size must be greater than 0 */ - XBitmap createCompatibleAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) - raises (com::sun::star::lang::IllegalArgumentException); + XBitmap createCompatibleAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -204,8 +204,8 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface Size of the requested bitmap in pixel. Both components of the size must be greater than 0 */ - XVolatileBitmap createVolatileAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) - raises (com::sun::star::lang::IllegalArgumentException); + XVolatileBitmap createVolatileAlphaBitmap( [in] ::com::sun::star::geometry::IntegerSize2D size ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -275,7 +275,7 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface * "FourCrossingLinesHatch" - this hatching consists of vertical and horizontal lines plus diagonal lines in both directions. - </pre> + </pre> */ com::sun::star::lang::XMultiServiceFactory getParametricPolyPolygonFactory(); @@ -284,7 +284,7 @@ interface XGraphicDevice : ::com::sun::star::uno::XInterface /** Tells whether this graphic device has a full screen mode, i.e. whether a window can cover the whole screen exclusively. */ - boolean hasFullScreenMode(); + boolean hasFullScreenMode(); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XLinePolyPolygon2D.idl b/offapi/com/sun/star/rendering/XLinePolyPolygon2D.idl index ae4215aaa..8dd115fea 100644 --- a/offapi/com/sun/star/rendering/XLinePolyPolygon2D.idl +++ b/offapi/com/sun/star/rendering/XLinePolyPolygon2D.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XLinePolyPolygon2D_idl__ #define __com_sun_star_rendering_XLinePolyPolygon2D_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ #include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -46,12 +46,12 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XLinePolyPolygon2D : XPolyPolygon2D +published interface XLinePolyPolygon2D : XPolyPolygon2D { /** Query subset of this poly-polygon, starting at the given polygon and the given point within that polygon, and containing the specified number of polygons and points in the - last polygon. + last polygon. @param nPolygonIndex The index number of the polygon to start with extracting @@ -74,7 +74,7 @@ interface XLinePolyPolygon2D : XPolyPolygon2D from the last polygon. */ sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > getPoints( [in] long nPolygonIndex, [in] long nNumberOfPolygons, [in] long nPointIndex, [in] long nNumberOfPoints ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -97,17 +97,17 @@ interface XLinePolyPolygon2D : XPolyPolygon2D specified point data. @throws <type>com::sun::star::lang::IndexOutOfBoundsException</type> - if one of the given values exceed the permissible range. + if one of the given values exceed the permissible range. */ void setPoints( [in] sequence< sequence< ::com::sun::star::geometry::RealPoint2D > > points, [in] long nPolygonIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- /** Get a single point from the poly-polygon */ ::com::sun::star::geometry::RealPoint2D getPoint( [in] long nPolygonIndex, [in] long nPointIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -115,7 +115,7 @@ interface XLinePolyPolygon2D : XPolyPolygon2D the poly-polygon will not be changed by this method. */ void setPoint( [in] ::com::sun::star::geometry::RealPoint2D point, [in] long nPolygonIndex, [in] long nPointIndex ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/XParametricPolyPolygon2D.idl b/offapi/com/sun/star/rendering/XParametricPolyPolygon2D.idl index d01474d1e..5647b1c49 100644 --- a/offapi/com/sun/star/rendering/XParametricPolyPolygon2D.idl +++ b/offapi/com/sun/star/rendering/XParametricPolyPolygon2D.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XParametricPolyPolygon2D_idl__ #define __com_sun_star_rendering_XParametricPolyPolygon2D_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -52,13 +52,13 @@ module com { module sun { module star { module rendering { [0,1]x[0,1] rectangle. At least that is the dimension expected at other places. e.g. <type>Texture</type>. */ -interface XParametricPolyPolygon2D : ::com::sun::star::uno::XInterface +published interface XParametricPolyPolygon2D : ::com::sun::star::uno::XInterface { - /** Query the polygonal outline at the specified value. + /** Query the polygonal outline at the specified value. The returned outline should be clipped to the [0,1]x[0,1] rectangle. - + @param t Parameter value in the range [0,1]. During painting, this range is sweeped through starting from 0. When using such a @@ -67,8 +67,8 @@ interface XParametricPolyPolygon2D : ::com::sun::star::uno::XInterface with t (unless singularities in e.g. the resulting gradient are desired). */ - XPolyPolygon2D getOutline( [in] double t ) - raises (com::sun::star::lang::IllegalArgumentException); + XPolyPolygon2D getOutline( [in] double t ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -79,23 +79,23 @@ interface XParametricPolyPolygon2D : ::com::sun::star::uno::XInterface Parameter value in the range [0,1]. During painting, this range is swept through starting from 0. */ - sequence<ColorComponent> getColor( [in] double t ) - raises (com::sun::star::lang::IllegalArgumentException); + sequence<ColorComponent> getColor( [in] double t ) + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- - /** Query the color for a dedicated point in the plane. - + /** Query the color for a dedicated point in the plane. + @param point The permissible parameter range for point is [0,1]x[0,1] */ sequence<ColorComponent> getPointColor( [in] ::com::sun::star::geometry::RealPoint2D point ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- /** Query the color space employed by this object - + @return the color space the colors generated by this object are to be interpreted in. */ diff --git a/offapi/com/sun/star/rendering/XPolyPolygon2D.idl b/offapi/com/sun/star/rendering/XPolyPolygon2D.idl index 86b24b721..2c19e38d4 100644 --- a/offapi/com/sun/star/rendering/XPolyPolygon2D.idl +++ b/offapi/com/sun/star/rendering/XPolyPolygon2D.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 @@ -27,15 +27,15 @@ #ifndef __com_sun_star_rendering_XPolyPolygon2D_idl__ #define __com_sun_star_rendering_XPolyPolygon2D_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ #include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#endif +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_rendering_FillRule_idl__ #include <com/sun/star/rendering/FillRule.idl> #endif @@ -49,9 +49,9 @@ module com { module sun { module star { module rendering { @since OOo 2.0 */ -interface XPolyPolygon2D : ::com::sun::star::uno::XInterface +published interface XPolyPolygon2D : ::com::sun::star::uno::XInterface { - /** Add the specified poly-polygon at the given position. + /** Add the specified poly-polygon at the given position. One can do symbolic path construction with this method. The poly-polygons added by this method are not joined in the sense @@ -82,7 +82,7 @@ interface XPolyPolygon2D : ::com::sun::star::uno::XInterface <type>XLinePolyPolygon2D</type>). */ void addPolyPolygon( [in] ::com::sun::star::geometry::RealPoint2D position, [in] XPolyPolygon2D polyPolygon ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -99,7 +99,7 @@ interface XPolyPolygon2D : ::com::sun::star::uno::XInterface for. Must be in the range [0,getNumberOfPolygons()-1]. */ long getNumberOfPolygonPoints( [in] long polygon ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -120,7 +120,7 @@ interface XPolyPolygon2D : ::com::sun::star::uno::XInterface /** Query whether the specified polygon outline is closed. */ boolean isClosed( [in] long index ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -128,7 +128,7 @@ interface XPolyPolygon2D : ::com::sun::star::uno::XInterface as the index to affect all polygons of this poly-polygon. */ void setClosed( [in] long index, [in] boolean closedState ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); }; }; }; }; }; diff --git a/offapi/com/sun/star/rendering/XSprite.idl b/offapi/com/sun/star/rendering/XSprite.idl index c644ea74f..d62b93bde 100644 --- a/offapi/com/sun/star/rendering/XSprite.idl +++ b/offapi/com/sun/star/rendering/XSprite.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 @@ -27,12 +27,12 @@ #ifndef __com_sun_star_rendering_XSprite_idl__ #define __com_sun_star_rendering_XSprite_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -54,7 +54,7 @@ module com { module sun { module star { module rendering { <type>XSpriteCanvas</type>. Sprites are moving, back-buffered objects.<p> */ -interface XSprite : ::com::sun::star::uno::XInterface +published interface XSprite : ::com::sun::star::uno::XInterface { /** Set overall transparency of the sprite.<p> @@ -70,10 +70,10 @@ interface XSprite : ::com::sun::star::uno::XInterface background. Valid range is [0,1]. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if nAlpha is not within the permissible range. + if nAlpha is not within the permissible range. */ void setAlpha( [in] double nAlpha ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -99,16 +99,16 @@ interface XSprite : ::com::sun::star::uno::XInterface The renderstate to be used when interpreting aNewPos. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the view and renderstate parameters are outside the - specified range. + if one of the view and renderstate parameters are outside the + specified range. */ void move( [in] ::com::sun::star::geometry::RealPoint2D aNewPos, [in] ViewState aViewState, [in] RenderState aRenderState ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- /** Apply a local transformation to the sprite.<p> - + The given transformation matrix locally transforms the sprite shape. If this transformation contains translational components, be aware that sprite content moved beyond the @@ -135,7 +135,7 @@ interface XSprite : ::com::sun::star::uno::XInterface if the given transformation matrix is singular. */ void transform( [in] com::sun::star::geometry::AffineMatrix2D aTransformation ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -171,7 +171,7 @@ interface XSprite : ::com::sun::star::uno::XInterface @param aClip The clip poly-polygon to apply. */ - void clip( [in] XPolyPolygon2D aClip ); + void clip( [in] XPolyPolygon2D aClip ); //------------------------------------------------------------------------- @@ -188,7 +188,7 @@ interface XSprite : ::com::sun::star::uno::XInterface irregular floating point values here, the order position for sprites with such a priority value is undefined. */ - void setPriority( [in] double nPriority ); + void setPriority( [in] double nPriority ); //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/rendering/XSpriteCanvas.idl b/offapi/com/sun/star/rendering/XSpriteCanvas.idl index 0f1987158..e3572bafa 100644 --- a/offapi/com/sun/star/rendering/XSpriteCanvas.idl +++ b/offapi/com/sun/star/rendering/XSpriteCanvas.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 @@ -29,7 +29,7 @@ #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_rendering_XBitmapCanvas_idl__ #include <com/sun/star/rendering/XBitmapCanvas.idl> #endif @@ -42,9 +42,9 @@ module com { module sun { module star { module rendering { -interface XSprite; -interface XAnimatedSprite; -interface XCustomSprite; +published interface XSprite; +published interface XAnimatedSprite; +published interface XCustomSprite; /** Specialization of a XBitmapCanvas, where moving, animated objects (called sprites) are supported.<p> @@ -62,21 +62,21 @@ interface XCustomSprite; you don't need sprite functionality, and don't want the updateScreen hassle, simply use the XBitmapCanvas. */ -interface XSpriteCanvas : XBitmapCanvas +published interface XSpriteCanvas : XBitmapCanvas { /** Create a sprite object from the specified animation sequence. A sprite is a back-buffered object with its own, independent animation. - */ + */ XAnimatedSprite createSpriteFromAnimation( [in] XAnimation animation ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); /** Create a sprite object from the specified animation sequence. A sprite is a back-buffered object with its own, independent animation. - + @param animationBitmaps Sequence of bitmaps. The bitmaps don't need to have the same size, but they are all rendered with their left, top edges @@ -89,12 +89,12 @@ interface XSpriteCanvas : XBitmapCanvas @throws <type>VolatileContentDestroyedException</type> if at least one of the bitmap is volatile, and its content has been destroyed by the system. - */ + */ XAnimatedSprite createSpriteFromBitmaps( [in] sequence<XBitmap> animationBitmaps, [in] byte interpolationMode ) raises (com::sun::star::lang::IllegalArgumentException, - VolatileContentDestroyedException); + VolatileContentDestroyedException); - /** Create a custom, user-handles-it-all sprite object. + /** Create a custom, user-handles-it-all sprite object. A sprite is a back-buffered object with its own, independent animation. @@ -106,9 +106,9 @@ interface XSpriteCanvas : XBitmapCanvas be greater than zero. @return an interface to a custom sprite object. - */ + */ XCustomSprite createCustomSprite( [in] ::com::sun::star::geometry::RealSize2D spriteSize ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); /** Create a cloned version of an already existing sprite object. @@ -125,13 +125,13 @@ interface XSpriteCanvas : XBitmapCanvas IllegalArgumentException. @return an interface to a sprite object. - */ + */ XSprite createClonedSprite( [in] XSprite original ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); /** Tells the sprite canvas to now update the screen - representation. - + representation. + Required to display rendered changes to the canvas, and updates to stopped animations and XCustomSprites in general. This method will return only after the screen update diff --git a/offapi/com/sun/star/rendering/XTextLayout.idl b/offapi/com/sun/star/rendering/XTextLayout.idl index a6930659d..270fc4928 100644 --- a/offapi/com/sun/star/rendering/XTextLayout.idl +++ b/offapi/com/sun/star/rendering/XTextLayout.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 @@ -27,15 +27,15 @@ #ifndef __com_sun_star_rendering_XTextLayout_idl__ #define __com_sun_star_rendering_XTextLayout_idl__ -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif +#endif #ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ #include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#endif +#endif #ifndef __com_sun_star_geometry_RealPoint2D_idl__ #include <com/sun/star/geometry/RealPoint2D.idl> #endif @@ -64,9 +64,9 @@ module com { module sun { module star { module rendering { -interface XCanvas; -interface XCanvasFont; -interface XPolyPolygon2D; +published interface XCanvas; +published interface XCanvasFont; +published interface XPolyPolygon2D; /** This is the central interface for text layouting.<p> @@ -92,7 +92,7 @@ interface XPolyPolygon2D; @since OOo 2.0 */ -interface XTextLayout : ::com::sun::star::uno::XInterface +published interface XTextLayout : ::com::sun::star::uno::XInterface { /** Extract the polygonal shapes of the layouted text.<p> @@ -102,12 +102,12 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @returns a sequence of <type>XPolyPolygon2D</type> in font coordinate space, one for every glyph. */ - sequence<XPolyPolygon2D> queryTextShapes(); + sequence<XPolyPolygon2D> queryTextShapes(); //------------------------------------------------------------------------- /** Query the ink bounding boxes for every glyph in the layouted - text.<p> + text.<p> Ink, or tight bounding boxes in this case means that for e.g. an 'a', the bounding box for the @@ -120,7 +120,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @see <member>XTextLayout::queryMeasures()</member> */ - sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures(); + sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures(); //------------------------------------------------------------------------- @@ -137,7 +137,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @see <member>XTextLayout::queryInkMeasures()</member> */ - sequence<::com::sun::star::geometry::RealRectangle2D> queryMeasures(); + sequence<::com::sun::star::geometry::RealRectangle2D> queryMeasures(); //------------------------------------------------------------------------- @@ -159,7 +159,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @see <member>XTextLayout::applyLogicalAdvancements()</member> */ - sequence<double> queryLogicalAdvancements(); + sequence<double> queryLogicalAdvancements(); //------------------------------------------------------------------------- @@ -184,7 +184,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface characters in the text. */ void applyLogicalAdvancements( [in] sequence< double > aAdvancements ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -197,7 +197,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @return the overall bounding box for the given layout, in font coordinate space. */ - ::com::sun::star::geometry::RealRectangle2D queryTextBounds(); + ::com::sun::star::geometry::RealRectangle2D queryTextBounds(); //------------------------------------------------------------------------- @@ -223,7 +223,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface if nSize is 0 or negative. */ double justify( [in] double nSize ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -257,10 +257,10 @@ interface XTextLayout : ::com::sun::star::uno::XInterface might even be significantly larger than nSize. @throws <type>com::sun::star::lang::IllegalArgumentException</type> - if one of the parameters are not in the valid range. + if one of the parameters are not in the valid range. */ double combinedJustify( [in] sequence< XTextLayout > aNextLayouts, [in] double nSize ) - raises (com::sun::star::lang::IllegalArgumentException); + raises (com::sun::star::lang::IllegalArgumentException); //------------------------------------------------------------------------- @@ -274,7 +274,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface underlying character index for. */ - TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint ); + TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint ); //------------------------------------------------------------------------- @@ -282,7 +282,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface This method generates caret information for a given insertion point in the layout text.<p> - + @param nInsertionIndex The insertion index, as e.g. returned by <member>XTextLayout::getTextHit()</member>. This value must be @@ -298,9 +298,9 @@ interface XTextLayout : ::com::sun::star::uno::XInterface @throws <type>com::sun::star::lang::IndexOutOfBoundsException</type> if nInsertionIndex is outside the permissible range. */ - Caret getCaret( [in] long nInsertionIndex, + Caret getCaret( [in] long nInsertionIndex, [in] boolean bExcludeLigatures ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -324,10 +324,10 @@ interface XTextLayout : ::com::sun::star::uno::XInterface if nStartIndex or nCaretAdvancement is outside the permissible range. */ - long getNextInsertionIndex( [in] long nStartIndex, - [in] long nCaretAdvancement, + long getNextInsertionIndex( [in] long nStartIndex, + [in] long nCaretAdvancement, [in] boolean bExcludeLigatures ) - raises (com::sun::star::lang::IndexOutOfBoundsException); + raises (com::sun::star::lang::IndexOutOfBoundsException); //------------------------------------------------------------------------- @@ -349,7 +349,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface if nStartIndex or nEndIndex are outside the permissible range. */ - XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex, + XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex, [in] long nEndIndex ) raises (com::sun::star::lang::IndexOutOfBoundsException); @@ -375,7 +375,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface if nStartIndex or nEndIndex are outside the permissible range. */ - XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex, + XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex, [in] long nEndIndex ) raises (com::sun::star::lang::IndexOutOfBoundsException); @@ -419,7 +419,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface /** Request the text this layout contains. - @returns the text this layout contains. + @returns the text this layout contains. */ StringContext getText(); diff --git a/offapi/com/sun/star/rendering/XVolatileBitmap.idl b/offapi/com/sun/star/rendering/XVolatileBitmap.idl index f94bcf2dc..bb8d19897 100644 --- a/offapi/com/sun/star/rendering/XVolatileBitmap.idl +++ b/offapi/com/sun/star/rendering/XVolatileBitmap.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 @@ -36,16 +36,16 @@ module com { module sun { module star { module rendering { /** This is a specialized interface to a volatile bitmap (which can become invalid at any point in time). */ -interface XVolatileBitmap : XBitmap -{ - /** Query whether this volatile bitmap still has valid content. +published interface XVolatileBitmap : XBitmap +{ + /** Query whether this volatile bitmap still has valid content. As the video RAM allocated to this bitmap can be reclaimed at any time, a return value of true here does not imply that the next draw operation with this bitmap will succeed. Instead, the exception VolatileContentDestroyed might then be thrown, if lost bitmap data is accessed. - */ + */ boolean isValid(); }; diff --git a/offapi/com/sun/star/util/TriState.idl b/offapi/com/sun/star/util/TriState.idl index a093300c9..322174216 100644 --- a/offapi/com/sun/star/util/TriState.idl +++ b/offapi/com/sun/star/util/TriState.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,43 +24,43 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_util_TriState_idl__ -#define __com_sun_star_util_TriState_idl__ - - -//============================================================================= - -module com { module sun { module star { module util { - -//============================================================================= - +#ifndef __com_sun_star_util_TriState_idl__ +#define __com_sun_star_util_TriState_idl__ + + +//============================================================================= + +module com { module sun { module star { module util { + +//============================================================================= + /** This enumeration represents a tristate value.<p> This enumeration defines three values, <TRUE/>, <FALSE/> and a don't know value.<p> */ -enum TriState +published enum TriState { /** The value is equivalent to <FALSE/>. */ NO, - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- /** The value is equivalent to <TRUE/>. */ YES, - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- /** The value is indeterminate. */ INDETERMINATE - -}; - -//============================================================================= - -}; }; }; }; - -#endif + +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/view/XMultiSelectionSupplier.idl b/offapi/com/sun/star/view/XMultiSelectionSupplier.idl index 2e05e84ed..249cc5307 100644 --- a/offapi/com/sun/star/view/XMultiSelectionSupplier.idl +++ b/offapi/com/sun/star/view/XMultiSelectionSupplier.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,25 +24,25 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_view_XMultiSelectionSupplier_idl__ -#define __com_sun_star_view_XMultiSelectionSupplier_idl__ - -#ifndef __com_sun_star_view_XSelectionSupplier_idl__ -#include <com/sun/star/view/XSelectionSupplier.idl> -#endif +#ifndef __com_sun_star_view_XMultiSelectionSupplier_idl__ +#define __com_sun_star_view_XMultiSelectionSupplier_idl__ + +#ifndef __com_sun_star_view_XSelectionSupplier_idl__ +#include <com/sun/star/view/XSelectionSupplier.idl> +#endif #ifndef __com_sun_star_container_XEnumeration_idl__ #include <com/sun/star/container/XEnumeration.idl> #endif -//============================================================================= - -module com { module sun { module star { module view { - -//============================================================================= - +//============================================================================= + +module com { module sun { module star { module view { + +//============================================================================= + /** makes it possible to append and remove objects from a selection. - <p>The method <method>XSelectionSupplier::setSelection</method> for an + <p>The method <method>XSelectionSupplier::setSelection</method> for an instance that also supports <type>XMultiSelectionSupplier</method> should be implemented that it also takes either a selectable object or a sequence of selectable objects.</p> @@ -50,82 +50,82 @@ module com { module sun { module star { module view { <p>Adding an object more than once to a selection should not toggle the selection for that object but only select it once</p> */ -interface XMultiSelectionSupplier: XSelectionSupplier -{ - //------------------------------------------------------------------------- +published interface XMultiSelectionSupplier: XSelectionSupplier +{ + //------------------------------------------------------------------------- /** adds the object or the objects represented by <var>Selection</var> to the selection of this <type>XMultiSelectionSupplier</type>. - + @param Selection either an Object that is selectable or a sequence of objects that are selectable. - + @returns <TRUE/>/, if <var>Selection</var> was added to the current selection. <FALSE/>, if <var>Selection</var> or parts of <var>Selection</var> could not be added to the current selection. For example, if the selection already contains objects that are forbidden to be selected together with <var>Selection</var> - + @throws com::sun::star::lang::IllegalArgumentException If <var>Selection</var> is not a selectable object for this <type>XMultiSelectionSupplier</type>. <p>Adding an object to the selection that is already part of the selection should not raise this exception</p> */ - boolean addSelection( [in] any Selection ) - raises( com::sun::star::lang::IllegalArgumentException ); - - //------------------------------------------------------------------------- + boolean addSelection( [in] any Selection ) + raises( com::sun::star::lang::IllegalArgumentException ); + + //------------------------------------------------------------------------- /** remove the object or objects represented by <var>Selection</var> from the selection of this <type>XMultiSelectionSupplier</type>. - + @param Selection either an Object that is selectable or a sequence of objects that are selectable. - + @returns <TRUE/>/, if <var>Selection</var> was added to the current selection. <FALSE/>, if <var>Selection</var> or parts of <var>Selection</var> could not be added to the current selection. For example, if the selection already contains objects that are forbidden to be selected together with <var>Selection</var>. - + @throws com::sun::star::lang::IllegalArgumentException If <var>Selection</var> is not a selectable object for this <type>XMultiSelectionSupplier</type>. <p>Removing an object from the selection that is not part of the selection should not raise this exception</p> */ - void removeSelection( [in] any Selection ) - raises( com::sun::star::lang::IllegalArgumentException ); + void removeSelection( [in] any Selection ) + raises( com::sun::star::lang::IllegalArgumentException ); - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- /** clears the selection of this <type>XMultiSelectionSupplier</type>. */ void clearSelection(); - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- /** returns the number of selected objects of this <type>XMultiSelectionSupplier</type>. */ long getSelectionCount(); - //------------------------------------------------------------------------- + //------------------------------------------------------------------------- - /** @returns + /** @returns a new object to enumerate the selection of this <type>XMultiSelectionSupplier</type>. It returns NULL if there are no objects in the selection. */ - com::sun::star::container::XEnumeration createSelectionEnumeration(); + com::sun::star::container::XEnumeration createSelectionEnumeration(); - /** @returns + /** @returns a new object to enumerate the selection of this <type>XMultiSelectionSupplier</type> in reverse order. If the order of the selected objects It returns NULL if there are no objects in the selection. */ - com::sun::star::container::XEnumeration createReverseSelectionEnumeration(); - -}; - -//============================================================================= - -}; }; }; }; - -#endif + com::sun::star::container::XEnumeration createReverseSelectionEnumeration(); + +}; + +//============================================================================= + +}; }; }; }; + +#endif |