|
LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets. More...
import"XSpreadsheets.idl";
Public Member Functions | |
| 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... | |
provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets.
| void copyByName | ( | [in] string | aName, |
| [in] string | aCopy, | ||
| [in] short | nDestination | ||
| ) |
copies a sheet within the collection.
| aName | the name of the spreadsheet to copy. |
| aCopy | the name of the copy of the spreadsheet. |
| nDestination | the index of the copy in the collection. |
| void insertNewByName | ( | [in] string | aName, |
| [in] short | nPosition | ||
| ) |
inserts a new sheet into the collection.
| aName | the name of the new spreadsheet. |
| nPosition | the index of the new spreadsheet in the collection. |
| void moveByName | ( | [in] string | aName, |
| [in] short | nDestination | ||
| ) |
moves a sheet within the collection.
| aName | the name of the spreadsheet to move. |
| nDestination | the new index of the spreadsheet in the collection. |
1.8.14