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

Represents a group dimension that introduces a new hierarchy for an existing dimension. More...

#include <dpdimsave.hxx>

Collaboration diagram for ScDPSaveNumGroupDimension:
[legend]

Public Member Functions

 ScDPSaveNumGroupDimension (OUString aName, const ScDPNumGroupInfo &rInfo)
 
 ScDPSaveNumGroupDimension (OUString aName, const ScDPNumGroupInfo &rDateInfo, sal_Int32 nPart)
 
void AddToData (ScDPGroupTableData &rData) const
 
void AddToCache (ScDPCache &rCache) const
 
const OUString & GetDimensionName () const
 
const ScDPNumGroupInfoGetInfo () const
 
sal_Int32 GetDatePart () const
 
const ScDPNumGroupInfoGetDateInfo () const
 
void SetGroupInfo (const ScDPNumGroupInfo &rNew)
 
void SetDateInfo (const ScDPNumGroupInfo &rInfo, sal_Int32 nPart)
 

Private Attributes

OUString aDimensionName
 
ScDPNumGroupInfo aGroupInfo
 
ScDPNumGroupInfo aDateInfo
 
sal_Int32 nDatePart
 

Detailed Description

Represents a group dimension that introduces a new hierarchy for an existing dimension.

Unlike the ScDPSaveGroupDimension counterpart, it re-uses the source dimension name and ID.

Definition at line 135 of file dpdimsave.hxx.

Constructor & Destructor Documentation

◆ ScDPSaveNumGroupDimension() [1/2]

ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension ( OUString  aName,
const ScDPNumGroupInfo rInfo 
)

Definition at line 394 of file dpdimsave.cxx.

References aName.

◆ ScDPSaveNumGroupDimension() [2/2]

ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension ( OUString  aName,
const ScDPNumGroupInfo rDateInfo,
sal_Int32  nPart 
)

Definition at line 401 of file dpdimsave.cxx.

References aName.

Member Function Documentation

◆ AddToCache()

void ScDPSaveNumGroupDimension::AddToCache ( ScDPCache rCache) const

◆ AddToData()

void ScDPSaveNumGroupDimension::AddToData ( ScDPGroupTableData rData) const

◆ GetDateInfo()

const ScDPNumGroupInfo & ScDPSaveNumGroupDimension::GetDateInfo ( ) const
inline

◆ GetDatePart()

sal_Int32 ScDPSaveNumGroupDimension::GetDatePart ( ) const
inline

◆ GetDimensionName()

const OUString & ScDPSaveNumGroupDimension::GetDimensionName ( ) const
inline

◆ GetInfo()

const ScDPNumGroupInfo & ScDPSaveNumGroupDimension::GetInfo ( ) const
inline

◆ SetDateInfo()

void ScDPSaveNumGroupDimension::SetDateInfo ( const ScDPNumGroupInfo rInfo,
sal_Int32  nPart 
)

◆ SetGroupInfo()

void ScDPSaveNumGroupDimension::SetGroupInfo ( const ScDPNumGroupInfo rNew)

Definition at line 525 of file dpdimsave.cxx.

References aGroupInfo.

Referenced by ScDBFunc::NumGroupDataPilot(), and ScDataPilotFieldObj::setGroupInfo().

Member Data Documentation

◆ aDateInfo

ScDPNumGroupInfo ScDPSaveNumGroupDimension::aDateInfo
mutableprivate

Definition at line 139 of file dpdimsave.hxx.

Referenced by AddToCache(), and SetDateInfo().

◆ aDimensionName

OUString ScDPSaveNumGroupDimension::aDimensionName
private

Definition at line 137 of file dpdimsave.hxx.

Referenced by AddToCache(), and AddToData().

◆ aGroupInfo

ScDPNumGroupInfo ScDPSaveNumGroupDimension::aGroupInfo
mutableprivate

Definition at line 138 of file dpdimsave.hxx.

Referenced by AddToCache(), AddToData(), and SetGroupInfo().

◆ nDatePart

sal_Int32 ScDPSaveNumGroupDimension::nDatePart
private

Definition at line 140 of file dpdimsave.hxx.

Referenced by AddToCache(), AddToData(), and SetDateInfo().


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