LibreOffice
LibreOffice 7.4 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 >
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 
307  ::com::sun::star::lang::XComponent createComponentWithArguments(
308  [in] long ObjectType,
309  [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments,
310  [out] ::com::sun::star::lang::XComponent DocumentDefinition )
311  raises ( ::com::sun::star::lang::IllegalArgumentException,
312  ::com::sun::star::container::NoSuchElementException,
313  ::com::sun::star::sdbc::SQLException );
314 };
315 
316 
317 }; }; }; }; };
318 
319 
320 #endif
321 
322 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
specifies the basic operations for a window component.
Definition: XWindow.idl:51
provides access to the user interface of a database document
Definition: XDatabaseDocumentUI.idl:48
void connect()
lets the application connect to the database
com::sun::star::sdbc::XDataSource DataSource
provides access to the data source belong to the database document
Definition: XDatabaseDocumentUI.idl:51
com::sun::star::awt::XWindow ApplicationMainWindow
provides access to the application's main window
Definition: XDatabaseDocumentUI.idl:63
sequence< ::com::sun::star::lang::XComponent > SubComponents
contains all sub components of the database document
Definition: XDatabaseDocumentUI.idl:109
com::sun::star::sdbc::XConnection ActiveConnection
provides access to the current connection of the application
Definition: XDatabaseDocumentUI.idl:73
boolean isConnected()
determines whether the application is currently connected to the database
represents a connection (session) with a specific database.
Definition: XConnection.idl:58
is used for establishing connections via a factory which is identified by its name.
Definition: XDataSource.idl:36
Definition: Ambiguous.idl:22
specifies a sub document of an OfficeDatabaseDocument.
Definition: DocumentDefinition.idl:38