:: com :: sun :: star :: table ::

unpublished interface XCell2
Base Interfaces
XCell2XCell

XCell
(referenced interface's summary:)
provides methods to access the contents of a cell in a table.
Usage Restrictions
not published
Description
extends XCell methods to access the contents of a cell in a table.
See also
Cell

Methods' Summary
setFormulaResult sets a formula result into the cell.  
setFormulaString sets a formula string into the cell.  
Methods' Details
setFormulaResult
void
setFormulaResult( [in] double  nValue );

Description
sets a formula result into the cell.

When assigned, the formula cell's result will be set to this value and will not be calculated - unless a HardRecalc is executed.

setFormulaString
void
setFormulaString( [in] string  aFormula );

Description
sets a formula string into the cell.

When assigned, the formula is set into the string. But is not compiled, tokenized or calculated. Its useful when loading a document and setFormulaResult() is used. Otherwise it is compiled on trying to fetch a result value.

Top of Page