36 maName(
std::move(
aName)), maLayoutName(
std::move(aLayoutName)), mnDupCount(nDupCount)
92 nCol(0), nRow(0), nTab(0),
93 bIgnoreEmptyRows(false), bDetectCategories(false),
94 bMakeTotalCol(true), bMakeTotalRow(true)
98 : nCol( r.nCol ), nRow( r.nRow ), nTab( r.nTab ),
99 maPageFields(r.maPageFields),
100 maColFields(r.maColFields),
101 maRowFields(r.maRowFields),
102 maDataFields(r.maDataFields),
103 bIgnoreEmptyRows(r.bIgnoreEmptyRows),
104 bDetectCategories(r.bDetectCategories),
105 bMakeTotalCol(r.bMakeTotalCol),
106 bMakeTotalRow(r.bMakeTotalRow)
117 aNewArray.reserve(rVector.size());
118 for (
const auto& rxData : rVector)
120 aNewArray.push_back(std::make_unique<ScDPLabelData>(*rxData));
148 mnFuncMask(nFuncMask),
154void ScPivotFuncData::Dump()
const
157 <<
", func mask=" <<
static_cast<int>(
mnFuncMask) <<
", duplicate count=" <<
static_cast<int>(
mnDupCount)
std::vector< std::unique_ptr< ScDPLabelData > > ScDPLabelDataVector
TOOLS_DLLPUBLIC SvStream & endl(SvStream &rStr)
SC_DLLPUBLIC OUString const & getDisplayName() const
sal_Int32 mnUsedHier
Used hierarchy.
tools::Long mnOriginalDim
original dimension index (>= 0 for duplicated dimension)
bool mbIsValue
true = Sum or count in data field.
SCCOL mnCol
0-based field index (not the source column index)
OUString maName
Original name of the dimension.
bool mbShowAll
true = Show all (also empty) results.
OUString maLayoutName
Layout name (display name)
PivotFunc mnFuncMask
Page/Column/Row subtotal function.
SC_DLLPUBLIC OUString const & getDisplayName() const
sal_Int32 mnFlags
Flags from the DataPilotSource dimension.
SCCOL nCol
0-based dimension index (not source column index)
tools::Long getOriginalDim() const
ScPivotField(SCCOL nNewCol=0)
tools::Long mnOriginalDim
>= 0 for duplicated field.
ScPivotFuncData(SCCOL nCol, PivotFunc nFuncMask)
tools::Long mnOriginalDim
ScDPLabelDataVector maLabelArray
ScPivotFieldVector maDataFields
ScPivotFieldVector maRowFields
SCCOL nCol
Cursor Position /.
SCROW nRow
or start of destination area
ScPivotFieldVector maColFields
ScPivotParam & operator=(const ScPivotParam &r)
void SetLabelData(const ScDPLabelDataVector &r)
ScPivotFieldVector maPageFields