Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
Methods' Summary
addNewByName
adds a new named range to the collection.
addNewFromTitles
creates named cell 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.
Parameter aName
the new name of the named range.
Parameter aContent
the formula expression.
A cell range address is one possible content of a named
range.
Parameter aPosition
specifies the base address for relative cell references.
Parameter nType
a combination of flags that specify the type of a named range,
as defined in NamedRangeFlag .
This parameter will be zero for any common named range.
addNewFromTitles
Description
creates named cell ranges from titles in a cell range.
The names for the named ranges are taken from title cells in the
top or bottom row, or from the cells of the left or right column
of the range (depending on the parameter aBorder .
The named ranges refer to single columns or rows in the inner
part of the original range, excluding the labels.
Example: The source range is A1:B3. The named ranges shall be
created using row titles. This requires Border ::TOP
for the second parameter. The method creates two named ranges. The
name of the first is equal to the content of cell A1 and contains the
range $Sheet.$A$2:$A$3 (excluding the title cell). The latter named
range is named using cell B1 and contains the cell range address
$Sheet.$B$2:$B$3.
Parameter aSource
the cell range used to create the named ranges.
Parameter aBorder
specifies the location of the title cells.
removeByName
void
removeByName (
[in] string
aName );
Description
removes a named range from the collection.
outputList
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.
Parameter aOutputPosition
specifies the top left cell of the output range.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.