diff options
Diffstat (limited to 'sc/inc/dpcache.hxx')
-rw-r--r-- | sc/inc/dpcache.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx index 707749cbb104..b35fa3b1d708 100644 --- a/sc/inc/dpcache.hxx +++ b/sc/inc/dpcache.hxx @@ -139,6 +139,15 @@ public: void GetGroupDimMemberIds(long nDim, std::vector<SCROW>& rIds) const; void ClearGroupFields(); const ScDPNumGroupInfo* GetNumGroupInfo(long nDim) const; + + /** + * Return a group type identifier. The values correspond with + * com::sun::star::sheet::DataPilotFieldGroupBy constant values. + * + * @param nDim 0-based dimension index. + * + * @return group type identifier, or 0 on failure. + */ sal_Int32 GetGroupType(long nDim) const; SCCOL GetDimensionIndex(const OUString& sName) const; @@ -163,6 +172,9 @@ public: const ScDPItemData* GetItemDataById( long nDim, SCROW nId ) const; + size_t GetFieldCount() const; + size_t GetGroupFieldCount() const; + ScDPCache(ScDocument* pDoc); ~ScDPCache(); |