50 mutable std::vector<ScDPItemData>
maItems;
63 void AddElement(
const OUString& rName );
68 bool RemoveElement(
const OUString& rName );
71 size_t GetElementCount()
const;
72 const OUString* GetElementByIndex(
size_t nIndex)
const;
74 void Rename(
const OUString& rNewName );
103 void AddToCache(
ScDPCache& rCache)
const;
113 OUString CreateGroupName( std::u16string_view rPrefix );
116 void RemoveFromGroups(
const OUString& rItemName );
117 void RemoveGroup(
const OUString& rGroupName);
118 bool IsEmpty()
const;
124 void Rename(
const OUString& rNewName );
147 void AddToCache(
ScDPCache& rCache)
const;
173 void WriteToCache(
ScDPCache& rCache)
const;
175 OUString CreateGroupDimName(
176 const OUString& rSourceName,
const ScDPObject& rObject,
bool bAllowSource,
177 const ::std::vector<OUString>* pDeletedNames );
179 OUString CreateDateGroupDimName(
180 sal_Int32 nDatePart,
const ScDPObject& rObject,
bool bAllowSource,
181 const ::std::vector<OUString>* pDeletedNames );
185 void RemoveGroupDimension(
const OUString& rGroupDimName );
189 void RemoveNumGroupDimension(
const OUString& rGroupDimName );
204 bool HasGroupDimensions()
const;
206 sal_Int32 CollectDateParts(
const OUString& rBaseDimName )
const;
This class represents the cached data part of the datapilot cache table implementation.
This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class doe...
::std::vector< ScDPSaveGroupDimension > ScDPSaveGroupDimVec
::std::map< OUString, ScDPSaveNumGroupDimension > ScDPSaveNumGroupDimMap
ScDPDimensionSaveData & operator=(const ScDPDimensionSaveData &)=delete
ScDPSaveGroupDimVec maGroupDims
ScDPDimensionSaveData(ScDPDimensionSaveData const &)=default
ScDPSaveNumGroupDimMap maNumGroupDims
When assigning a string value, you can also assign an interned string whose life-cycle is managed by ...
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID.
OUString aSourceDim
always the real source from the original data
const OUString & GetSourceDimName() const
const OUString & GetGroupDimName() const
const ScDPNumGroupInfo & GetDateInfo() const
ScDPNumGroupInfo aDateInfo
sal_Int32 GetDatePart() const
ScDPSaveGroupItemVec aGroups
Classes to save Data Pilot settings that create new dimensions (fields).
const OUString & GetGroupName() const
OUString aGroupName
name of group
ScDPSaveGroupItem(ScDPSaveGroupItem const &)=default
ScDPSaveGroupItem(ScDPSaveGroupItem &&)=default
std::vector< ScDPItemData > maItems
items converted from the strings.
std::vector< OUString > aElements
names of items in original dimension
Represents a group dimension that introduces a new hierarchy for an existing dimension.
const OUString & GetDimensionName() const
ScDPNumGroupInfo aGroupInfo
sal_Int32 GetDatePart() const
const ScDPNumGroupInfo & GetDateInfo() const
ScDPNumGroupInfo aDateInfo
const ScDPNumGroupInfo & GetInfo() const
::std::vector< ScDPSaveGroupItem > ScDPSaveGroupItemVec
std::unordered_set< OUString > ScDPUniqueStringSet
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)