Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sheet ::
interface XSheetAnnotations
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::container::XElementAccess
          |
          +-::com::sun::star::container::XIndexAccess
             |
             +-XSheetAnnotations
Description provides methods to access cell annotations via index and to insert and remove annotations. See also CellAnnotation See also SheetCell

Methods' Summary
insertNew | creates a new annotation.
removeByIndex | removes a cell annotation from the collection.

Methods' Details
insertNew
void insertNew( | [in] ::com::sun::star::table::CellAddress [in] string | aPosition, aText );
Description creates a new annotation. This method creates a new annotation object, attaches it to the specified cell and inserts it into the collection. Parameter aPosition contains the address of the cell thta will contain the annotation. Parameter aText contains the annotation text.
removeByIndex
void removeByIndex( | [in] long | nIndex );
Description removes a cell annotation from the collection. This method removes the annotation from its cell and from the collection. Parameter nIndex is the index of the annotation in the collection.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.