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

This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class does and document it here. More...

#include <dpdimsave.hxx>

Public Member Functions

 ScDPDimensionSaveData ()
 
bool operator== (const ScDPDimensionSaveData &r) const
 
void WriteToData (ScDPGroupTableData &rData) const
 
void WriteToCache (ScDPCache &rCache) const
 
OUString CreateGroupDimName (const OUString &rSourceName, const ScDPObject &rObject, bool bAllowSource, const ::std::vector< OUString > *pDeletedNames)
 
OUString CreateDateGroupDimName (sal_Int32 nDatePart, const ScDPObject &rObject, bool bAllowSource, const ::std::vector< OUString > *pDeletedNames)
 
void AddGroupDimension (const ScDPSaveGroupDimension &rGroupDim)
 
void ReplaceGroupDimension (const ScDPSaveGroupDimension &rGroupDim)
 
void RemoveGroupDimension (const OUString &rGroupDimName)
 
void AddNumGroupDimension (const ScDPSaveNumGroupDimension &rGroupDim)
 
void ReplaceNumGroupDimension (const ScDPSaveNumGroupDimension &rGroupDim)
 
void RemoveNumGroupDimension (const OUString &rGroupDimName)
 
const ScDPSaveGroupDimensionGetGroupDimForBase (const OUString &rBaseDimName) const
 
const ScDPSaveGroupDimensionGetNamedGroupDim (const OUString &rGroupDimName) const
 
const ScDPSaveGroupDimensionGetFirstNamedGroupDim (const OUString &rBaseDimName) const
 
const ScDPSaveGroupDimensionGetNextNamedGroupDim (const OUString &rGroupDimName) const
 
const ScDPSaveNumGroupDimensionGetNumGroupDim (const OUString &rGroupDimName) const
 
ScDPSaveGroupDimensionGetGroupDimAccForBase (const OUString &rBaseDimName)
 
ScDPSaveGroupDimensionGetNamedGroupDimAcc (const OUString &rGroupDimName)
 
ScDPSaveGroupDimensionGetFirstNamedGroupDimAcc (const OUString &rBaseDimName)
 
ScDPSaveGroupDimensionGetNextNamedGroupDimAcc (const OUString &rGroupDimName)
 
ScDPSaveNumGroupDimensionGetNumGroupDimAcc (const OUString &rGroupDimName)
 
bool HasGroupDimensions () const
 
sal_Int32 CollectDateParts (const OUString &rBaseDimName) const
 

Private Types

typedef ::std::vector< ScDPSaveGroupDimensionScDPSaveGroupDimVec
 
typedef ::std::map< OUString, ScDPSaveNumGroupDimensionScDPSaveNumGroupDimMap
 

Private Member Functions

ScDPDimensionSaveDataoperator= (const ScDPDimensionSaveData &)=delete
 

Private Attributes

ScDPSaveGroupDimVec maGroupDims
 
ScDPSaveNumGroupDimMap maNumGroupDims
 

Detailed Description

This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class does and document it here.

Definition at line 160 of file dpdimsave.hxx.

Member Typedef Documentation

Definition at line 205 of file dpdimsave.hxx.

Definition at line 206 of file dpdimsave.hxx.

Constructor & Destructor Documentation

ScDPDimensionSaveData::ScDPDimensionSaveData ( )

Definition at line 555 of file dpdimsave.cxx.

Member Function Documentation

void ScDPDimensionSaveData::AddGroupDimension ( const ScDPSaveGroupDimension rGroupDim)
void ScDPDimensionSaveData::AddNumGroupDimension ( const ScDPSaveNumGroupDimension rGroupDim)
sal_Int32 ScDPDimensionSaveData::CollectDateParts ( const OUString &  rBaseDimName) const
OUString ScDPDimensionSaveData::CreateDateGroupDimName ( sal_Int32  nDatePart,
const ScDPObject rObject,
bool  bAllowSource,
const ::std::vector< OUString > *  pDeletedNames 
)

