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