(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XSheetCellRanges
Base Interfaces
XSheetCellRanges
┗ ::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 ranges in a collection via index and other helper methods.
See also
SheetCellRanges

Methods' Summary
getCells returns the collection of all used cells.  
getRangeAddressesAsString creates a string with addresses of all contained cell ranges.  
getRangeAddresses creates a sequence with addresses of all contained cell ranges.  
Methods' Details
getCells
::com::sun::star::container::XEnumerationAccess
getCells();

Description
returns the collection of all used cells.
See also
Cells
getRangeAddressesAsString
string
getRangeAddressesAsString();

Description
creates a string with addresses of all contained cell ranges.

The range addresses are separated with semicolons. For instance the string could have the form "Sheet1.A1:C3;Sheet2.D5:F8".

Returns
a string containing the addresses of all cell ranges.
getRangeAddresses
sequence< ::com::sun::star::table::CellRangeAddress >
getRangeAddresses();

Description
creates a sequence with addresses of all contained cell ranges.
Returns
a sequence with the addresses of all cell ranges.
Top of Page

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.

Copyright & License
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.