provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets.
More...
import "XSpreadsheets.idl";
|
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| |
| sequence< string > | getElementNames () |
| |
| boolean | hasByName ([in] string aName) |
| |
| type | getElementType () |
| |
| boolean | hasElements () |
| |
| 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.
|
| |
provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets.
- See also
- com::sun::star::sheet::Spreadsheets
◆ copyByName()
| void copyByName |
( |
[in] string | aName, |
|
|
[in] string | aCopy, |
|
|
[in] short | nDestination ) |
copies a sheet within the collection.
- Parameters
-
| 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. |
◆ insertNewByName()
| void insertNewByName |
( |
[in] string | aName, |
|
|
[in] short | nPosition ) |
inserts a new sheet into the collection.
- Parameters
-
| aName | the name of the new spreadsheet. |
| nPosition | the index of the new spreadsheet in the collection. |
◆ moveByName()
| void moveByName |
( |
[in] string | aName, |
|
|
[in] short | nDestination ) |
moves a sheet within the collection.
- Parameters
-
| aName | the name of the spreadsheet to move. |
| nDestination | the new index of the spreadsheet in the collection. |
The documentation for this interface was generated from the following file: