(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.