17#include <unordered_map>
34 void SetCaches(std::vector<Entry>&& rCaches);
53 Entry(
const ScDPObject* pTable, sal_Int32 nCacheId, sal_Int32 nPivotId);
73 typedef std::map<SCTAB, std::unique_ptr<XclExpXmlPivotTables>>
TablesType;
This class represents the cached data part of the datapilot cache table implementation.
Base class for all Excel records.
Access to global data from other classes.
const Entry * GetCache(sal_Int32 nCacheId) const
void SavePivotCacheXml(XclExpXmlStream &rStrm, const Entry &rEntry, sal_Int32 nCacheId)
virtual void SaveXml(XclExpXmlStream &rStrm) override
XclExpXmlPivotCaches(const XclExpRoot &rRoot)
void SetCaches(std::vector< Entry > &&rCaches)
std::vector< Entry > maCaches
XclExpXmlPivotCaches & GetCaches()
std::unordered_map< const ScDPObject *, sal_Int32 > CacheIdMapType
CacheIdMapType maCacheIdMap
XclExpXmlPivotTables * GetTablesBySheet(SCTAB nTab)
XclExpXmlPivotCaches maCaches
XclExpXmlPivotTableManager(const XclExpRoot &rRoot)
std::map< SCTAB, std::unique_ptr< XclExpXmlPivotTables > > TablesType
XclExpXmlPivotTables(const XclExpRoot &rRoot, const XclExpXmlPivotCaches &rCaches)
void SavePivotTableXml(XclExpXmlStream &rStrm, const ScDPObject &rObj, sal_Int32 nCacheId)
std::vector< Entry > TablesType
void AppendTable(const ScDPObject *pTable, sal_Int32 nCacheId, sal_Int32 nPivotId)
const XclExpXmlPivotCaches & mrCaches
virtual void SaveXml(XclExpXmlStream &rStrm) override
const ScDPCache * mpCache
Entry(const ScDPObject *pTable, sal_Int32 nCacheId, sal_Int32 nPivotId)
used as [n] in pivotTable[n].xml part name.
const ScDPObject * mpTable