diff options
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r-- | sc/inc/dpobject.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 94fdae7535d0..208fce900df1 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -262,6 +262,7 @@ class ScDPCollection : public ScCollection { private: ScDocument* pDoc; + std::list<ScDPTableDataCache*> m_listDPObjectsCaches; public: ScDPCollection(ScDocument* pDocument); ScDPCollection(const ScDPCollection& r); @@ -285,6 +286,13 @@ public: SC_DLLPUBLIC bool InsertNewTable(ScDPObject* pDPObj); bool HasDPTable(SCCOL nCol, SCROW nRow, SCTAB nTab) const; + + ScDPTableDataCache* GetDPObjectCache( long nID ); + ScDPTableDataCache* GetUsedDPObjectCache ( ScRange rRange ); + long AddDPObjectCache( ScDPTableDataCache* pData ); + void RemoveDPObjectCache( long nID ); + void RemoveUnusedDPObjectCaches(); + long GetNewDPObjectCacheId (); }; |