LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
ScSubTotalParam Struct Reference

#include <subtotalparam.hxx>

Public Member Functions

 ScSubTotalParam ()
 ScSubTotalParam (const ScSubTotalParam &r)
ScSubTotalParamoperator= (const ScSubTotalParam &r)
bool operator== (const ScSubTotalParam &r) const
void Clear ()
void SetSubTotals (sal_uInt16 nGroup, const SCCOL *ptrSubTotals, const ScSubTotalFunc *ptrFunctions, sal_uInt16 nCount)

Public Attributes

 selected area More...
sal_uInt16 nUserIndex
 index into list More...
bool bRemoveOnly:1
bool bReplace:1
 replace existing results More...
bool bPagebreak:1
 page break at change of group More...
bool bCaseSens:1
bool bDoSort:1
 presort More...
bool bAscending:1
 sort ascending More...
bool bUserDef:1
 sort user defined More...
bool bIncludePattern:1
 sort formats More...
bool bGroupActive [MAXSUBTOTAL]
 active groups More...
 associated field More...
 number of SubTotals More...
std::unique_ptr< SCCOL[]> pSubTotals [MAXSUBTOTAL]
 array of columns to be calculated More...
std::unique_ptr< ScSubTotalFunc[]> pFunctions [MAXSUBTOTAL]
 array of associated functions More...

Detailed Description

Definition at line 15 of file subtotalparam.hxx.

Constructor & Destructor Documentation

◆ ScSubTotalParam() [1/2]

ScSubTotalParam::ScSubTotalParam ( )

Definition at line 14 of file subtotalparam.cxx.

References Clear(), i, MAXSUBTOTAL, nSubTotals, pFunctions, and pSubTotals.

◆ ScSubTotalParam() [2/2]

ScSubTotalParam::ScSubTotalParam ( const ScSubTotalParam r)

Definition at line 26 of file subtotalparam.cxx.

References bGroupActive, i, MAXSUBTOTAL, nField, nSubTotals, pFunctions, and pSubTotals.

Member Function Documentation

◆ Clear()

void ScSubTotalParam::Clear ( )

◆ operator=()

ScSubTotalParam & ScSubTotalParam::operator= ( const ScSubTotalParam r)

◆ operator==()

bool ScSubTotalParam::operator== ( const ScSubTotalParam r) const

◆ SetSubTotals()

void ScSubTotalParam::SetSubTotals ( sal_uInt16  nGroup,
const SCCOL ptrSubTotals,
const ScSubTotalFunc ptrFunctions,
sal_uInt16  nCount 

Definition at line 167 of file subtotalparam.cxx.

References i, MAXSUBTOTAL, nCount, nSubTotals, pFunctions, and pSubTotals.

Referenced by ScTpSubTotalGroup::DoFillItemSet().

Member Data Documentation

◆ bAscending

bool ScSubTotalParam::bAscending

◆ bCaseSens

bool ScSubTotalParam::bCaseSens

◆ bDoSort

bool ScSubTotalParam::bDoSort

◆ bGroupActive

bool ScSubTotalParam::bGroupActive[MAXSUBTOTAL]

◆ bIncludePattern

bool ScSubTotalParam::bIncludePattern

◆ bPagebreak

bool ScSubTotalParam::bPagebreak

◆ bRemoveOnly

bool ScSubTotalParam::bRemoveOnly

◆ bReplace

bool ScSubTotalParam::bReplace

◆ bUserDef

bool ScSubTotalParam::bUserDef

◆ nCol1

SCCOL ScSubTotalParam::nCol1

◆ nCol2

SCCOL ScSubTotalParam::nCol2

◆ nField

SCCOL ScSubTotalParam::nField[MAXSUBTOTAL]

◆ nRow1

SCROW ScSubTotalParam::nRow1

◆ nRow2

SCROW ScSubTotalParam::nRow2

◆ nSubTotals

SCCOL ScSubTotalParam::nSubTotals[MAXSUBTOTAL]

◆ nUserIndex

sal_uInt16 ScSubTotalParam::nUserIndex

◆ pFunctions

std::unique_ptr<ScSubTotalFunc[]> ScSubTotalParam::pFunctions[MAXSUBTOTAL]

◆ pSubTotals

std::unique_ptr<SCCOL[]> ScSubTotalParam::pSubTotals[MAXSUBTOTAL]

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