English:

The Free and Open Productivity Suite
New: Apache OpenOffice 4.1.1 released!

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

interface XSheetAnnotations
Base Interfaces
XSheetAnnotations
┗ ::com::sun::star::container::XIndexAccess
   ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XIndexAccess
(referenced interface's summary:)
provides access to the elements of a collection through an index.
Description
provides methods to access cell annotations via index and to insert and remove annotations.
See also
CellAnnotation, 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  aPosition,
[in] string  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

Logo ApacheCon Europe 2014

Apache Feather

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.