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
:: com :: sun :: star :: table ::
interface XCell
Description
provides methods to access the contents of a cell in a table.
See also
Cell
Methods' Summary
getFormula
returns the formula string of a cell.
setFormula
sets a formula into the cell.
getValue
returns the floating point value of the cell.
setValue
sets a floating point value into the cell.
getType
returns the type of the cell.
getError
returns the error value of the cell.
Methods' Details
getFormula
Description
returns the formula string of a cell.
Even if the cell does not contain a formula, an assignment of
this attribute's value to another cell's formula attribute would
create the same cell content. This is because this attribute contains
the original text value of a string cell. The value of a
value cell will be formatted using the number format's
default format or the formula string, including "=", of a formula
cell.
setFormula
void
setFormula (
[in] string
aFormula );
Description
sets a formula into the cell.
When assigned, the string will be interpreted and a value, text
or formula cell is created, depending on the text and the number
format.
getValue
Description
returns the floating point value of the cell.
For a value cell the value is returnd, for a
string cell zero is returned and for a formula cell
the result value of a formula is returned.
setValue
void
setValue (
[in] double
nValue );
Description
sets a floating point value into the cell.
After a call to this method the type of the cell is
CellContentType ::VALUE .
getType
Description
returns the type of the cell.
getError
Description
returns the error value of the cell.
If the cell does not contain a formula, the error is always
zero.
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.