LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
oox::xls::CellFormulaModel Struct Reference

Stores data about cell formulas. More...

#include <sheetdatabuffer.hxx>

Collaboration diagram for oox::xls::CellFormulaModel:
[legend]

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...
 

Detailed Description

Stores data about cell formulas.

Definition at line 50 of file sheetdatabuffer.hxx.

Constructor & Destructor Documentation

oox::xls::CellFormulaModel::CellFormulaModel ( )
explicit

Identifier of a shared formula (OOXML only).

Definition at line 67 of file sheetdatabuffer.cxx.

References XML_TOKEN_INVALID.

Member Function Documentation

bool oox::xls::CellFormulaModel::isValidArrayRef ( const ScAddress rCellAddr)

Returns true, if the passed cell address is valid for an array formula.

Definition at line 73 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 78 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().

Member Data Documentation

ScRange oox::xls::CellFormulaModel::maFormulaRef
sal_Int32 oox::xls::CellFormulaModel::mnFormulaType

Formula range for array/shared formulas and data tables.

Definition at line 53 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 54 of file sheetdatabuffer.hxx.

Referenced by oox::xls::SheetDataContext::importFormula(), and oox::xls::SheetDataContext::onEndElement().


The documentation for this struct was generated from the following files: