| LibreOffice Module sc (master) 1
    | 
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID. More...
#include <dpdimsave.hxx>
| Public Member Functions | |
| ScDPSaveGroupDimension (OUString aSource, OUString aName) | |
| ScDPSaveGroupDimension (OUString aSource, OUString aName, const ScDPNumGroupInfo &rDateInfo, sal_Int32 nPart) | |
| void | AddToData (ScDPGroupTableData &rData) const | 
| void | AddToCache (ScDPCache &rCache) const | 
| void | SetDateInfo (const ScDPNumGroupInfo &rInfo, sal_Int32 nPart) | 
| void | AddGroupItem (const ScDPSaveGroupItem &rItem) | 
| const OUString & | GetGroupDimName () const | 
| const OUString & | GetSourceDimName () const | 
| sal_Int32 | GetDatePart () const | 
| const ScDPNumGroupInfo & | GetDateInfo () const | 
| OUString | CreateGroupName (std::u16string_view rPrefix) | 
| const ScDPSaveGroupItem * | GetNamedGroup (const OUString &rGroupName) const | 
| ScDPSaveGroupItem * | GetNamedGroupAcc (const OUString &rGroupName) | 
| void | RemoveFromGroups (const OUString &rItemName) | 
| void | RemoveGroup (const OUString &rGroupName) | 
| bool | IsEmpty () const | 
| bool | HasOnlyHidden (const ScDPUniqueStringSet &rVisible) | 
| tools::Long | GetGroupCount () const | 
| const ScDPSaveGroupItem & | GetGroupByIndex (tools::Long nIndex) const | 
| void | Rename (const OUString &rNewName) | 
| Private Member Functions | |
| bool | IsInGroup (const ScDPItemData &rItem) const | 
| Private Attributes | |
| OUString | aSourceDim | 
| always the real source from the original data  More... | |
| OUString | aGroupDimName | 
| ScDPSaveGroupItemVec | aGroups | 
| ScDPNumGroupInfo | aDateInfo | 
| sal_Int32 | nDatePart | 
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID.
Definition at line 90 of file dpdimsave.hxx.
| ScDPSaveGroupDimension::ScDPSaveGroupDimension | ( | OUString | aSource, | 
| OUString | aName | ||
| ) | 
Definition at line 127 of file dpdimsave.cxx.
References aName.
| ScDPSaveGroupDimension::ScDPSaveGroupDimension | ( | OUString | aSource, | 
| OUString | aName, | ||
| const ScDPNumGroupInfo & | rDateInfo, | ||
| sal_Int32 | nPart | ||
| ) | 
Definition at line 134 of file dpdimsave.cxx.
References aName.
| void ScDPSaveGroupDimension::AddGroupItem | ( | const ScDPSaveGroupItem & | rItem | ) | 
Definition at line 148 of file dpdimsave.cxx.
References aGroups.
Referenced by XclImpPCField::ConvertStdGroupField(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::DataPilotInput(), ScXMLDataPilotFieldContext::endFastElement(), ScDBFunc::GroupDataPilot(), and ScDataPilotFieldObj::setGroupInfo().
| void ScDPSaveGroupDimension::AddToCache | ( | ScDPCache & | rCache | ) | const | 
Definition at line 363 of file dpdimsave.cxx.
References aDateInfo, aGroups, ScDPCache::AppendGroupField(), aSourceDim, ScDPCache::GetDimensionIndex(), ScDPCache::GetDimMemberValues(), ScDPCache::GetDoc(), ScDocument::GetFormatTable(), IsInGroup(), nDatePart, ScDPCache::ResetGroupItems(), and ScDPCache::SetGroupItem().
| void ScDPSaveGroupDimension::AddToData | ( | ScDPGroupTableData & | rData | ) | const | 
Definition at line 339 of file dpdimsave.cxx.
References ScDPGroupTableData::AddGroupDimension(), aGroupDimName, aGroups, aSourceDim, ScDPGroupTableData::GetDimensionIndex(), nDatePart, and ScDPGroupDimension::SetDateDimension().
| OUString ScDPSaveGroupDimension::CreateGroupName | ( | std::u16string_view | rPrefix | ) | 
Definition at line 153 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDataPilotFieldObj::createNameGroup(), and ScDBFunc::GroupDataPilot().
| 
 | inline | 
Definition at line 111 of file dpdimsave.hxx.
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDBFunc::HasSelectionForDateGroup(), ScXMLExportDataPilot::WriteGroupDimAttributes(), and XclExpPCField::XclExpPCField().
| 
 | inline | 
Definition at line 110 of file dpdimsave.hxx.
Referenced by ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::UngroupDataPilot(), ScXMLExportDataPilot::WriteGroupDimAttributes(), ScXMLExportDataPilot::WriteGroupDimElements(), and XclExpPCField::XclExpPCField().
| const ScDPSaveGroupItem & ScDPSaveGroupDimension::GetGroupByIndex | ( | tools::Long | nIndex | ) | const | 
Definition at line 204 of file dpdimsave.cxx.
References aGroups, and nIndex.
Referenced by ScDataPilotFieldObj::createNameGroup(), ScDBFunc::GroupDataPilot(), XclExpPCField::InitStdGroupField(), and ScXMLExportDataPilot::WriteGroupDimElements().
| tools::Long ScDPSaveGroupDimension::GetGroupCount | ( | ) | const | 
Definition at line 199 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDataPilotFieldObj::createNameGroup(), ScDBFunc::GroupDataPilot(), XclExpPCField::InitStdGroupField(), and ScXMLExportDataPilot::WriteGroupDimElements().
| 
 | inline | 
Definition at line 107 of file dpdimsave.hxx.
Referenced by ScDPDimensionSaveData::AddGroupDimension(), XclExpPivotCache::AddGroupFields(), ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::GroupDataPilot(), ScDPSaveData::RemoveAllGroupDimensions(), ScDPDimensionSaveData::ReplaceGroupDimension(), and XclExpPCField::XclExpPCField().
| const ScDPSaveGroupItem * ScDPSaveGroupDimension::GetNamedGroup | ( | const OUString & | rGroupName | ) | const | 
Definition at line 182 of file dpdimsave.cxx.
References GetNamedGroupAcc().
Referenced by ScDataPilotFieldObj::createNameGroup(), ScDBFunc::DataPilotInput(), and ScDBFunc::GroupDataPilot().
| ScDPSaveGroupItem * ScDPSaveGroupDimension::GetNamedGroupAcc | ( | const OUString & | rGroupName | ) | 
Definition at line 187 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDBFunc::DataPilotInput(), and GetNamedGroup().
| 
 | inline | 
Definition at line 108 of file dpdimsave.hxx.
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), ScDBFunc::GroupDataPilot(), ScDBFunc::HasSelectionForDateGroup(), XclExpXmlPivotCaches::SavePivotCacheXml(), ScXMLExportDataPilot::WriteGroupDimAttributes(), and XclExpPCField::XclExpPCField().
| bool ScDPSaveGroupDimension::HasOnlyHidden | ( | const ScDPUniqueStringSet & | rVisible | ) | 
Definition at line 240 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDBFunc::UngroupDataPilot().
| bool ScDPSaveGroupDimension::IsEmpty | ( | ) | const | 
Definition at line 235 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDBFunc::UngroupDataPilot().
| 
 | private | 
