provides methods to access cell annotations via index and to insert and remove annotations. More...
import "XSheetAnnotations.idl";
Public Member Functions | |
| void | insertNew ([in] com::sun::star::table::CellAddress aPosition, [in] string aText) |
| creates a new annotation. | |
| void | removeByIndex ([in] long nIndex) |
| removes a cell annotation from the collection. | |
Public Member Functions inherited from XIndexAccess | |
| long | getCount () |
| any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
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. | |
provides methods to access cell annotations via index and to insert and remove annotations.
| void insertNew | ( | [in] com::sun::star::table::CellAddress | aPosition, |
| [in] string | aText ) |
creates a new annotation.
This method creates a new annotation object, attaches it to the specified cell and inserts it into the collection.
| aPosition | contains the address of the cell that will contain the annotation. |
| aText | contains the annotation text. |
| void removeByIndex | ( | [in] long | nIndex | ) |
removes a cell annotation from the collection.
This method removes the annotation from its cell and from the collection.
| nIndex | is the index of the annotation in the collection. |