LibreOffice LibreOffice 25.2 SDK API Reference

XSpreadsheets2.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
10
11module com { module sun { module star { module sheet {
12
13
18 interface XSpreadsheets2: com::sun::star::sheet::XSpreadsheets
19{
38 long importSheet(
39 [in] com::sun::star::sheet::XSpreadsheetDocument srcDoc,
40 [in] string srcName,
41 [in] long nDestPosition)
42 raises (com::sun::star::lang::IllegalArgumentException,
43 com::sun::star::lang::IndexOutOfBoundsException);
44};
45
46
47}; }; }; };
48
49/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:31
com::sun::star::sheet::XSpreadsheetDocument
provides access to a collection of spreadsheets.
Definition: XSpreadsheetDocument.idl:29
com::sun::star::sheet::XSpreadsheets2
extends XSpreadsheets interface to import external sheets.
Definition: XSpreadsheets2.idl:19
com::sun::star::sheet::XSpreadsheets2::importSheet
long importSheet([in] com::sun::star::sheet::XSpreadsheetDocument srcDoc, [in] string srcName, [in] long nDestPosition)
copies a sheet from a source document.
com::sun::star::sheet::XSpreadsheets
provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreads...
Definition: XSpreadsheets.idl:30
com
Definition: Ambiguous.idl:20