LibreOffice Module sc (master) 1
|
#include <subtotalparam.hxx>
Public Member Functions | |
ScSubTotalParam () | |
ScSubTotalParam (const ScSubTotalParam &r) | |
ScSubTotalParam & | operator= (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 | |
SCCOL | nCol1 |
selected area More... | |
SCROW | nRow1 |
SCCOL | nCol2 |
SCROW | nRow2 |
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... | |
SCCOL | nField [MAXSUBTOTAL] |
associated field More... | |
SCCOL | nSubTotals [MAXSUBTOTAL] |
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... | |
Definition at line 15 of file subtotalparam.hxx.
ScSubTotalParam::ScSubTotalParam | ( | ) |
Definition at line 14 of file subtotalparam.cxx.
References Clear(), i, MAXSUBTOTAL, nSubTotals, pFunctions, and pSubTotals.
ScSubTotalParam::ScSubTotalParam | ( | const ScSubTotalParam & | r | ) |
Definition at line 26 of file subtotalparam.cxx.
References bGroupActive, i, MAXSUBTOTAL, nField, nSubTotals, pFunctions, and pSubTotals.
void ScSubTotalParam::Clear | ( | ) |
Definition at line 56 of file subtotalparam.cxx.
References bAscending, bCaseSens, bDoSort, bGroupActive, bIncludePattern, bPagebreak, bRemoveOnly, bReplace, bUserDef, i, MAXSUBTOTAL, nCol1, nCol2, nField, nRow1, nRow2, nSubTotals, nUserIndex, pFunctions, pSubTotals, and SUBTOTAL_FUNC_NONE.
Referenced by ScSubTotalParam().
ScSubTotalParam & ScSubTotalParam::operator= | ( | const ScSubTotalParam & | r | ) |
Definition at line 79 of file subtotalparam.cxx.
References bAscending, bCaseSens, bDoSort, bGroupActive, bIncludePattern, bPagebreak, bRemoveOnly, bReplace, bUserDef, i, MAXSUBTOTAL, nCol1, nCol2, nField, nRow1, nRow2, nSubTotals, nUserIndex, pFunctions, and pSubTotals.
bool ScSubTotalParam::operator== | ( | const ScSubTotalParam & | r | ) | const |
Definition at line 127 of file subtotalparam.cxx.
References bAscending, bCaseSens, bDoSort, bGroupActive, bIncludePattern, bPagebreak, bRemoveOnly, bReplace, bUserDef, i, MAXSUBTOTAL, nCol1, nCol2, nField, nRow1, nRow2, nSubTotals, nUserIndex, pFunctions, and pSubTotals.
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().
bool ScSubTotalParam::bAscending |
sort ascending
Definition at line 27 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), ScSortParam::ScSortParam(), and ScSubTotalDescriptorBase::setPropertyValue().
bool ScSubTotalParam::bCaseSens |
Definition at line 25 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTable::DoSubTotals(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), and ScSubTotalDescriptorBase::setPropertyValue().
bool ScSubTotalParam::bDoSort |
presort
Definition at line 26 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), ScSortParam::ScSortParam(), and ScSubTotalDescriptorBase::setPropertyValue().
bool ScSubTotalParam::bGroupActive[MAXSUBTOTAL] |
active groups
Definition at line 30 of file subtotalparam.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), ScCellRangeObj::applySubTotals(), Clear(), ScSubTotalDescriptorBase::clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSubTotalDescriptor(), ScTpSubTotalGroup::DoFillItemSet(), ScTpSubTotalGroup::DoReset(), ScTable::DoSubTotals(), ScSubTotalDescriptorBase::getCount(), ScDatabaseRangeObj::GetSubTotalParam(), operator=(), operator==(), ScDBDocFunc::Query(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScSortParam::ScSortParam(), ScSubTotalParam(), ScDatabaseRangeObj::SetSubTotalParam(), and ScDBFunc::UISort().
bool ScSubTotalParam::bIncludePattern |
sort formats
Definition at line 29 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTable::DoSubTotals(), ScCellShell::ExecuteSubtotals(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), ScSortParam::ScSortParam(), and ScSubTotalDescriptorBase::setPropertyValue().
bool ScSubTotalParam::bPagebreak |
page break at change of group
Definition at line 24 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTable::DoSubTotals(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), and ScSubTotalDescriptorBase::setPropertyValue().
bool ScSubTotalParam::bRemoveOnly |
Definition at line 22 of file subtotalparam.hxx.
Referenced by Clear(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScCellShell::ExecuteSubtotals(), operator=(), operator==(), ScDBDocFunc::Query(), ScCellRangeObj::removeSubTotals(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), and ScDBFunc::UISort().
bool ScSubTotalParam::bReplace |
replace existing results
Definition at line 23 of file subtotalparam.hxx.
Referenced by ScCellRangeObj::applySubTotals(), Clear(), ScDBFunc::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScCellShell::ExecuteSubtotals(), ScTpSubTotalOptions::FillItemSet(), operator=(), and operator==().
bool ScSubTotalParam::bUserDef |
sort user defined
Definition at line 28 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), and ScSubTotalDescriptorBase::setPropertyValue().
SCCOL ScSubTotalParam::nCol1 |
selected area
Definition at line 17 of file subtotalparam.hxx.
Referenced by ScCellRangeObj::applySubTotals(), Clear(), ScTpSubTotalGroup::DoFillItemSet(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScTpSubTotalGroup::FillListBoxes(), ScDBData::GetSubTotalParam(), operator=(), operator==(), ScUndoSubTotals::Redo(), ScCellRangeObj::removeSubTotals(), ScTable::RemoveSubTotals(), ScTable::TestRemoveSubTotals(), and ScUndoSubTotals::Undo().
SCCOL ScSubTotalParam::nCol2 |
Definition at line 19 of file subtotalparam.hxx.
Referenced by ScCellRangeObj::applySubTotals(), Clear(), ScTpSubTotalGroup::DoFillItemSet(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScTpSubTotalGroup::FillListBoxes(), ScDBData::GetSubTotalParam(), operator=(), operator==(), ScUndoSubTotals::Redo(), ScCellRangeObj::removeSubTotals(), ScTable::RemoveSubTotals(), ScTable::TestRemoveSubTotals(), and ScUndoSubTotals::Undo().
SCCOL ScSubTotalParam::nField[MAXSUBTOTAL] |
associated field
Definition at line 31 of file subtotalparam.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), ScCellRangeObj::applySubTotals(), Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSubTotalDescriptor(), ScTpSubTotalGroup::DoFillItemSet(), ScTpSubTotalGroup::DoReset(), ScTable::DoSubTotals(), ScSubTotalFieldObj::getGroupColumn(), ScDatabaseRangeObj::GetSubTotalParam(), operator=(), operator==(), ScSortParam::ScSortParam(), ScSubTotalParam(), ScSubTotalFieldObj::setGroupColumn(), and ScDatabaseRangeObj::SetSubTotalParam().
SCROW ScSubTotalParam::nRow1 |
Definition at line 18 of file subtotalparam.hxx.
Referenced by ScCellRangeObj::applySubTotals(), Clear(), ScTpSubTotalGroup::DoFillItemSet(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScTpSubTotalGroup::FillListBoxes(), ScDBData::GetSubTotalParam(), operator=(), operator==(), ScUndoSubTotals::Redo(), ScCellRangeObj::removeSubTotals(), ScTable::RemoveSubTotals(), ScTable::TestRemoveSubTotals(), and ScUndoSubTotals::Undo().
SCROW ScSubTotalParam::nRow2 |
Definition at line 20 of file subtotalparam.hxx.
Referenced by ScCellRangeObj::applySubTotals(), Clear(), ScTpSubTotalGroup::DoFillItemSet(), ScDBFunc::DoSubTotals(), ScTable::DoSubTotals(), ScDBDocFunc::DoSubTotals(), ScDBData::GetSubTotalParam(), operator=(), operator==(), ScUndoSubTotals::Redo(), ScCellRangeObj::removeSubTotals(), ScTable::RemoveSubTotals(), ScTable::TestRemoveSubTotals(), and ScUndoSubTotals::Undo().
SCCOL ScSubTotalParam::nSubTotals[MAXSUBTOTAL] |
number of SubTotals
Definition at line 32 of file subtotalparam.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), ScCellRangeObj::applySubTotals(), Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSubTotalDescriptor(), ScTpSubTotalGroup::DoReset(), ScTable::DoSubTotals(), ScSubTotalFieldObj::getSubTotalColumns(), ScDatabaseRangeObj::GetSubTotalParam(), operator=(), operator==(), ScSubTotalParam(), ScSubTotalFieldObj::setSubTotalColumns(), ScDatabaseRangeObj::SetSubTotalParam(), and SetSubTotals().
sal_uInt16 ScSubTotalParam::nUserIndex |
index into list
Definition at line 21 of file subtotalparam.hxx.
Referenced by Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTpSubTotalOptions::FillItemSet(), ScSubTotalDescriptorBase::getPropertyValue(), operator=(), operator==(), ScTpSubTotalOptions::Reset(), and ScSubTotalDescriptorBase::setPropertyValue().
std::unique_ptr<ScSubTotalFunc[]> ScSubTotalParam::pFunctions[MAXSUBTOTAL] |
array of associated functions
Definition at line 34 of file subtotalparam.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScTpSubTotalGroup::DoReset(), ScTable::DoSubTotals(), ScSubTotalFieldObj::getSubTotalColumns(), operator=(), operator==(), ScSubTotalParam(), ScSubTotalFieldObj::setSubTotalColumns(), and SetSubTotals().
std::unique_ptr<SCCOL[]> ScSubTotalParam::pSubTotals[MAXSUBTOTAL] |
array of columns to be calculated
Definition at line 33 of file subtotalparam.hxx.
Referenced by ScSubTotalDescriptorBase::addNew(), ScCellRangeObj::applySubTotals(), Clear(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScCellRangeObj::createSubTotalDescriptor(), ScTpSubTotalGroup::DoReset(), ScTable::DoSubTotals(), ScSubTotalFieldObj::getSubTotalColumns(), ScDatabaseRangeObj::GetSubTotalParam(), operator=(), operator==(), ScSubTotalParam(), ScSubTotalFieldObj::setSubTotalColumns(), ScDatabaseRangeObj::SetSubTotalParam(), and SetSubTotals().