LibreOffice LibreOffice 6.0 SDK API Reference

DataForm.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_DataForm_idl__
20 #define __com_sun_star_form_component_DataForm_idl__
21
22 #include <com/sun/star/form/component/Form.idl>
23 #include <com/sun/star/sdb/RowSet.idl>
24 #include <com/sun/star/form/TabulatorCycle.idl>
25 #include <com/sun/star/form/NavigationBarMode.idl>
26 #include <com/sun/star/form/XLoadable.idl>
27 #include <com/sun/star/sdb/XCompletedExecution.idl>
28 #include <com/sun/star/awt/TabControllerModel.idl>
29
30
31 module com { module sun { module star { module form {
32
33 published interface XReset;
34 published interface XDatabaseParameterBroadcaster;
35
36 module component {
46 published service DataForm
47 {
48 service com::sun::star::sdb::RowSet;
49 service com::sun::star::form::component::Form;
50
73 interface com::sun::star::form::XReset;
74
84 interface com::sun::star::form::XLoadable;
85
95 interface com::sun::star::sdb::XCompletedExecution;
96
114 interface com::sun::star::form::XDatabaseParameterBroadcaster;
115
126 [property] sequence<string> MasterFields;
127
153 [property] sequence<string> DetailFields;
154
157 [property] com::sun::star::form::TabulatorCycle Cycle;
158
161 [property] com::sun::star::form::NavigationBarMode NavigationBarMode;
162
170 [property] boolean AllowInserts;
171
179 [property] boolean AllowUpdates;
180
188 [property] boolean AllowDeletes;
189 };
190
191
192 }; }; }; }; };
193
194 #endif
195
196 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::form::component::DataForm::MasterFields
sequence< string > MasterFields
is used for subforms and contains the names of columns of the parent form.
Definition: DataForm.idl:114
TabControllerModel.idl
com::sun::star::form::component::DataForm::AllowDeletes
boolean AllowDeletes
determines if deletions of records of the form are allowed.
Definition: DataForm.idl:188
TabulatorCycle.idl
com
Definition: Ambiguous.idl:22
RowSet.idl
com::sun::star::form::XReset
provides functionality to reset components to some default values.
Definition: XReset.idl:35
com::sun::star::form::XDatabaseParameterBroadcaster
provides the possibility of receiving an event for configuration of parameters.
Definition: XDatabaseParameterBroadcaster.idl:40
com::sun::star::form::component::DataForm::AllowUpdates
boolean AllowUpdates
determines if modifications of the current record of the form are allowed.
Definition: DataForm.idl:179
NavigationBarMode.idl
com::sun::star::form::TabulatorCycle
TabulatorCycle
specifies how the TAB key should be used in a form.
Definition: TabulatorCycle.idl:42
com::sun::star::sdb::RowSet
is a client side RowSet, which use retrieves is data based on a database table, a query or a SQL comm...
Definition: RowSet.idl:191
com::sun::star::form::component::DataForm
This service specifies a form which is connected to a database and displays the results of SQL querie...
Definition: DataForm.idl:46
com::sun::star::form::component::DataForm::Cycle
com::sun::star::form::TabulatorCycle Cycle
returns the kind of tabulator controlling.
Definition: DataForm.idl:157
com::sun::star::form::XLoadable
provides functionality to implement objects which may be loaded.
Definition: XLoadable.idl:36
XLoadable.idl
com::sun::star::form::component::Form
This service specifies a form which is a group of FormComponents.
Definition: Form.idl:47
XCompletedExecution.idl
com::sun::star::sdb::XCompletedExecution
is used for execution where information for execution may be required from the user.
Definition: XCompletedExecution.idl:32
Form.idl
com::sun::star::form::component::DataForm::NavigationBarMode
com::sun::star::form::NavigationBarMode NavigationBarMode
determines how an navigation bar for this form should act.
Definition: DataForm.idl:161
com::sun::star::form::component::DataForm::DetailFields
sequence< string > DetailFields
is used for subforms and contains the names of the columns of the subform which are related to the ma...
Definition: DataForm.idl:153
com::sun::star::form::component::DataForm::AllowInserts
boolean AllowInserts
determines if insertions into the form&#39;s row set are allowed.
Definition: DataForm.idl:170
com::sun::star::form::NavigationBarMode
NavigationBarMode
describes in which way the navigation of the records of a database form is performed.
Definition: NavigationBarMode.idl:29