LibreOffice: com/sun/star/form/DataAwareControlModel.idl Source File

LibreOffice LibreOffice 5.1 SDK API Reference

DataAwareControlModel.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_DataAwareControlModel_idl__
20 #define __com_sun_star_form_DataAwareControlModel_idl__
21
22 #include <com/sun/star/form/FormControlModel.idl>
23
24 #include <com/sun/star/form/XBoundComponent.idl>
25
26 #include <com/sun/star/form/XLoadListener.idl>
27
28 #include <com/sun/star/form/XReset.idl>
29
30 #include <com/sun/star/beans/XPropertySet.idl>
31
32
33
34 module com { module sun { module star { module form {
35
36
46 published service DataAwareControlModel
47 {
48 service com::sun::star::form::FormControlModel;
49
57 [optional] interface com::sun::star::form::XBoundComponent;
58
59
65 interface com::sun::star::form::XLoadListener;
66
67
91 interface com::sun::star::form::XReset;
92
93
106 [property] string DataField;
107
118 [optional, property] boolean InputRequired;
119
120
127 [readonly, property] com::sun::star::beans::XPropertySet BoundField;
128
129
164 [property] com::sun::star::beans::XPropertySet LabelControl;
165
166 };
167
168
169 }; }; }; };
170
171 #endif
172
173 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::form::DataAwareControlModel::DataField
string DataField
specifies the name of the bound database field.
Definition: DataAwareControlModel.idl:91
com::sun::star::form::DataAwareControlModel::BoundField
com::sun::star::beans::XPropertySet BoundField
references to the cursor field to which the control is bound.
Definition: DataAwareControlModel.idl:127
XBoundComponent.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::XLoadListener
receives load-related events from a loadable object.
Definition: XLoadListener.idl:40
com::sun::star::form::XReset
provides functionality to reset components to some default values.
Definition: XReset.idl:35
com::sun::star::form::XBoundComponent
specifies a (form) component which is bound to a data source.
Definition: XBoundComponent.idl:43
com::sun::star::form::DataAwareControlModel::InputRequired
boolean InputRequired
determines whether or not input into this field is required, when it is actually bound to a database ...
Definition: DataAwareControlModel.idl:118
FormControlModel.idl
XLoadListener.idl
com::sun::star::form::DataAwareControlModel::LabelControl
com::sun::star::beans::XPropertySet LabelControl
references to a control model within the same document which should be used as a label.
Definition: DataAwareControlModel.idl:164
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:63
XPropertySet.idl
XReset.idl
com::sun::star::form::DataAwareControlModel
is an abstract service for specialized FormControlModels which are data aware and thus can be bound t...
Definition: DataAwareControlModel.idl:46