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

The term 'measure' here roughly equals "data dimension" ? More...

#include <dptabres.hxx>

Collaboration diagram for ScDPResultData:
[legend]

Public Member Functions

 ScDPResultData (ScDPSource &rSrc)
 
 ~ScDPResultData ()
 
void SetMeasureData (std::vector< ScSubTotalFunc > &rFunctions, std::vector< css::sheet::DataPilotFieldReference > &rRefs, std::vector< css::sheet::DataPilotFieldOrientation > &rRefOrient, std::vector< OUString > &rNames)
 
void SetDataLayoutOrientation (css::sheet::DataPilotFieldOrientation nOrient)
 
void SetLateInit (bool bSet)
 
tools::Long GetMeasureCount () const
 
ScSubTotalFunc GetMeasureFunction (tools::Long nMeasure) const
 
OUString GetMeasureString (tools::Long nMeasure, bool bForce, ScSubTotalFunc eForceFunc, bool &rbTotalResult) const
 
OUString GetMeasureDimensionName (tools::Long nMeasure) const
 
const css::sheet::DataPilotFieldReference & GetMeasureRefVal (tools::Long nMeasure) const
 
css::sheet::DataPilotFieldOrientation GetMeasureRefOrient (tools::Long nMeasure) const
 
bool IsLateInit () const
 
tools::Long GetColStartMeasure () const
 
tools::Long GetRowStartMeasure () const
 
tools::Long GetCountForMeasure (tools::Long nMeas) const
 
bool IsBaseForGroup (tools::Long nDim) const
 
tools::Long GetGroupBase (tools::Long nGroupDim) const
 
bool IsNumOrDateGroup (tools::Long nDim) const
 
bool IsInGroup (SCROW nGroupDataId, tools::Long nGroupIndex, const ScDPItemData &rBaseData, tools::Long nBaseIndex) const
 
bool HasCommonElement (SCROW nFirstDataId, tools::Long nFirstIndex, const ScDPItemData &rSecondData, tools::Long nSecondIndex) const
 
ResultMembersGetDimResultMembers (tools::Long nDim, const ScDPDimension *pDim, ScDPLevel *pLevel) const
 
const ScDPSourceGetSource () const
 

Private Attributes

ScDPSourcemrSource
 
std::vector< ScSubTotalFuncmaMeasureFuncs
 keep things like measure lists here More...
 
std::vector< css::sheet::DataPilotFieldReference > maMeasureRefs
 
std::vector< css::sheet::DataPilotFieldOrientation > maMeasureRefOrients
 
std::vector< OUString > maMeasureNames
 
bool bLateInit:1
 
bool bDataAtCol:1
 
bool bDataAtRow:1
 
std::vector< std::unique_ptr< ResultMembers > > maDimMembers
 add "displayed values" settings More...
 

Detailed Description

The term 'measure' here roughly equals "data dimension" ?

Definition at line 272 of file dptabres.hxx.

Constructor & Destructor Documentation

ScDPResultData::ScDPResultData ( ScDPSource rSrc)

Definition at line 760 of file dptabres.cxx.

ScDPResultData::~ScDPResultData ( )

Definition at line 768 of file dptabres.cxx.

Member Function Documentation

tools::Long ScDPResultData::GetColStartMeasure ( ) const
tools::Long ScDPResultData::GetCountForMeasure ( tools::Long  nMeas) const
inline
ResultMembers & ScDPResultData::GetDimResultMembers ( tools::Long  nDim,
const ScDPDimension pDim,
ScDPLevel pLevel 
) const
tools::Long ScDPResultData::GetGroupBase ( tools::Long  nGroupDim) const

Definition at line 890 of file dptabres.cxx.

References ScDPSource::GetData(), ScDPTableData::GetGroupBase(), and mrSource.

tools::Long ScDPResultData::GetMeasureCount ( ) const
inline
OUString ScDPResultData::GetMeasureDimensionName ( tools::Long  nMeasure) const
ScSubTotalFunc ScDPResultData::GetMeasureFunction ( tools::Long  nMeasure) const
sheet::DataPilotFieldOrientation ScDPResultData::GetMeasureRefOrient ( tools::Long  nMeasure) const

