1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: NavigationToolBar.idl,v $
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 ************************************************************************/
30 #ifndef __com_sun_star_form_component_NavigationToolBar_idl__
31 #define __com_sun_star_form_component_NavigationToolBar_idl__
33 #ifndef __com_sun_star_form_FormControlModel_idl__
34 #include
<com
/sun
/star
/form
/FormControlModel.idl
>
36 #ifndef __com_sun_star_awt_FontDescriptor_idl__
37 #include
<com
/sun
/star
/awt
/FontDescriptor.idl
>
40 //=============================================================================
42 module com
{ module sun
{ module star
{ module form
{ module component
{
44 //=============================================================================
46 /** This service specifies the model for control which provides controller
47 functionality for a <type>DataForm</type>, such as navigating or filtering
50 service NavigationToolBar
52 service com
::sun
::star
::form
::FormControlModel
;
54 //-------------------------------------------------------------------------
55 /** denotes the border style of the control.
58 <ul><li><b>0</b>: no border at all</li>
59 <li><b>1</b>: 3D border</li>
60 <li><b>2</b>: simple flat</li>
63 [property
] short Border
;
65 //-------------------------------------------------------------------------
66 /** determines whether the control is enabled or disabled.
68 [property
] boolean Enabled
;
70 //-------------------------------------------------------------------------
71 /** contains the font attributes for the text in the control
73 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
75 //-------------------------------------------------------------------------
76 /** specifies the text color (as RGB value) of the control.
78 [property
] long TextColor
;
80 //-------------------------------------------------------------------------
81 /** specifies the text line color (as RGB value) of the control.
83 <p>This color is used if the <member>FontDescriptor</member> defines
84 that the text in the control should be underlined or stroke out.</p>
86 [property
] long TextLineColor
;
88 //-------------------------------------------------------------------------
89 /** specifies the relief for the font described in <member>FontDescriptor</member>
91 <p>The value must be one of the <type scope="com::sun::star::text">FontRelief</type>
94 [property
] long FontRelief
;
96 //-------------------------------------------------------------------------
97 /** specifies the emphasis mark for the font described in <member>FontDescriptor</member>
99 <p>The value must be one of the <type scope="com::sun::star::text">FontEmphasis</type>
102 [property
] long FontEmphasisMark
;
104 //-------------------------------------------------------------------------
105 /** specifies the size of the icons in the control
107 <p>At least the following values are to be supported:
108 <ul><li>0: small icons (16x16)</li>
109 <li>1: medium size icons (26x26)</li>
112 [property
] short IconSize
;
114 //-------------------------------------------------------------------------
115 /** determines whether the control should provide functionality for positioning the
118 [property
] boolean ShowPosition
;
120 //-------------------------------------------------------------------------
121 /** determines whether the control should provide functionality for navigating the
124 [property
] boolean ShowNavigation
;
126 //-------------------------------------------------------------------------
127 /** determines whether the control should provide functionality for acting on the current record
130 [property
] boolean ShowRecordActions
;
132 //-------------------------------------------------------------------------
133 /** determines whether the control should provide functionality for filtering and sorting the
136 [property
] boolean ShowFilterSort
;
138 //-------------------------------------------------------------------------
139 /** specifies a repeat delay for the control
141 <p>Some buttons of a NavigationToolBar may show repeating behaviour, e.g. may be
142 repeatedly triggered when the user keeps the mouse pressed over such a button.<br/>
143 The delay between two such triggers (in milliseconds) is specified with this property.
146 [property
] long RepeatDelay
;
149 //=============================================================================