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

interface XNamedRange
Base Interfaces
XNamedRange
┗ ::com::sun::star::container::XNamed

::com::sun::star::container::XNamed
(referenced interface's summary:)
specifies the name of the object.
Description
provides access to the settings of a named range in a spreadsheet document.
See also
::com::sun::star::sheet::NamedRange

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 expression.

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 expression.

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.

This is a combination of flags as defined in ::com::sun::star::sheet::NamedRangeFlag .

setType
void
setType( [in] long  nType );

Description
sets the type of the named range.
Parameter nType
a combination of flags that specify the type of a named range, as defined in ::com::sun::star::sheet::NamedRangeFlag .
Top of Page