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:

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

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

Detailed Description

Definition at line 20 of file grouptokenconverter.hxx.

Constructor & Destructor Documentation

◆ ScGroupTokenConverter()

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

Definition at line 89 of file grouptokenconverter.cxx.

Member Function Documentation

◆ convert()

bool ScGroupTokenConverter::convert ( const ScTokenArray rCode,
sc::FormulaLogger::GroupScope rScope 

◆ isSelfReferenceAbsolute()

bool ScGroupTokenConverter::isSelfReferenceAbsolute ( const ScAddress rRefPos)

◆ isSelfReferenceRelative()

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

◆ trimLength()

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

Definition at line 64 of file grouptokenconverter.cxx.

References ScDocument::GetLastDataRow(), and mrDoc.

Referenced by convert().

Member Data Documentation

◆ mrCell

const ScFormulaCell& ScGroupTokenConverter::mrCell

◆ mrDoc

ScDocument& ScGroupTokenConverter::mrDoc

Definition at line 23 of file grouptokenconverter.hxx.

Referenced by convert(), and trimLength().

◆ mrGroupTokens

ScTokenArray& ScGroupTokenConverter::mrGroupTokens

Definition at line 22 of file grouptokenconverter.hxx.

Referenced by convert().

◆ mrPos

const ScAddress& ScGroupTokenConverter::mrPos

◆ mxFormulaGroupContext

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

Definition at line 24 of file grouptokenconverter.hxx.

Referenced by convert().

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