|
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 () | |
| ScDPDimensionSaveData (ScDPDimensionSaveData const &)=default | |
| 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 163 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 554 of file dpdimsave.cxx.
|
default |
| void ScDPDimensionSaveData::AddGroupDimension | ( | const ScDPSaveGroupDimension & | rGroupDim | ) |
Definition at line 563 of file dpdimsave.cxx.
References ScDPSaveGroupDimension::GetGroupDimName(), maGroupDims, and ReplaceGroupDimension().
Referenced by XclImpPCField::ConvertDateGroupField(), XclImpPCField::ConvertStdGroupField(), ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::DateGroupDataPilot(), and ScDBFunc::GroupDataPilot().
| void ScDPDimensionSaveData::AddNumGroupDimension | ( | const ScDPSaveNumGroupDimension & | rGroupDim | ) |
Definition at line 589 of file dpdimsave.cxx.
References ScDPSaveNumGroupDimension::GetDimensionName(), maNumGroupDims, and ReplaceNumGroupDimension().
Referenced by XclImpPCField::ConvertDateGroupField(), XclImpPCField::ConvertNumGroupField(), ScDBFunc::DateGroupDataPilot(), ScDBFunc::NumGroupDataPilot(), and ScDataPilotFieldObj::setGroupInfo().
| sal_Int32 ScDPDimensionSaveData::CollectDateParts | ( | const OUString & | rBaseDimName | ) | const |
Definition at line 698 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 772 of file dpdimsave.cxx.
References CreateGroupDimName(), and ScResId().
Referenced by ScDataPilotFieldObj::createDateGroup(), and ScDBFunc::DateGroupDataPilot().
| OUString ScDPDimensionSaveData::CreateGroupDimName | ( | const OUString & | rSourceName, |
| const ScDPObject & | rObject, | ||
| bool | bAllowSource, | ||
| const ::std::vector< OUString > * | pDeletedNames | ||
| ) |
Definition at line 711 of file dpdimsave.cxx.
References ScDPObject::IsDimNameInUse(), and maGroupDims.
Referenced by CreateDateGroupDimName(), ScDataPilotFieldObj::createNameGroup(), and ScDBFunc::GroupDataPilot().
| const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDim | ( | const OUString & | rBaseDimName | ) | const |
Definition at line 641 of file dpdimsave.cxx.
References GetFirstNamedGroupDimAcc().
Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().
| ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDimAcc | ( | const OUString & | rBaseDimName | ) |
Definition at line 669 of file dpdimsave.cxx.
References maGroupDims.
Referenced by GetFirstNamedGroupDim(), and GetGroupDimAccForBase().
| ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimAccForBase | ( | const OUString & | rBaseDimName | ) |
Definition at line 656 of file dpdimsave.cxx.
References GetFirstNamedGroupDimAcc(), and GetNextNamedGroupDimAcc().
Referenced by ScDataPilotFieldObj::createNameGroup(), GetGroupDimForBase(), and ScDBFunc::GroupDataPilot().
| const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimForBase | ( | const OUString & | rBaseDimName | ) | const |
Definition at line 631 of file dpdimsave.cxx.
References GetGroupDimAccForBase().
Referenced by XclExpPivotCache::AddGroupFields().
| const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDim | ( | const OUString & | rGroupDimName | ) | const |
Definition at line 636 of file dpdimsave.cxx.
References GetNamedGroupDimAcc().
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::DateGroupDataPilot(), ScDBFunc::GroupDataPilot(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), XclExpXmlPivotCaches::SavePivotCacheXml(), and ScXMLExportDataPilot::WriteGroupDimElements().
| ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDimAcc | ( | const OUString & | rGroupDimName | ) |
Definition at line 662 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 646 of file dpdimsave.cxx.
References GetNextNamedGroupDimAcc().
Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().
| ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNextNamedGroupDimAcc | ( | const OUString & | rGroupDimName | ) |
Definition at line 676 of file dpdimsave.cxx.
References maGroupDims.
Referenced by GetGroupDimAccForBase(), and GetNextNamedGroupDim().
| const ScDPSaveNumGroupDimension * ScDPDimensionSaveData::GetNumGroupDim | ( | const OUString & | rGroupDimName | ) | const |
Definition at line 651 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 687 of file dpdimsave.cxx.
References maNumGroupDims.
Referenced by GetNumGroupDim(), ScDBFunc::NumGroupDataPilot(), and ScDataPilotFieldObj::setGroupInfo().
| bool ScDPDimensionSaveData::HasGroupDimensions | ( | ) | const |
Definition at line 693 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 558 of file dpdimsave.cxx.
| void ScDPDimensionSaveData::RemoveGroupDimension | ( | const OUString & | rGroupDimName | ) |
Definition at line 581 of file dpdimsave.cxx.
References maGroupDims.
Referenced by ScDataPilotFieldObj::createDateGroup(), and ScDBFunc::UngroupDataPilot().
| void ScDPDimensionSaveData::RemoveNumGroupDimension | ( | const OUString & | rGroupDimName | ) |
Definition at line 606 of file dpdimsave.cxx.
References maNumGroupDims.
Referenced by ScDBFunc::UngroupDataPilot().
| void ScDPDimensionSaveData::ReplaceGroupDimension | ( | const ScDPSaveGroupDimension & | rGroupDim | ) |
Definition at line 571 of file dpdimsave.cxx.
References ScDPSaveGroupDimension::GetGroupDimName(), and maGroupDims.
Referenced by AddGroupDimension(), and ScDataPilotFieldObj::setGroupInfo().
| void ScDPDimensionSaveData::ReplaceNumGroupDimension | ( | const ScDPSaveNumGroupDimension & | rGroupDim | ) |
Definition at line 597 of file dpdimsave.cxx.
References ScDPSaveNumGroupDimension::GetDimensionName(), and maNumGroupDims.
Referenced by AddNumGroupDimension(), and ScDataPilotFieldObj::createDateGroup().
| void ScDPDimensionSaveData::WriteToCache | ( | ScDPCache & | rCache | ) | const |
Definition at line 623 of file dpdimsave.cxx.
References maGroupDims, and maNumGroupDims.
Referenced by ScDPCollection::NameCaches::getCache(), ScDPCollection::SheetCaches::getCache(), ScDPCollection::DBCaches::getCache(), and ScDPCollection::ReloadGroupsInCache().
| void ScDPDimensionSaveData::WriteToData | ( | ScDPGroupTableData & | rData | ) | const |
Definition at line 611 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().