1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef __com_sun_star_sheet_XSpreadsheets2_idl__
11 #define __com_sun_star_sheet_XSpreadsheets2_idl__
13 #include
<com
/sun
/star
/sheet
/XSpreadsheets.idl
>
14 #include
<com
/sun
/star
/sheet
/XSpreadsheetDocument.idl
>
15 #include
<com
/sun
/star
/lang
/IllegalArgumentException.idl
>
16 #include
<com
/sun
/star
/lang
/IndexOutOfBoundsException.idl
>
19 module com
{ module sun
{ module star
{ module sheet
{
22 /** extends XSpreadsheets interface to import external sheets.
24 @see com::sun::star::sheet::Spreadsheets
26 interface XSpreadsheets2
: com
::sun
::star
::sheet
::XSpreadsheets
28 /** copies a sheet from a source document.
31 a valid XSpreadsheetDocument reference to source doc
34 the source sheet name. Throw IllegalArgumentException if not valid
37 the destination sheet position. Throw IndexOutOfBoundsException if not valid
39 @returns the position of the imported sheet
41 @throws ::com::sun::star::lang::IllegalArgumentException
42 @throws com::sun::star::lang::IndexOutOfBoundsException
44 @since LibreOffice 3.5
47 [in] com
::sun
::star
::sheet
::XSpreadsheetDocument srcDoc
,
49 [in] long nDestPosition
)
50 raises
(com
::sun
::star
::lang
::IllegalArgumentException
,
51 com
::sun
::star
::lang
::IndexOutOfBoundsException
);
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */