LibreOffice Module sc (master) 1
|
Stores data about cell formulas. More...
#include <sheetdatabuffer.hxx>
Public Member Functions | |
CellFormulaModel () | |
Identifier of a shared formula (OOXML only). More... | |
bool | isValidArrayRef (const ScAddress &rCellAddr) |
Returns true, if the passed cell address is valid for an array formula. More... | |
bool | isValidSharedRef (const ScAddress &rCellAddr) |
Returns true, if the passed cell address is valid for a shared formula. More... | |
Public Attributes | |
ScRange | maFormulaRef |
sal_Int32 | mnFormulaType |
Formula range for array/shared formulas and data tables. More... | |
sal_Int32 | mnSharedId |
Type of the formula (regular, array, shared, table). More... | |
Stores data about cell formulas.
Definition at line 48 of file sheetdatabuffer.hxx.
|
explicit |
Identifier of a shared formula (OOXML only).
Definition at line 68 of file sheetdatabuffer.cxx.
References XML_TOKEN_INVALID.
bool oox::xls::CellFormulaModel::isValidArrayRef | ( | const ScAddress & | rCellAddr | ) |
Returns true, if the passed cell address is valid for an array formula.
Definition at line 74 of file sheetdatabuffer.cxx.
References ScRange::aStart, and maFormulaRef.
Referenced by oox::xls::SheetDataContext::importArray(), and oox::xls::SheetDataContext::onEndElement().
bool oox::xls::CellFormulaModel::isValidSharedRef | ( | const ScAddress & | rCellAddr | ) |
Returns true, if the passed cell address is valid for a shared formula.
Definition at line 79 of file sheetdatabuffer.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), maFormulaRef, ScAddress::Row(), and ScAddress::Tab().
Referenced by oox::xls::SheetDataContext::importSharedFmla(), and oox::xls::SheetDataContext::onEndElement().
ScRange oox::xls::CellFormulaModel::maFormulaRef |
Definition at line 50 of file sheetdatabuffer.hxx.
Referenced by oox::xls::SheetDataContext::importArray(), oox::xls::SheetDataContext::importDataTable(), oox::xls::SheetDataContext::importFormula(), isValidArrayRef(), isValidSharedRef(), oox::xls::SheetDataContext::onEndElement(), and oox::xls::SheetDataContext::readFormulaRef().
sal_Int32 oox::xls::CellFormulaModel::mnFormulaType |
Formula range for array/shared formulas and data tables.
Definition at line 51 of file sheetdatabuffer.hxx.
Referenced by oox::xls::SheetDataContext::importFormula(), oox::xls::SheetDataContext::onCharacters(), and oox::xls::SheetDataContext::onEndElement().
sal_Int32 oox::xls::CellFormulaModel::mnSharedId |
Type of the formula (regular, array, shared, table).
Definition at line 52 of file sheetdatabuffer.hxx.
Referenced by oox::xls::SheetDataContext::importFormula(), and oox::xls::SheetDataContext::onEndElement().