1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_awt_tab_XTabPageModel_idl__
24#define __com_sun_star_awt_tab_XTabPageModel_idl__
25
26#include <com/sun/star/uno/XInterface.idl>
27#include <com/sun/star/lang/XMultiServiceFactory.idl>
28#include <com/sun/star/container/XContainer.idl>
29#include <com/sun/star/container/XNameContainer.idl>
30
31//=============================================================================
32
33module com {  module sun {  module star {  module awt {  module tab {
34
35//=============================================================================
36
37/** specifies an XTabPageModel interface.
38
39    @since OpenOffice 3.4
40*/
41
42published interface XTabPageModel
43{
44    //interface com::sun::star::lang::XMultiServiceFactory;
45
46    //interface com::sun::star::container::XNameContainer;
47
48    //interface com::sun::star::container::XContainer;
49
50    /**ID for tab page.
51    */
52    [attribute, readonly] short TabPageID;
53        //-------------------------------------------------------------------------
54
55    /** determines whether a tab page is enabled or disabled.
56     */
57    [attribute] boolean Enabled;
58
59    //-------------------------------------------------------------------------
60
61    /** specifies the text that is displayed in the tab bar of the tab page.
62     */
63    [attribute] string Title;
64
65    //-------------------------------------------------------------------------
66
67    /** specifies a URL that references a graphic that should be displayed in the tab bar.
68    */
69    [attribute] string ImageURL;
70
71    //-------------------------------------------------------------------------
72
73    /** specifies a tooltip text that should be displayed in the tab bar.
74    */
75    [attribute] string ToolTip;
76};
77
78
79//=============================================================================
80
81 }; }; }; }; };
82
83#endif
84