LibreOffice Module sc (master)
1
|
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 ScDPSaveGroupDimension * | GetGroupDimForBase (const OUString &rBaseDimName) const |
const ScDPSaveGroupDimension * | GetNamedGroupDim (const OUString &rGroupDimName) const |
const ScDPSaveGroupDimension * | GetFirstNamedGroupDim (const OUString &rBaseDimName) const |
const ScDPSaveGroupDimension * | GetNextNamedGroupDim (const OUString &rGroupDimName) const |
const ScDPSaveNumGroupDimension * | GetNumGroupDim (const OUString &rGroupDimName) const |
ScDPSaveGroupDimension * | GetGroupDimAccForBase (const OUString &rBaseDimName) |
ScDPSaveGroupDimension * | GetNamedGroupDimAcc (const OUString &rGroupDimName) |
ScDPSaveGroupDimension * | GetFirstNamedGroupDimAcc (const OUString &rBaseDimName) |
ScDPSaveGroupDimension * | GetNextNamedGroupDimAcc (const OUString &rGroupDimName) |
ScDPSaveNumGroupDimension * | GetNumGroupDimAcc (const OUString &rGroupDimName) |
bool | HasGroupDimensions () const |
sal_Int32 | CollectDateParts (const OUString &rBaseDimName) const |
Private Types | |
typedef ::std::vector< ScDPSaveGroupDimension > | ScDPSaveGroupDimVec |
typedef ::std::map< OUString, ScDPSaveNumGroupDimension > | ScDPSaveNumGroupDimMap |
Private Member Functions | |
ScDPDimensionSaveData & | operator= (const ScDPDimensionSaveData &)=delete |
Private Attributes | |
ScDPSaveGroupDimVec | maGroupDims |
ScDPSaveNumGroupDimMap | maNumGroupDims |
This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class does and document it here.
Definition at line 164 of file dpdimsave.hxx.
|
private |
Definition at line 209 of file dpdimsave.hxx.
|
private |
Definition at line 210 of file dpdimsave.hxx.
ScDPDimensionSaveData::ScDPDimensionSaveData | ( | ) |
Definition at line 555 of file dpdimsave.cxx.
void ScDPDimensionSaveData::AddGroupDimension | ( | const ScDPSaveGroupDimension & | rGroupDim | ) |
Definition at line 564 of file dpdimsave.cxx.
References ScDPSaveGroupDimension::GetGroupDimName(), maGroupDims, and ReplaceGroupDimension().
Referenced by XclImpPCField::ConvertDateGroupField(), XclImpPCField::ConvertStdGroupField(), ScDataPilotFieldObj::createDateGroup(), and ScDataPilotFieldObj::createNameGroup().
void ScDPDimensionSaveData::AddNumGroupDimension | ( | const ScDPSaveNumGroupDimension & | rGroupDim | ) |
Definition at line 590 of file dpdimsave.cxx.
References ScDPSaveNumGroupDimension::GetDimensionName(), maNumGroupDims, and ReplaceNumGroupDimension().
Referenced by XclImpPCField::ConvertDateGroupField(), XclImpPCField::ConvertNumGroupField(), and ScDataPilotFieldObj::setGroupInfo().
sal_Int32 ScDPDimensionSaveData::CollectDateParts | ( | const OUString & | rBaseDimName | ) | const |
Definition at line 699 of file dpdimsave.cxx.
References GetFirstNamedGroupDim(), GetNextNamedGroupDim(), and GetNumGroupDim().
Referenced by ScDataPilotFieldObj::createDateGroup(), and ScDBFunc::HasSelectionForDateGroup().
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 | ||
) |
Definition at line 712 of file dpdimsave.cxx.
References ScDPObject::IsDimNameInUse(), and maGroupDims.
Referenced by CreateDateGroupDimName(), and ScDataPilotFieldObj::createNameGroup().
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 | ) |
Definition at line 657 of file dpdimsave.cxx.
References GetFirstNamedGroupDimAcc(), and GetNextNamedGroupDimAcc().
Referenced by ScDataPilotFieldObj::createNameGroup(), and GetGroupDimForBase().
const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimForBase | ( | const OUString & | rBaseDimName | ) | const |
Definition at line 632 of file dpdimsave.cxx.
References GetGroupDimAccForBase().
Referenced by XclExpPivotCache::AddGroupFields().
const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDim | ( | const OUString & | rGroupDimName | ) | const |
Definition at line 637 of file dpdimsave.cxx.
References GetNamedGroupDimAcc().
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), XclExpXmlPivotCaches::SavePivotCacheXml(), and ScXMLExportDataPilot::WriteGroupDimElements().
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 |
Definition at line 652 of file dpdimsave.cxx.
References GetNumGroupDimAcc().
Referenced by CollectDateParts(), ScDataPilotFieldObj::createDateGroup(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), ScDBFunc::UngroupDataPilot(), and ScXMLExportDataPilot::WriteGroupDimElements().
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 |
Definition at line 694 of file dpdimsave.cxx.
References maGroupDims, and maNumGroupDims.
Referenced by XclExpPivotTableManager::CreatePivotCache(), oox::xls::PivotTable::finalizeFieldsImport(), and ScDPObject::ReloadGroupTableData().
|
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 | ) |
Definition at line 572 of file dpdimsave.cxx.
References ScDPSaveGroupDimension::GetGroupDimName(), and maGroupDims.
Referenced by AddGroupDimension(), and ScDataPilotFieldObj::setGroupInfo().
void ScDPDimensionSaveData::ReplaceNumGroupDimension | ( | const ScDPSaveNumGroupDimension & | rGroupDim | ) |
Definition at line 598 of file dpdimsave.cxx.
References ScDPSaveNumGroupDimension::GetDimensionName(), and maNumGroupDims.
Referenced by AddNumGroupDimension(), and ScDataPilotFieldObj::createDateGroup().
Definition at line 624 of file dpdimsave.cxx.
References maGroupDims, and maNumGroupDims.
Referenced by ScDPCollection::SheetCaches::getCache(), ScDPCollection::NameCaches::getCache(), ScDPCollection::DBCaches::getCache(), and ScDPCollection::ReloadGroupsInCache().
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().
|
private |
Definition at line 214 of file dpdimsave.hxx.
Referenced by AddGroupDimension(), CreateGroupDimName(), GetFirstNamedGroupDimAcc(), GetNamedGroupDimAcc(), GetNextNamedGroupDimAcc(), HasGroupDimensions(), RemoveGroupDimension(), ReplaceGroupDimension(), WriteToCache(), and WriteToData().
|
private |
Definition at line 215 of file dpdimsave.hxx.
Referenced by AddNumGroupDimension(), GetNumGroupDimAcc(), HasGroupDimensions(), RemoveNumGroupDimension(), ReplaceNumGroupDimension(), WriteToCache(), and WriteToData().