extends XCell methods to access the contents of a cell in a table. More...
import "XCell2.idl";
Public Member Functions | |
| void | setFormulaResult ([in] double nValue) |
| sets a formula result into the cell. | |
| void | setFormulaString ([in] string aFormula) |
| sets a formula string into the cell. | |
Public Member Functions inherited from XCell | |
| string | getFormula () |
| returns the formula string of a cell. | |
| void | setFormula ([in] string aFormula) |
| sets a formula into the cell. | |
| double | getValue () |
| returns the floating point value of the cell. | |
| void | setValue ([in] double nValue) |
| sets a floating point value into the cell. | |
| com::sun::star::table::CellContentType | getType () |
| returns the type of the cell. | |
| long | getError () |
| returns the error value of the cell. | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
extends XCell methods to access the contents of a cell in a table.
| void setFormulaResult | ( | [in] double | nValue | ) |
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.
| void setFormulaString | ( | [in] string | aFormula | ) |
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.