Definition at line 773 of file dpdimsave.cxx.

References CreateGroupDimName(), and ScResId().

Referenced by ScDataPilotFieldObj::createDateGroup().

OUString ScDPDimensionSaveData::CreateGroupDimName ( const OUString &  rSourceName,
const ScDPObject rObject,
bool  bAllowSource,
const ::std::vector< OUString > *  pDeletedNames 
)
const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDim ( const OUString &  rBaseDimName) const

Definition at line 642 of file dpdimsave.cxx.

References GetFirstNamedGroupDimAcc().

Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDimAcc ( const OUString &  rBaseDimName)

Definition at line 670 of file dpdimsave.cxx.

References maGroupDims.

Referenced by GetFirstNamedGroupDim(), and GetGroupDimAccForBase().

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimAccForBase ( const OUString &  rBaseDimName)
const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimForBase ( const OUString &  rBaseDimName) const

Definition at line 632 of file dpdimsave.cxx.

References GetGroupDimAccForBase().

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDim ( const OUString &  rGroupDimName) const
ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDimAcc ( const OUString &  rGroupDimName)

Definition at line 663 of file dpdimsave.cxx.

References maGroupDims.

Referenced by ScDBFunc::DataPilotInput(), GetNamedGroupDim(), and ScDBFunc::UngroupDataPilot().

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNextNamedGroupDim ( const OUString &  rGroupDimName) const

Definition at line 647 of file dpdimsave.cxx.

References GetNextNamedGroupDimAcc().

Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNextNamedGroupDimAcc ( const OUString &  rGroupDimName)

Definition at line 677 of file dpdimsave.cxx.

References maGroupDims.

Referenced by GetGroupDimAccForBase(), and GetNextNamedGroupDim().

const ScDPSaveNumGroupDimension * ScDPDimensionSaveData::GetNumGroupDim ( const OUString &  rGroupDimName) const
ScDPSaveNumGroupDimension * ScDPDimensionSaveData::GetNumGroupDimAcc ( const OUString &  rGroupDimName)

Definition at line 688 of file dpdimsave.cxx.

References maNumGroupDims.

Referenced by GetNumGroupDim(), and ScDataPilotFieldObj::setGroupInfo().

bool ScDPDimensionSaveData::HasGroupDimensions ( ) const
ScDPDimensionSaveData& ScDPDimensionSaveData::operator= ( const ScDPDimensionSaveData )
privatedelete
bool ScDPDimensionSaveData::operator== ( const ScDPDimensionSaveData r) const

Definition at line 559 of file dpdimsave.cxx.

void ScDPDimensionSaveData::RemoveGroupDimension ( const OUString &  rGroupDimName)

Definition at line 582 of file dpdimsave.cxx.

References maGroupDims.

Referenced by ScDataPilotFieldObj::createDateGroup(), and ScDBFunc::UngroupDataPilot().

void ScDPDimensionSaveData::RemoveNumGroupDimension ( const OUString &  rGroupDimName)

Definition at line 607 of file dpdimsave.cxx.

References maNumGroupDims.

Referenced by ScDBFunc::UngroupDataPilot().

void ScDPDimensionSaveData::ReplaceGroupDimension ( const ScDPSaveGroupDimension rGroupDim)
void ScDPDimensionSaveData::ReplaceNumGroupDimension ( const ScDPSaveNumGroupDimension rGroupDim)
void ScDPDimensionSaveData::WriteToCache ( ScDPCache rCache) const
void ScDPDimensionSaveData::WriteToData ( ScDPGroupTableData rData) const

Definition at line 612 of file dpdimsave.cxx.

References maGroupDims, and maNumGroupDims.

Referenced by ScDPObject::GetTableData(), and ScDPObject::ReloadGroupTableData().

Member Data Documentation

ScDPSaveGroupDimVec ScDPDimensionSaveData::maGroupDims
private
ScDPSaveNumGroupDimMap ScDPDimensionSaveData::maNumGroupDims
private

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