merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / drawing / framework / TabBarButton.idl
blob174c85ee38d0030d359cf274a0318427059f281c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TabBarButton.idl,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_drawing_framework_TabBarButton_idl__
32 #define __com_sun_star_drawing_framework_TabBarButton_idl__
34 module com { module sun { module star { module drawing { module framework {
36 interface XResourceId;
38 /** Descriptor of a tab bar button. Tab bar buttons are typically used to
39 offer the user the choice between different views to be disiplayed in
40 one pane.
41 <p>For identification only the <member>ResourceId</member> is used, so for
42 some methods of the <type>XTabBar</type> interface only the
43 <member>ResourceId</member> member is evaluated.</p>
45 struct TabBarButton
47 /** This label is displayed on the UI as button text.
48 <p>The label is expected to be localized.</p>
50 string ButtonLabel;
52 /** The localized help text that may be displayed in a tool tip.
54 string HelpText;
56 /** <type>XResourceId</type> object of the resource that is requested to be
57 displayed when the tab bar button is activated.
58 <p>For some methods of the <type>XTabBar</type> interface only this
59 member is evaluated. That is because only this member is used to
60 identify a tab bar button.</p>
62 XResourceId ResourceId;
65 }; }; }; }; }; // ::com::sun::star::drawing::framework
67 #endif