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: UnoControlEditModel.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_awt_grid_UnoControlGridModel_idl__
31 #define __com_sun_star_awt_grid_UnoControlGridModel_idl__
33 #include
<com
/sun
/star
/awt
/grid
/XGridColumnModel.idl
>
35 #include
<com
/sun
/star
/awt
/grid
/XGridDataModel.idl
>
37 #include
<com
/sun
/star
/awt
/grid
/ScrollBarMode.idl
>
39 #include
<com
/sun
/star
/awt
/UnoControlModel.idl
>
41 #include
<com
/sun
/star
/view
/SelectionType.idl
>
43 //=============================================================================
45 module com
{ module sun
{ module star
{ module awt
{ module grid
{
47 //=============================================================================
49 /** specifies the standard model of a <type>UnoControlGridModel</type>.
51 service UnoControlGridModel
53 /** specifies the standard model of an <type scope="com::sun::star::awt">UnoControl</type>. */
54 service com
::sun
::star
::awt
::UnoControlModel
;
56 /** Specifies whether the grid control should display a special header column.
57 <p>The default value is <FALSE/></p>
59 [property
] boolean ShowRowHeader
;
61 /** Specifies whether the grid control should display a title row.
62 <p>The default value is <TRUE/></p>
64 [property
] boolean ShowColumnHeader
;
66 /** Specifies the <type>XGridColumnModel</type> that is providing the column structure.
68 <p>You can implement your own instance of <type>XGridColumnModel</type> or use
69 the <type>DefaultGridColumnModel</type>.
71 [property
] XGridColumnModel ColumnModel
;
73 /** Specifies the <type>XGridDataModel</type> that is providing the hierarchical data.
75 <p>You can implement your own instance of <type>XGridDataModel</type> or use
76 the <type>DefaultGridDataModel</type>.
78 [property
] XGridDataModel DataModel
;
80 /** Specifies the vertical scrollbar mode.
81 <p>The default value is <FALSE/></p>
83 [property
] boolean HScroll
;
85 /** Specifies the horizontal scrollbar mode.
86 <p>The default value is <FALSE/></p>
88 [property
] boolean VScroll
;
90 /** Specifies the selection mode that is enabled for this grid control.
91 <p>The default value is <member scope="com::sun::star::view">SelectionType::SINGLE</member></p>
93 [property
] ::com
::sun
::star
::view
::SelectionType SelectionModel
;
97 //=============================================================================