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

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

interface XNamedRange

Base Interface
com::sun::star::container::XNamed

Description
represents a named range.
See also
com::sun::star::sheet::NamedRange


Known Services which Export this Interface

com::sun::star::sheet::NamedRange a range which can be addressed by a name.

Methods' Summary

getContent returns the content of the named range.
setContent sets the content of the named range.
getReferencePosition returns the position in the document which is used as a base for relative references in the content.
setReferencePosition sets the position in the document which is used as a base for relative references in the content.
getType returns the type of the named range.
setType sets the type of the named range.

Methods' Details

getContent
 
string
getContent();
Description
returns the content of the named range.

The content can be a reference to a cell or cell range or any formula.

setContent
 
void
setContent(
[ in ] string aContent );

Description
sets the content of the named range.

The content can be a reference to a cell or cell range or any formula.

getReferencePosition
 
com::sun::star::table::CellAddress
getReferencePosition();
Description
returns the position in the document which is used as a base for relative references in the content.
setReferencePosition
 
void
setReferencePosition(
[ in ] com::sun::star::table::CellAddress aReferencePosition );

Description
sets the position in the document which is used as a base for relative references in the content.
getType
 
long
getType();
Description
returns the type of the named range.
setType
 
void
setType(
[ in ] long nType );

Description
sets the type of the named range.

The type must be 0 or a combination of the NamedRangeFlag constants and controls if the named range is listed in dialogs prompting for special ranges.


Top of Page