Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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
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 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 NamedRangeFlag.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.