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 (const OUString &rName, const ScDPNumGroupInfo &rInfo)
 
 ScDPSaveNumGroupDimension (const OUString &rName, 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 132 of file dpdimsave.hxx.

Constructor & Destructor Documentation

ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension ( const OUString &  rName,
const ScDPNumGroupInfo rInfo 
)

Definition at line 395 of file dpdimsave.cxx.

ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension ( const OUString &  rName,
const ScDPNumGroupInfo rDateInfo,
sal_Int32  nPart 
)

Definition at line 402 of file dpdimsave.cxx.

Member Function Documentation

void ScDPSaveNumGroupDimension::AddToCache ( ScDPCache rCache) const
void ScDPSaveNumGroupDimension::AddToData ( ScDPGroupTableData rData) const
const ScDPNumGroupInfo& ScDPSaveNumGroupDimension::GetDateInfo ( ) const
inline
sal_Int32 ScDPSaveNumGroupDimension::GetDatePart ( ) const
inline
const OUString& ScDPSaveNumGroupDimension::GetDimensionName ( ) const
inline
const ScDPNumGroupInfo& ScDPSaveNumGroupDimension::GetInfo ( ) const
inline
void ScDPSaveNumGroupDimension::SetDateInfo ( const ScDPNumGroupInfo rInfo,
sal_Int32  nPart 
)
void ScDPSaveNumGroupDimension::SetGroupInfo ( const ScDPNumGroupInfo rNew)

Definition at line 526 of file dpdimsave.cxx.

References aGroupInfo.

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

Member Data Documentation

ScDPNumGroupInfo ScDPSaveNumGroupDimension::aDateInfo
mutableprivate

Definition at line 136 of file dpdimsave.hxx.

Referenced by AddToCache(), and SetDateInfo().

OUString ScDPSaveNumGroupDimension::aDimensionName
private

Definition at line 134 of file dpdimsave.hxx.

Referenced by AddToCache(), and AddToData().

ScDPNumGroupInfo ScDPSaveNumGroupDimension::aGroupInfo
mutableprivate

Definition at line 135 of file dpdimsave.hxx.

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

sal_Int32 ScDPSaveNumGroupDimension::nDatePart
private

Definition at line 137 of file dpdimsave.hxx.


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