merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sdb / ColumnDescriptorControlModel.idl
blobbb2d98fea3fcb96202e7824584eb74757c9445e4
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: ColumnDescriptorControlModel.idl,v $
10 * $Revision: 1.4 $
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_sdb_ColumnDescriptorControlModel_idl__
31 #define __com_sun_star_sdb_ColumnDescriptorControlModel_idl__
33 #ifndef __com_sun_star_awt_UnoControlModel_idl__
34 #include <com/sun/star/awt/UnoControlModel.idl>
35 #endif
38 //=============================================================================
39 module com { module sun { module star {
40 module sdbc {
41 interface XConnection;
43 module beans {
44 interface XPropertySet;
45 };};};};
47 module com { module sun { module star { module sdb {
49 //=============================================================================
51 /** specifies the standard model of an <type>ColumnDescriptorControl</type>.
53 service ColumnDescriptorControlModel
55 service com::sun::star::awt::UnoControlModel;
57 //-------------------------------------------------------------------------
59 /** specifies the border style of the control.
61 <pre>
62 0: No border
63 1: 3D border
64 2: simple border
65 </pre>
67 [property] short Border;
69 //-------------------------------------------------------------------------
71 /** determines whether the control is enabled or disabled.
73 [property] boolean Enabled;
76 //-------------------------------------------------------------------------
78 /** specifies that the control can be reached with the TAB key.
80 [property] boolean Tabstop;
82 /** specifies the column descriptor where the values will be stored in.
84 [property] ::com::sun::star::beans::XPropertySet Column;
86 /** specifies the connection to a database.
88 [property] ::com::sun::star::sdbc::XConnection ActiveConnection;
90 };
92 //=============================================================================
94 }; }; }; };
96 #endif