LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
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
21module com { module sun { module star { module sdb { module application {
22
23
35{
39
51
61
64 boolean isConnected();
65
80 void connect()
81 raises ( ::com::sun::star::sdbc::SQLException );
82
95 [attribute, readonly] sequence< ::com::sun::star::lang::XComponent >
97
113 ::com::sun::star::beans::Pair< long, string >
114 identifySubComponent(
115 [in] ::com::sun::star::lang::XComponent SubComponent
116 )
117 raises (
118 ::com::sun::star::lang::IllegalArgumentException
119 );
120
143 boolean closeSubComponents();
144
227 ::com::sun::star::lang::XComponent loadComponent(
228 [in] long ObjectType,
229 [in] string ObjectName,
230 [in] boolean ForEditing )
231 raises ( ::com::sun::star::lang::IllegalArgumentException,
232 ::com::sun::star::container::NoSuchElementException,
233 ::com::sun::star::sdbc::SQLException );
234
244 ::com::sun::star::lang::XComponent loadComponentWithArguments(
245 [in] long ObjectType,
246 [in] string ObjectName,
247 [in] boolean ForEditing,
248 [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments )
249 raises ( ::com::sun::star::lang::IllegalArgumentException,
250 ::com::sun::star::container::NoSuchElementException,
251 ::com::sun::star::sdbc::SQLException );
252
264 ::com::sun::star::lang::XComponent createComponent(
265 [in] long ObjectType,
266 [out] ::com::sun::star::lang::XComponent DocumentDefinition )
267 raises ( ::com::sun::star::lang::IllegalArgumentException,
268 ::com::sun::star::sdbc::SQLException );
269
294 ::com::sun::star::lang::XComponent createComponentWithArguments(
295 [in] long ObjectType,
296 [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments,
297 [out] ::com::sun::star::lang::XComponent DocumentDefinition )
298 raises ( ::com::sun::star::lang::IllegalArgumentException,
299 ::com::sun::star::container::NoSuchElementException,
300 ::com::sun::star::sdbc::SQLException );
301};
302
303
304}; }; }; }; };
305
306
307/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
specifies the basic operations for a window component.
Definition generated_idl_chapter_refs.idl:2245
provides access to the user interface of a database document
Definition XDatabaseDocumentUI.idl:35
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:38
com::sun::star::awt::XWindow ApplicationMainWindow
provides access to the application's main window
Definition XDatabaseDocumentUI.idl:50
sequence< ::com::sun::star::lang::XComponent > SubComponents
contains all sub components of the database document
Definition XDatabaseDocumentUI.idl:96
com::sun::star::sdbc::XConnection ActiveConnection
provides access to the current connection of the application
Definition XDatabaseDocumentUI.idl:60
boolean isConnected()
determines whether the application is currently connected to the database
represents a connection (session) with a specific database.
Definition XConnection.idl:50
is used for establishing connections via a factory which is identified by its name.
Definition generated_idl_chapter_refs.idl:3239
Definition Ambiguous.idl:20
specifies a sub document of an OfficeDatabaseDocument.
Definition DocumentDefinition.idl:33