Definition at line 834 of file dptabres.cxx.

References o3tl::make_unsigned(), and maMeasureRefOrients.

Referenced by ScDPDataMember::UpdateRunningTotals().

const sheet::DataPilotFieldReference & ScDPResultData::GetMeasureRefVal ( tools::Long  nMeasure) const
OUString ScDPResultData::GetMeasureString ( tools::Long  nMeasure,
bool  bForce,
ScSubTotalFunc  eForceFunc,
bool &  rbTotalResult 
) const
tools::Long ScDPResultData::GetRowStartMeasure ( ) const

Definition at line 814 of file dptabres.cxx.

References bDataAtRow, maMeasureFuncs, SC_DPMEASURE_ALL, and SC_DPMEASURE_ANY.

const ScDPSource& ScDPResultData::GetSource ( ) const
inline

Definition at line 325 of file dptabres.hxx.

References mrSource.

Referenced by ScDPResultMember::FillMemberResults(), and ScDPResultMember::GetDisplayName().

bool ScDPResultData::HasCommonElement ( SCROW  nFirstDataId,
tools::Long  nFirstIndex,
const ScDPItemData rSecondData,
tools::Long  nSecondIndex 
) const
bool ScDPResultData::IsBaseForGroup ( tools::Long  nDim) const

Definition at line 885 of file dptabres.cxx.

References ScDPSource::GetData(), ScDPTableData::IsBaseForGroup(), and mrSource.

bool ScDPResultData::IsInGroup ( SCROW  nGroupDataId,
tools::Long  nGroupIndex,
const ScDPItemData rBaseData,
tools::Long  nBaseIndex 
) const
bool ScDPResultData::IsLateInit ( ) const
inline
bool ScDPResultData::IsNumOrDateGroup ( tools::Long  nDim) const
void ScDPResultData::SetDataLayoutOrientation ( css::sheet::DataPilotFieldOrientation  nOrient)

Definition at line 795 of file dptabres.cxx.

References bDataAtCol, and bDataAtRow.

void ScDPResultData::SetLateInit ( bool  bSet)

Definition at line 801 of file dptabres.cxx.

References bLateInit.

void ScDPResultData::SetMeasureData ( std::vector< ScSubTotalFunc > &  rFunctions,
std::vector< css::sheet::DataPilotFieldReference > &  rRefs,
std::vector< css::sheet::DataPilotFieldOrientation > &  rRefOrient,
std::vector< OUString > &  rNames 
)

Member Data Documentation

bool ScDPResultData::bDataAtCol
private

Definition at line 283 of file dptabres.hxx.

Referenced by GetColStartMeasure(), and SetDataLayoutOrientation().

bool ScDPResultData::bDataAtRow
private

Definition at line 284 of file dptabres.hxx.

Referenced by GetRowStartMeasure(), and SetDataLayoutOrientation().

bool ScDPResultData::bLateInit
private

Definition at line 282 of file dptabres.hxx.

Referenced by IsLateInit(), and SetLateInit().

std::vector<std::unique_ptr<ResultMembers> > ScDPResultData::maDimMembers
mutableprivate

add "displayed values" settings

Definition at line 287 of file dptabres.hxx.

Referenced by GetDimResultMembers().

std::vector<ScSubTotalFunc> ScDPResultData::maMeasureFuncs
private

keep things like measure lists here

Definition at line 277 of file dptabres.hxx.

Referenced by GetColStartMeasure(), GetMeasureFunction(), GetMeasureString(), GetRowStartMeasure(), and SetMeasureData().

std::vector<OUString> ScDPResultData::maMeasureNames
private

Definition at line 280 of file dptabres.hxx.

Referenced by GetMeasureString(), and SetMeasureData().

std::vector<css::sheet::DataPilotFieldOrientation> ScDPResultData::maMeasureRefOrients
private

Definition at line 279 of file dptabres.hxx.

Referenced by GetMeasureRefOrient(), and SetMeasureData().

std::vector<css::sheet::DataPilotFieldReference> ScDPResultData::maMeasureRefs
private

Definition at line 278 of file dptabres.hxx.

Referenced by GetMeasureRefVal(), and SetMeasureData().

ScDPSource& ScDPResultData::mrSource
private

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