Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XNamedRanges

Base Interface
com::sun::star::container::XNameAccess

Description
represents a collection of named ranges.
See also
com::sun::star::sheet::NamedRanges


Known Services which Export this Interface

com::sun::star::sheet::NamedRanges a collection of named ranges.

Methods' Summary

addNewByName adds a new named range to the collection.
addNewFromTitles creates named ranges from titles in a cell range.
removeByName removes a named range from the collection.
outputList writes a list of all named ranges into the document.

Methods' Details

addNewByName
 
void
addNewByName(
[ in ] string aName,
[ in ] string aContent,
[ in ] com::sun::star::table::CellAddress aPosition,
[ in ] long nType );

Description
adds a new named range to the collection.
addNewFromTitles
 
void
addNewFromTitles(
[ in ] com::sun::star::table::CellRangeAddress aSource,
[ in ] com::sun::star::sheet::Border aBorder );

Description
creates named ranges from titles in a cell range.

Names for the named ranges are taken from titles in the top or bottom row, or the left or right column of the range. The named ranges refer to single columns or rows in the inner part of the original range, excluding the labels.

removeByName
 
void
removeByName(
[ in ] string aName );

Description
removes a named range from the collection.
outputList
 
void
outputList(
[ in ] com::sun::star::table::CellAddress aOutputPosition );

Description
writes a list of all named ranges into the document.

The first column of the list contains the names. The second column contains the contents of the named ranges.


Top of Page