xref: /AOO41X/main/offapi/com/sun/star/form/component/NavigationToolBar.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_form_component_NavigationToolBar_idl__
24cdf0e10cSrcweir#define __com_sun_star_form_component_NavigationToolBar_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_form_FormControlModel_idl__
27cdf0e10cSrcweir#include <com/sun/star/form/FormControlModel.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef __com_sun_star_awt_FontDescriptor_idl__
30cdf0e10cSrcweir#include <com/sun/star/awt/FontDescriptor.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweir//=============================================================================
34cdf0e10cSrcweir
35cdf0e10cSrcweir module com {  module sun {  module star {  module form {  module component {
36cdf0e10cSrcweir
37cdf0e10cSrcweir//=============================================================================
38cdf0e10cSrcweir
39cdf0e10cSrcweir/** This service specifies the model for control which provides controller
40cdf0e10cSrcweir    functionality for a <type>DataForm</type>, such as navigating or filtering
41cdf0e10cSrcweir    the form.
42cdf0e10cSrcweir */
43cdf0e10cSrcweirservice NavigationToolBar
44cdf0e10cSrcweir{
45cdf0e10cSrcweir	service com::sun::star::form::FormControlModel;
46cdf0e10cSrcweir
47cdf0e10cSrcweir	//-------------------------------------------------------------------------
48cdf0e10cSrcweir	/** denotes the border style of the control.
49cdf0e10cSrcweir
50cdf0e10cSrcweir		Allowed values are
51cdf0e10cSrcweir        <ul><li><b>0</b>: no border at all</li>
52cdf0e10cSrcweir            <li><b>1</b>: 3D border</li>
53cdf0e10cSrcweir            <li><b>2</b>: simple flat</li>
54cdf0e10cSrcweir		</ul>
55cdf0e10cSrcweir	 */
56cdf0e10cSrcweir	[property] short Border;
57cdf0e10cSrcweir
58cdf0e10cSrcweir	//-------------------------------------------------------------------------
59cdf0e10cSrcweir	/** determines whether the control is enabled or disabled.
60cdf0e10cSrcweir	 */
61cdf0e10cSrcweir	[property] boolean Enabled;
62cdf0e10cSrcweir
63cdf0e10cSrcweir	//-------------------------------------------------------------------------
64cdf0e10cSrcweir	/** contains the font attributes for the text in the control
65cdf0e10cSrcweir	 */
66cdf0e10cSrcweir	[property] com::sun::star::awt::FontDescriptor FontDescriptor;
67cdf0e10cSrcweir
68cdf0e10cSrcweir	//-------------------------------------------------------------------------
69cdf0e10cSrcweir	/** specifies the text color (as RGB value) of the control.
70cdf0e10cSrcweir	 */
71cdf0e10cSrcweir	[property] long TextColor;
72cdf0e10cSrcweir
73cdf0e10cSrcweir	//-------------------------------------------------------------------------
74cdf0e10cSrcweir	/** specifies the text line color (as RGB value) of the control.
75cdf0e10cSrcweir
76cdf0e10cSrcweir        <p>This color is used if the <member>FontDescriptor</member> defines
77cdf0e10cSrcweir        that the text in the control should be underlined or stroke out.</p>
78cdf0e10cSrcweir	 */
79cdf0e10cSrcweir	[property] long TextLineColor;
80cdf0e10cSrcweir
81cdf0e10cSrcweir	//-------------------------------------------------------------------------
82cdf0e10cSrcweir	/** specifies the relief for the font described in <member>FontDescriptor</member>
83cdf0e10cSrcweir
84cdf0e10cSrcweir        <p>The value must be one of the <type scope="com::sun::star::text">FontRelief</type>
85cdf0e10cSrcweir        constants.</p>
86cdf0e10cSrcweir	 */
87cdf0e10cSrcweir	[property] long FontRelief;
88cdf0e10cSrcweir
89cdf0e10cSrcweir	//-------------------------------------------------------------------------
90cdf0e10cSrcweir	/** specifies the emphasis mark for the font described in <member>FontDescriptor</member>
91cdf0e10cSrcweir
92cdf0e10cSrcweir        <p>The value must be one of the <type scope="com::sun::star::text">FontEmphasis</type>
93cdf0e10cSrcweir        constants.</p>
94cdf0e10cSrcweir	 */
95cdf0e10cSrcweir	[property] long FontEmphasisMark;
96cdf0e10cSrcweir
97cdf0e10cSrcweir	//-------------------------------------------------------------------------
98cdf0e10cSrcweir    /** specifies the size of the icons in the control
99cdf0e10cSrcweir
100cdf0e10cSrcweir        <p>At least the following values are to be supported:
101cdf0e10cSrcweir        <ul><li>0: small icons (16x16)</li>
102cdf0e10cSrcweir            <li>1: medium size icons (26x26)</li>
103cdf0e10cSrcweir        </ul>
104cdf0e10cSrcweir    */
105cdf0e10cSrcweir    [property] short IconSize;
106cdf0e10cSrcweir
107cdf0e10cSrcweir	//-------------------------------------------------------------------------
108cdf0e10cSrcweir    /** determines whether the control should provide functionality for positioning the
109cdf0e10cSrcweir        parent form
110cdf0e10cSrcweir    */
111cdf0e10cSrcweir    [property] boolean ShowPosition;
112cdf0e10cSrcweir
113cdf0e10cSrcweir	//-------------------------------------------------------------------------
114cdf0e10cSrcweir    /** determines whether the control should provide functionality for navigating the
115cdf0e10cSrcweir        parent form
116cdf0e10cSrcweir    */
117cdf0e10cSrcweir    [property] boolean ShowNavigation;
118cdf0e10cSrcweir
119cdf0e10cSrcweir	//-------------------------------------------------------------------------
120cdf0e10cSrcweir    /** determines whether the control should provide functionality for acting on the current record
121cdf0e10cSrcweir        of the parent form
122cdf0e10cSrcweir    */
123cdf0e10cSrcweir    [property] boolean ShowRecordActions;
124cdf0e10cSrcweir
125cdf0e10cSrcweir	//-------------------------------------------------------------------------
126cdf0e10cSrcweir    /** determines whether the control should provide functionality for filtering and sorting the
127cdf0e10cSrcweir        parent form
128cdf0e10cSrcweir    */
129cdf0e10cSrcweir    [property] boolean ShowFilterSort;
130cdf0e10cSrcweir
131cdf0e10cSrcweir	//-------------------------------------------------------------------------
132cdf0e10cSrcweir    /** specifies a repeat delay for the control
133cdf0e10cSrcweir
134cdf0e10cSrcweir        <p>Some buttons of a NavigationToolBar may show repeating behaviour, e.g. may be
135cdf0e10cSrcweir        repeatedly triggered when the user keeps the mouse pressed over such a button.<br/>
136cdf0e10cSrcweir        The delay between two such triggers (in milliseconds) is specified with this property.
137cdf0e10cSrcweir        </p>
138cdf0e10cSrcweir    */
139cdf0e10cSrcweir    [property] long RepeatDelay;
140cdf0e10cSrcweir};
141cdf0e10cSrcweir
142cdf0e10cSrcweir//=============================================================================
143cdf0e10cSrcweir
144cdf0e10cSrcweir}; }; }; }; };
145cdf0e10cSrcweir
146cdf0e10cSrcweir#endif
147