summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-04-03 15:43:05 +0000
committerRüdiger Timm <rt@openoffice.org>2007-04-03 15:43:05 +0000
commit238ed89bcfc210df1ee39ff144bc779f13062911 (patch)
tree5a19f64dadb0b91ca2980627c42ca010e52b0ef3 /offapi
parent428f160882e360616388929dec2c66824a04cd3d (diff)
INTEGRATION: CWS components1 (1.1.2); FILE ADDED
2007/01/22 12:50:35 af 1.1.2.3: #i68075 Introduction of XResourceId interface. 2006/09/07 13:33:01 af 1.1.2.2: #i68075# Transition from URL to ResourceId. 2006/08/23 08:24:04 af 1.1.2.1: #i68075# Initial revision.
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/drawing/framework/TabBarButton.idl73
1 files changed, 73 insertions, 0 deletions
diff --git a/offapi/com/sun/star/drawing/framework/TabBarButton.idl b/offapi/com/sun/star/drawing/framework/TabBarButton.idl
new file mode 100644
index 000000000000..0c33cca0a9e1
--- /dev/null
+++ b/offapi/com/sun/star/drawing/framework/TabBarButton.idl
@@ -0,0 +1,73 @@
+
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: TabBarButton.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-03 16:43:05 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_drawing_framework_TabBarButton_idl__
+#define __com_sun_star_drawing_framework_TabBarButton_idl__
+
+module com { module sun { module star { module drawing { module framework {
+
+interface XResourceId;
+
+/** Descriptor of a tab bar button. Tab bar buttons are typically used to
+ offer the user the choice between different views to be disiplayed in
+ one pane.
+ <p>For identification only the <member>ResourceId</member> is used, so for
+ some methods of the <type>XTabBar</type> interface only the
+ <member>ResourceId</member> member is evaluated.</p>
+*/
+struct TabBarButton
+{
+ /** This label is displayed on the UI as button text.
+ <p>The label is expected to be localized.</p>
+ */
+ string ButtonLabel;
+
+ /** The localized help text that may be displayed in a tool tip.
+ */
+ string HelpText;
+
+ /** <type>XResourceId</type> object of the resource that is requested to be
+ displayed when the tab bar button is activated.
+ <p>For some methods of the <type>XTabBar</type> interface only this
+ member is evaluated. That is because only this member is used to
+ identify a tab bar button.</p>
+ */
+ XResourceId ResourceId;
+};
+
+}; }; }; }; }; // ::com::sun::star::drawing::framework
+
+#endif