LibreOffice LibreOffice 6.1 SDK API Reference

XCopyTableWizard.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_XCopyTableWizard_idl__
21 #define __com_sun_star_sdb_application_XCopyTableWizard_idl__
22
23 #include <com/sun/star/ui/dialogs/XExecutableDialog.idl>
24 #include <com/sun/star/lang/IllegalArgumentException.idl>
25 #include <com/sun/star/sdbc/SQLException.idl>
26 #include <com/sun/star/beans/Optional.idl>
27
28 module com { module sun { module star { module sdb { module application {
29
30 interface XCopyTableListener;
31
32
46 interface XCopyTableWizard : ::com::sun::star::ui::dialogs::XExecutableDialog
47 {
67 [attribute] short Operation
68 {
69 set raises ( ::com::sun::star::lang::IllegalArgumentException );
70 };
71
84 [attribute] string DestinationTableName;
85
108 [attribute] ::com::sun::star::beans::Optional< string >
109 CreatePrimaryKey
110 {
111 set raises ( ::com::sun::star::lang::IllegalArgumentException,
112 ::com::sun::star::sdbc::SQLException );
113 };
114
121 [attribute] boolean UseHeaderLineAsColumnNames;
122
125 void addCopyTableListener( [in] XCopyTableListener Listener );
126
129 void removeCopyTableListener( [in] XCopyTableListener Listener );
130 };
131
132
133 }; }; }; }; };
134
135
136 #endif
137
138 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
XExecutableDialog.idl
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
com::sun::star::sdb::application::XCopyTableWizard::DestinationTableName
string DestinationTableName
specifies the name of the table in the destination database.
Definition: XCopyTableWizard.idl:84
Optional.idl
com::sun::star::ui::dialogs::XExecutableDialog
Specifies an interface for an executable dialog.
Definition: XExecutableDialog.idl:33
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
com::sun::star::sdb::application::XCopyTableWizard::UseHeaderLineAsColumnNames
boolean UseHeaderLineAsColumnNames
specifies that the first row should be used to identify column names.
Definition: XCopyTableWizard.idl:121
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
com::sun::star::sdb::application::XCopyTableWizard
describes a wizard which can be used to copy table like data from one database to another...
Definition: XCopyTableWizard.idl:46
com::sun::star::sdb::application::XCopyTableListener
specifies the interface required to listen for progress in copying table rows via a CopyTableWizard...
Definition: XCopyTableListener.idl:36