LibreOffice: com/sun/star/sdb/application/XCopyTableWizard.idl Source File

LibreOffice LibreOffice 7.3 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
28module com { module sun { module star { module sdb { module application {
29
30interface 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: */
IllegalArgumentException.idl
Optional.idl
SQLException.idl
XExecutableDialog.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
com::sun::star::sdb::application::XCopyTableListener
specifies the interface required to listen for progress in copying table rows via a CopyTableWizard.
Definition: XCopyTableListener.idl:37
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:47
com::sun::star::sdb::application::XCopyTableWizard::DestinationTableName
string DestinationTableName
specifies the name of the table in the destination database.
Definition: XCopyTableWizard.idl:84
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::sdb::application::XCopyTableWizard::addCopyTableListener
void addCopyTableListener([in] XCopyTableListener Listener)
adds a listener which is to be notified of progress in the copy operation
com::sun::star::sdb::application::XCopyTableWizard::removeCopyTableListener
void removeCopyTableListener([in] XCopyTableListener Listener)
removes a listener
com::sun::star::ui::dialogs::XExecutableDialog
Specifies an interface for an executable dialog.
Definition: XExecutableDialog.idl:34
com
Definition: Accessible.idl:22