LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScGroupTokenConverter Class Reference

#include <grouptokenconverter.hxx>

Collaboration diagram for ScGroupTokenConverter:
[legend]

Public Member Functions

 ScGroupTokenConverter (ScTokenArray &rGroupTokens, ScDocument &rDoc, const ScFormulaCell &rCell, const ScAddress &rPos)
 
bool convert (const ScTokenArray &rCode, sc::FormulaLogger::GroupScope &rScope)
 

Private Member Functions

bool isSelfReferenceRelative (const ScAddress &rRefPos, SCROW nRelRow)
 
bool isSelfReferenceAbsolute (const ScAddress &rRefPos)
 
SCROW trimLength (SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCROW nRowLen)
 

Private Attributes

ScTokenArraymrGroupTokens
 
ScDocumentmrDoc
 
std::shared_ptr< sc::FormulaGroupContextmxFormulaGroupContext
 
const ScFormulaCellmrCell
 
const ScAddressmrPos
 

Detailed Description

Definition at line 22 of file grouptokenconverter.hxx.

Constructor & Destructor Documentation

ScGroupTokenConverter::ScGroupTokenConverter ( ScTokenArray rGroupTokens,
ScDocument rDoc,
const ScFormulaCell rCell,
const ScAddress rPos 
)

Definition at line 89 of file grouptokenconverter.cxx.

Member Function Documentation

bool ScGroupTokenConverter::convert ( const ScTokenArray rCode,
sc::FormulaLogger::GroupScope rScope 
)
bool ScGroupTokenConverter::isSelfReferenceAbsolute ( const ScAddress rRefPos)
private

Definition at line 47 of file grouptokenconverter.cxx.

References ScAddress::Col(), mrPos, ScAddress::Row(), and ScAddress::Tab().

Referenced by convert().

bool ScGroupTokenConverter::isSelfReferenceRelative ( const ScAddress rRefPos,
SCROW  nRelRow 
)
private

Definition at line 21 of file grouptokenconverter.cxx.

References ScAddress::Col(), mrPos, ScAddress::Row(), and ScAddress::Tab().

Referenced by convert().

SCROW ScGroupTokenConverter::trimLength ( SCTAB  nTab,
SCCOL  nCol1,
SCCOL  nCol2,
SCROW  nRow,
SCROW  nRowLen 
)
private

Definition at line 64 of file grouptokenconverter.cxx.

Referenced by convert().

Member Data Documentation

const ScFormulaCell& ScGroupTokenConverter::mrCell
private

Definition at line 27 of file grouptokenconverter.hxx.

Referenced by convert().

ScDocument& ScGroupTokenConverter::mrDoc
private

Definition at line 25 of file grouptokenconverter.hxx.

Referenced by convert().

ScTokenArray& ScGroupTokenConverter::mrGroupTokens
private

Definition at line 24 of file grouptokenconverter.hxx.

Referenced by convert().

const ScAddress& ScGroupTokenConverter::mrPos
private

Definition at line 28 of file grouptokenconverter.hxx.

Referenced by convert().

std::shared_ptr<sc::FormulaGroupContext> ScGroupTokenConverter::mxFormulaGroupContext
private

Definition at line 26 of file grouptokenconverter.hxx.

Referenced by convert().


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