Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / form / NavigationBarMode.idl
blob811ffe95e2ab46dc8f7dfdce41719378f861732a
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: NavigationBarMode.idl,v $
10 * $Revision: 1.8 $
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_NavigationBarMode_idl__
31 #define __com_sun_star_form_NavigationBarMode_idl__
34 //=============================================================================
36 module com { module sun { module star { module form {
38 //=============================================================================
40 /** describes in which way the navigation of the records of a database form is performed.
42 published enum NavigationBarMode
44 //-------------------------------------------------------------------------
46 /** no navigation bar is provided and navigation on the current
47 form is only possible with the keyboard (TAB/SHIFT TAB).
49 <p>Note that when this mode is set, a simultaneous <type>TabulatorCycle</type>
50 value of <member>TabulatorCycle::CURRENT</member> means that you cannot travel
51 between records anymore.</p>
53 @see TabulatorCycle
55 NONE,
57 //-------------------------------------------------------------------------
59 /** a navigation bar is provided and navigation will be performed
60 on the current/active form.
61 <p>This is the default and most often encountered mode.</p>
63 CURRENT,
65 //-------------------------------------------------------------------------
67 /** a navigation bar is provided and navigation will be performed
68 on the parent of the current/active form.
70 <p>This options is usually used for forms containing an grid control only.
71 In such a form, the control has it's own navigation elements, so there is
72 no need to use the navigation bar for the form, but rather for it's parent.
73 </p>
75 PARENT
77 };
79 //=============================================================================
81 }; }; }; };
83 /*=============================================================================
85 =============================================================================*/
86 #endif