LibreOffice
LibreOffice 24.2 SDK API Reference
|
extends XSpreadsheets interface to import external sheets. More...
import"XSpreadsheets2.idl";
Public Member Functions | |
long | importSheet ([in] com::sun::star::sheet::XSpreadsheetDocument srcDoc, [in] string srcName, [in] long nDestPosition) raises (com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::IndexOutOfBoundsException) |
copies a sheet from a source document. More... | |
Public Member Functions inherited from XSpreadsheets | |
void | insertNewByName ([in] string aName, [in] short nPosition) |
inserts a new sheet into the collection. More... | |
void | moveByName ([in] string aName, [in] short nDestination) |
moves a sheet within the collection. More... | |
void | copyByName ([in] string aName, [in] string aCopy, [in] short nDestination) |
copies a sheet within the collection. More... | |
Public Member Functions inherited from XNameContainer | |
void | insertByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException ) |
inserts the given element at the specified name. More... | |
void | removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
removes the element with the specified name. More... | |
Public Member Functions inherited from XNameReplace | |
void | replaceByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
replaces the element with the specified name with the given element. More... | |
Public Member Functions inherited from XNameAccess | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
extends XSpreadsheets interface to import external sheets.
long importSheet | ( | [in] com::sun::star::sheet::XSpreadsheetDocument | srcDoc, |
[in] string | srcName, | ||
[in] long | nDestPosition | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException, | |
com::sun::star::lang::IndexOutOfBoundsException | |||
) |
copies a sheet from a source document.
srcDoc | a valid XSpreadsheetDocument reference to source doc |
srcName | the source sheet name. Throw IllegalArgumentException if not valid |
nDestPosition | the destination sheet position. Throw IndexOutOfBoundsException if not valid |
com::sun::star::lang::IllegalArgumentException | |
com::sun::star::lang::IndexOutOfBoundsException |