| void ScDPSaveGroupDimension::RemoveFromGroups | ( | const OUString & | rItemName | ) | 
Definition at line 210 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDataPilotFieldObj::createNameGroup(), ScDBFunc::GroupDataPilot(), and ScDPSaveGroupItem::RemoveElementsFromGroups().
| void ScDPSaveGroupDimension::RemoveGroup | ( | const OUString & | rGroupName | ) | 
Definition at line 225 of file dpdimsave.cxx.
References aGroups.
Referenced by ScDBFunc::UngroupDataPilot().
| void ScDPSaveGroupDimension::Rename | ( | const OUString & | rNewName | ) | 
Definition at line 248 of file dpdimsave.cxx.
References aGroupDimName.
Referenced by ScDBFunc::DataPilotInput().
| void ScDPSaveGroupDimension::SetDateInfo | ( | const ScDPNumGroupInfo & | rInfo, | 
| sal_Int32 | nPart | ||
| ) | 
Definition at line 142 of file dpdimsave.cxx.
References aDateInfo, and nDatePart.
Referenced by XclImpPCField::ConvertDateGroupField(), ScDBFunc::DateGroupDataPilot(), ScXMLDataPilotFieldContext::endFastElement(), and ScDataPilotFieldObj::setGroupInfo().
| 
 | mutableprivate | 
Definition at line 95 of file dpdimsave.hxx.
Referenced by AddToCache(), and SetDateInfo().
| 
 | private | 
Definition at line 93 of file dpdimsave.hxx.
Referenced by AddToData(), and Rename().
| 
 | private | 
Definition at line 94 of file dpdimsave.hxx.
Referenced by AddGroupItem(), AddToCache(), AddToData(), CreateGroupName(), GetGroupByIndex(), GetGroupCount(), GetNamedGroupAcc(), HasOnlyHidden(), IsEmpty(), IsInGroup(), RemoveFromGroups(), and RemoveGroup().
| 
 | private | 
always the real source from the original data
Definition at line 92 of file dpdimsave.hxx.
Referenced by AddToCache(), and AddToData().
| 
 | private | 
Definition at line 96 of file dpdimsave.hxx.
Referenced by AddToCache(), AddToData(), and SetDateInfo().