LibreOffice
LibreOffice 7.4 SDK API Reference
XDatabaseDataProvider.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_chart2_data_XDatabaseDataProvider_idl__
20 #define __com_sun_star_chart2_data_XDatabaseDataProvider_idl__
21 
32 
33 
34  module com { module sun { module star { module chart2 { module data {
35 
36 
43 {
47  interface XDataProvider;
48 
53 
57 
61 
65 
68 
78  [attribute,bound] sequence<string> MasterFields;
79 
103  [attribute,bound] sequence<string> DetailFields;
104 
120  [attribute,bound] string Command;
121 
131  [attribute,bound] long CommandType;
132 
147  [attribute,bound] string Filter;
148 
152  [attribute,bound] boolean ApplyFilter;
153 
156  [attribute,bound] string HavingClause
157  {
159  };
160 
163  [attribute,bound] string GroupBy
164  {
166  };
167 
170  [attribute,bound] string Order;
171 
182  [attribute,bound] boolean EscapeProcessing;
183 
187  [attribute,bound] long RowLimit;
188 
191  [attribute,bound] com::sun::star::sdbc::XConnection ActiveConnection
192  {
194  };
198  [attribute,bound] string DataSourceName;
199 };
200 
201 
202  }; }; }; }; };
203 
204 #endif
205 
206 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:35
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:64
An application that provides data for a chart must implement this interface.
Definition: XDataProvider.idl:43
identifies a XDataProvider for result sets.
Definition: XDatabaseDataProvider.idl:43
long CommandType
specifies the type of the command to be executed to retrieve a result set.
Definition: XDatabaseDataProvider.idl:131
long RowLimit
specifies the maximal count of rows which should be fetched.
Definition: XDatabaseDataProvider.idl:187
string Filter
specifies an additional filter to optionally use.
Definition: XDatabaseDataProvider.idl:147
boolean ApplyFilter
indicates whether the filter should be applied or not, default is FALSE.
Definition: XDatabaseDataProvider.idl:152
string Order
is an additional sort order definition for a row set.
Definition: XDatabaseDataProvider.idl:170
sequence< string > DetailFields
is used for subreports and contains the names of the columns of the subreport which are related to th...
Definition: XDatabaseDataProvider.idl:103
string Command
is the command which should be executed, the type of command depends on the CommandType.
Definition: XDatabaseDataProvider.idl:120
boolean EscapeProcessing
specifies if the Command should be analyzed on the client side before sending it to the database serv...
Definition: XDatabaseDataProvider.idl:182
sequence< string > MasterFields
is used for subreports and contains the names of columns of the parent report.
Definition: XDatabaseDataProvider.idl:67
string DataSourceName
is the name of the data source to use, this could be a named data source or the URL of a data access ...
Definition: XDatabaseDataProvider.idl:198
An application that provides data for a chart must implement this interface.
Definition: XRangeXMLConversion.idl:40
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
initializes an object directly after its creation.
Definition: XInitialization.idl:47
represents a connection (session) with a specific database.
Definition: XConnection.idl:58
is used for parameter setting, commonly implemented in conjunction with PreparedStatements.
Definition: XParameters.idl:77
enhances the functionality of a result set.
Definition: XRowSet.idl:43
Definition: Ambiguous.idl:22