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