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

#include <cellfml.hxx>

Collaboration diagram for SwTableCalcPara:
[legend]

Public Member Functions

 SwTableCalcPara (SwCalc &rCalculator, const SwTable &rTable, SwRootFrame const *pLayout)
 
 ~SwTableCalcPara ()
 
bool CalcWithStackOverflow ()
 
bool IsStackOverflow () const
 
bool IncStackCnt ()
 
void DecStackCnt ()
 
void SetLastTableBox (const SwTableBox *pBox)
 

Public Attributes

SwRootFrame const *const m_pLayout
 layout to access text field results More...
 
std::unique_ptr< SwTableSortBoxesm_pBoxStack
 stack for recognizing recursion More...
 
SwCalcm_rCalc
 current Calculator More...
 
const SwTablem_pTable
 current table More...
 

Private Attributes

const SwTableBoxm_pLastTableBox
 
sal_uInt16 m_nStackCount
 
sal_uInt16 m_nMaxSize
 

Detailed Description

Definition at line 39 of file cellfml.hxx.

Constructor & Destructor Documentation

◆ SwTableCalcPara()

SwTableCalcPara::SwTableCalcPara ( SwCalc rCalculator,
const SwTable rTable,
SwRootFrame const *  pLayout 
)

Definition at line 271 of file cellfml.cxx.

◆ ~SwTableCalcPara()

SwTableCalcPara::~SwTableCalcPara ( )

Definition at line 283 of file cellfml.cxx.

Member Function Documentation

◆ CalcWithStackOverflow()

bool SwTableCalcPara::CalcWithStackOverflow ( )

◆ DecStackCnt()

void SwTableCalcPara::DecStackCnt ( )
inline

Definition at line 56 of file cellfml.hxx.

References m_nStackCount.

Referenced by SwTableBox::GetValue().

◆ IncStackCnt()

bool SwTableCalcPara::IncStackCnt ( )
inline

Definition at line 55 of file cellfml.hxx.

References m_nMaxSize, and m_nStackCount.

Referenced by SwTableBox::GetValue().

◆ IsStackOverflow()

bool SwTableCalcPara::IsStackOverflow ( ) const
inline

◆ SetLastTableBox()

void SwTableCalcPara::SetLastTableBox ( const SwTableBox pBox)
inline

Definition at line 57 of file cellfml.hxx.

References m_pLastTableBox.

Referenced by SwTableBox::GetValue().

Member Data Documentation

◆ m_nMaxSize

sal_uInt16 SwTableCalcPara::m_nMaxSize
private

Definition at line 42 of file cellfml.hxx.

Referenced by CalcWithStackOverflow(), IncStackCnt(), and IsStackOverflow().

◆ m_nStackCount

sal_uInt16 SwTableCalcPara::m_nStackCount
private

Definition at line 42 of file cellfml.hxx.

Referenced by CalcWithStackOverflow(), DecStackCnt(), IncStackCnt(), and IsStackOverflow().

◆ m_pBoxStack

std::unique_ptr<SwTableSortBoxes> SwTableCalcPara::m_pBoxStack

stack for recognizing recursion

Definition at line 46 of file cellfml.hxx.

Referenced by CalcWithStackOverflow(), and SwTableBox::GetValue().

◆ m_pLastTableBox

const SwTableBox* SwTableCalcPara::m_pLastTableBox
private

Definition at line 41 of file cellfml.hxx.

Referenced by CalcWithStackOverflow(), and SetLastTableBox().

◆ m_pLayout

SwRootFrame const* const SwTableCalcPara::m_pLayout

layout to access text field results

Definition at line 45 of file cellfml.hxx.

Referenced by SwTableBox::GetValue().

◆ m_pTable

const SwTable* SwTableCalcPara::m_pTable

◆ m_rCalc

SwCalc& SwTableCalcPara::m_rCalc

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