summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-04-03 14:34:22 +0000
committerKurt Zenker <kz@openoffice.org>2008-04-03 14:34:22 +0000
commit296a9690f151032f8092b47e9aa29f423f7cf58b (patch)
tree088a40247cf18d21776a640d821c23a8ae2a8770 /offapi
parent7f76cdfd48df944ba83f8185c8a9c948b7c40753 (diff)
INTEGRATION: CWS presenterview (1.2.24); FILE MERGED
2007/12/12 14:05:35 af 1.2.24.2: #i18486# Added isAnchorOnly() method. 2007/06/11 09:21:41 af 1.2.24.1: #i18486# Removed unnecessary interfaces.
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/drawing/framework/XResource.idl16
1 files changed, 13 insertions, 3 deletions
diff --git a/offapi/com/sun/star/drawing/framework/XResource.idl b/offapi/com/sun/star/drawing/framework/XResource.idl
index 288a0d393864..dca43326f04e 100644
--- a/offapi/com/sun/star/drawing/framework/XResource.idl
+++ b/offapi/com/sun/star/drawing/framework/XResource.idl
@@ -4,9 +4,9 @@
*
* $RCSfile: XResource.idl,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2007-04-03 16:46:12 $
+ * last change: $Author: kz $ $Date: 2008-04-03 15:34:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -48,12 +48,22 @@ interface XResourceId;
of the drawing framework.
*/
interface XResource
- : ::com::sun::star::uno::XInterface
{
/** Return an <type>XResourceId</type> object for the called resource.
The returned id unambiguously indentifies the resource.
*/
XResourceId getResourceId ();
+
+ /** Some resources must not be leafs, i.e. have to be anchor to at least
+ one other resource. Most panes are examples for this. Views on the
+ other hand are in most cases no anchors. So the typical pane will
+ return <TRUE/> and the typical view will return <FALSE/>.
+
+ The return value is used to determine whether a resource has to be
+ deactivated when it has no children, either because none is
+ requested or because none can be created.
+ */
+ boolean isAnchorOnly ();
};
}; }; }; }; }; // ::com::sun::star::drawing::framework