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/.
11 module com
{ module sun
{ module star
{ module sheet
{
14 /** extends XSpreadsheets interface to import external sheets.
16 @see com::sun::star::sheet::Spreadsheets
18 interface XSpreadsheets2
: com
::sun
::star
::sheet
::XSpreadsheets
20 /** copies a sheet from a source document.
23 a valid XSpreadsheetDocument reference to source doc
26 the source sheet name. Throw IllegalArgumentException if not valid
29 the destination sheet position. Throw IndexOutOfBoundsException if not valid
31 @returns the position of the imported sheet
33 @throws ::com::sun::star::lang::IllegalArgumentException
34 @throws com::sun::star::lang::IndexOutOfBoundsException
36 @since LibreOffice 3.5
39 [in] com
::sun
::star
::sheet
::XSpreadsheetDocument srcDoc
,
41 [in] long nDestPosition
)
42 raises
(com
::sun
::star
::lang
::IllegalArgumentException
,
43 com
::sun
::star
::lang
::IndexOutOfBoundsException
);
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */