LibreOffice LibreOffice 6.1 SDK API Reference

GridControl.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19 #ifndef __com_sun_star_form_component_GridControl_idl__
20 #define __com_sun_star_form_component_GridControl_idl__
21
22 #include <com/sun/star/util/Color.idl>
23 #include <com/sun/star/form/FormControlModel.idl>
24
25 #include <com/sun/star/form/XGridColumnFactory.idl>
26
27 #include <com/sun/star/form/FormComponents.idl>
28 #include <com/sun/star/container/XContainer.idl>
29
30 #include <com/sun/star/view/XSelectionSupplier.idl>
31
32 #include <com/sun/star/container/XNameContainer.idl>
33
34 #include <com/sun/star/container/XIndexContainer.idl>
35
36 #include <com/sun/star/container/XEnumerationAccess.idl>
37
38 #include <com/sun/star/script/XEventAttacherManager.idl>
39
40 #include <com/sun/star/form/XReset.idl>
41
42 #include <com/sun/star/awt/FontDescriptor.idl>
43
44
45
46 module com { module sun { module star { module form { module component {
47
48
63 published service GridControl
64 {
65 service com::sun::star::form::FormControlModel;
66
76 service com::sun::star::form::FormComponents;
77
87 interface com::sun::star::form::XGridColumnFactory;
88
100 interface com::sun::star::view::XSelectionSupplier;
101
108 interface com::sun::star::form::XReset;
109
110
119 [property] short Border;
120
121
129 [optional, property] long BorderColor;
130
131
134 [property] boolean Enabled;
135
136
139 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
140
141
149 [property] long RowHeight;
150
151
154 [property] boolean Tabstop;
155
156
159 [property] com::sun::star::util::Color TextColor;
160
161 };
162
163
164 }; }; }; }; };
165
166 #endif
167
168 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::form::FormComponents
specifies the capabilities of a collection of FormComponents.
Definition: FormComponents.idl:41
com::sun::star::form::component::GridControl
specifies a model for a control which can display form data in a table-like way.
Definition: GridControl.idl:63
FormComponents.idl
FontDescriptor.idl
XEventAttacherManager.idl
com::sun::star::form::FormControlModel
specifies a control model within a form.
Definition: FormControlModel.idl:39
com
Definition: Ambiguous.idl:22
com::sun::star::form::XGridColumnFactory
allows to create columns to be added into a grid control model.
Definition: XGridColumnFactory.idl:42
com::sun::star::form::component::GridControl::Enabled
boolean Enabled
determines whether the control is enabled or disabled.
Definition: GridControl.idl:134
com::sun::star::form::XReset
provides functionality to reset components to some default values.
Definition: XReset.idl:35
XEnumerationAccess.idl
XNameContainer.idl
XSelectionSupplier.idl
XContainer.idl
com::sun::star::sheet::Border
Border
is used to select one of the four borders of a cell range.
Definition: Border.idl:29
com::sun::star::form::component::GridControl::FontDescriptor
com::sun::star::awt::FontDescriptor FontDescriptor
contains the font attributes of the text in the control.
Definition: GridControl.idl:139
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:33
com::sun::star::form::component::GridControl::RowHeight
long RowHeight
specifies the height of a row of the grid.
Definition: GridControl.idl:149
XGridColumnFactory.idl
FormControlModel.idl
com::sun::star::form::component::GridControl::TextColor
com::sun::star::util::Color TextColor
specifies the text color (RGB) of the control.
Definition: GridControl.idl:159
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Color.idl
XIndexContainer.idl
com::sun::star::form::component::GridControl::BorderColor
long BorderColor
specifies the color of the border, if present
Definition: GridControl.idl:129
XReset.idl
com::sun::star::view::XSelectionSupplier
makes it possible to access and change the selection in a view.
Definition: XSelectionSupplier.idl:37
com::sun::star::form::component::GridControl::Tabstop
boolean Tabstop
determines whether the control can be reached by the tabulator key.
Definition: GridControl.idl:154