LibreOffice
LibreOffice 5.1 SDK API Reference
XDatabaseDocumentUI.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 
20 #ifndef __com_sun_star_sdb_application_XDatabaseDocumentUI_idl__
21 #define __com_sun_star_sdb_application_XDatabaseDocumentUI_idl__
22 
32 
33 
34 module com { module sun { module star { module sdb { module application {
35 
36 
48 {
52 
64 
74 
77  boolean isConnected();
78 
93  void connect()
94  raises ( ::com::sun::star::sdbc::SQLException );
95 
108  [attribute, readonly] sequence< ::com::sun::star::lang::XComponent >
109  SubComponents;
110 
126  ::com::sun::star::beans::Pair< long, string >
127  identifySubComponent(
128  [in] ::com::sun::star::lang::XComponent SubComponent
129  )
130  raises (
131  ::com::sun::star::lang::IllegalArgumentException
132  );
133 
156  boolean closeSubComponents();
157 
240  ::com::sun::star::lang::XComponent loadComponent(
241  [in] long ObjectType,
242  [in] string ObjectName,
243  [in] boolean ForEditing )
244  raises ( ::com::sun::star::lang::IllegalArgumentException,
245  ::com::sun::star::container::NoSuchElementException,
246  ::com::sun::star::sdbc::SQLException );
247 
257  ::com::sun::star::lang::XComponent loadComponentWithArguments(
258  [in] long ObjectType,
259  [in] string ObjectName,
260  [in] boolean ForEditing,
261  [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments )
262  raises ( ::com::sun::star::lang::IllegalArgumentException,
263  ::com::sun::star::container::NoSuchElementException,
264  ::com::sun::star::sdbc::SQLException );
265 
277  ::com::sun::star::lang::XComponent createComponent(
278  [in] long ObjectType,
279  [out] ::com::sun::star::lang::XComponent DocumentDefinition )
280  raises ( ::com::sun::star::lang::IllegalArgumentException,
281  ::com::sun::star::sdbc::SQLException );
282 
305  ::com::sun::star::lang::XComponent createComponentWithArguments(
306  [in] long ObjectType,
307  [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments,
308  [out] ::com::sun::star::lang::XComponent DocumentDefinition )
309  raises ( ::com::sun::star::lang::IllegalArgumentException,
310  ::com::sun::star::container::NoSuchElementException,
311  ::com::sun::star::sdbc::SQLException );
312 };
313 
314 
315 }; }; }; }; };
316 
317 
318 #endif
319 
320 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
represents a connection (session) with a specific database.
Definition: XConnection.idl:57
Definition: Ambiguous.idl:22
com::sun::star::sdbc::XConnection ActiveConnection
provides access to the current connection of the application
Definition: XDatabaseDocumentUI.idl:73
com::sun::star::awt::XWindow ApplicationMainWindow
provides access to the application&#39;s main window
Definition: XDatabaseDocumentUI.idl:63
specifies the basic operations for a window component.
Definition: XWindow.idl:50
provides access to the user interface of a database document
Definition: XDatabaseDocumentUI.idl:47
specifies a sub document of a OfficeDatabaseDocument.
Definition: DocumentDefinition.idl:37
com::sun::star::sdbc::XDataSource DataSource
provides access to the data source belong to the database document
Definition: XDatabaseDocumentUI.idl:51
is used for establishing connections via a factory which is identified by its name.
Definition: XDataSource.idl:35