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 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)
private

◆ isSelfReferenceRelative()

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

◆ trimLength()

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

Definition at line 64 of file grouptokenconverter.cxx.

References ScDocument::GetLastDataRow(), and mrDoc.

Referenced by convert().

Member Data Documentation

◆ mrCell

const ScFormulaCell& ScGroupTokenConverter::mrCell
private

◆ mrDoc

ScDocument& ScGroupTokenConverter::mrDoc
private

Definition at line 23 of file grouptokenconverter.hxx.

Referenced by convert(), and trimLength().

◆ mrGroupTokens

ScTokenArray& ScGroupTokenConverter::mrGroupTokens
private

Definition at line 22 of file grouptokenconverter.hxx.

Referenced by convert().

◆ mrPos

const ScAddress& ScGroupTokenConverter::mrPos
private

◆ mxFormulaGroupContext

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

Definition at line 24 of file grouptokenconverter.hxx.

Referenced by convert().


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