| LibreOffice
    LibreOffice 25.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. | |
| Public Member Functions inherited from XSpreadsheets | |
| void | insertNewByName ([in] string aName, [in] short nPosition) | 
| inserts a new sheet into the collection. | |
| void | moveByName ([in] string aName, [in] short nDestination) | 
| moves a sheet within the collection. | |
| void | copyByName ([in] string aName, [in] string aCopy, [in] short nDestination) | 
| copies a sheet within the collection. | |
| 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. | |
| void | removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) | 
| removes the element with the specified name. | |
| 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. | |
| 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. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
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 |