LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScSheetDPData Class Referencefinal

Implementation of ScDPTableData with sheet data. More...

#include <dpshttab.hxx>

Inheritance diagram for ScSheetDPData:
[legend]
Collaboration diagram for ScSheetDPData:
[legend]

Public Member Functions

 ScSheetDPData (const ScDocument *pD, const ScSheetSourceDesc &rDesc, const ScDPCache &rCache)
 
virtual ~ScSheetDPData () override
 
virtual long GetColumnCount () override
 use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection More...
 
virtual OUString getDimensionName (long nColumn) override
 
virtual bool getIsDataLayoutDimension (long nColumn) override
 
virtual bool IsDateDimension (long nDim) override
 
virtual sal_uInt32 GetNumberFormat (long nDim) override
 
virtual void DisposeData () override
 
virtual void SetEmptyFlags (bool bIgnoreEmptyRows, bool bRepeatIfEmpty) override
 
virtual bool IsRepeatIfEmpty () override
 
virtual void CreateCacheTable () override
 
virtual void FilterCacheTable (const std::vector< ScDPFilteredCache::Criterion > &rCriteria, const std::unordered_set< sal_Int32 > &rCatDims) override
 
virtual void GetDrillDownData (const std::vector< ScDPFilteredCache::Criterion > &rCriteria, const std::unordered_set< sal_Int32 > &rCatDims, css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &rData) override
 
virtual void CalcResults (CalcInfo &rInfo, bool bAutoShow) override
 
virtual const ScDPFilteredCacheGetCacheTable () const override
 
virtual void ReloadCacheTable () override
 
virtual void Dump () const override
 
- Public Member Functions inherited from ScDPTableData
 ScDPTableData (const ScDPTableData &)=delete
 
const ScDPTableDataoperator= (const ScDPTableData &)=delete
 
 ScDPTableData (const ScDocument *pDoc)
 
virtual ~ScDPTableData ()
 
OUString GetFormattedString (long nDim, const ScDPItemData &rItem, bool bLocaleIndependent) const
 
long GetDatePart (long nDateVal, long nHierarchy, long nLevel)
 
virtual const std::vector< SCROW > & GetColumnEntries (long nColumn)
 
sal_uInt32 GetNumberFormatByIdx (NfIndexTableOffset)
 
virtual bool IsBaseForGroup (long nDim) const
 
virtual long GetGroupBase (long nGroupDim) const
 
virtual bool IsNumOrDateGroup (long nDim) const
 
virtual bool IsInGroup (const ScDPItemData &rGroupData, long nGroupIndex, const ScDPItemData &rBaseData, long nBaseIndex) const
 
virtual bool HasCommonElement (const ScDPItemData &rFirstData, long nFirstIndex, const ScDPItemData &rSecondData, long nSecondIndex) const
 
virtual long GetMembersCount (long nDim)
 
const ScDPItemDataGetMemberByIndex (long nDim, long nIndex)
 
virtual const ScDPItemDataGetMemberById (long nDim, long nId)
 
virtual long GetSourceDim (long nDim)
 
virtual long Compare (long nDim, long nDataId1, long nDataId2)
 

Private Attributes

ScQueryParam aQuery
 
bool bIgnoreEmptyRows
 
bool bRepeatIfEmpty
 
ScDPFilteredCache aCacheTable
 

Additional Inherited Members

- Protected Member Functions inherited from ScDPTableData
void FillRowDataFromCacheTable (sal_Int32 nRow, const ScDPFilteredCache &rCacheTable, const CalcInfo &rInfo, CalcRowData &rData)
 
void CalcResultsFromCacheTable (const ScDPFilteredCache &rCacheTable, CalcInfo &rInfo, bool bAutoShow)
 
- Static Protected Member Functions inherited from ScDPTableData
static void ProcessRowData (CalcInfo &rInfo, const CalcRowData &rData, bool bAutoShow)
 

Detailed Description

Implementation of ScDPTableData with sheet data.

Definition at line 86 of file dpshttab.hxx.

Constructor & Destructor Documentation

ScSheetDPData::ScSheetDPData ( const ScDocument pD,
const ScSheetSourceDesc rDesc,
const ScDPCache rCache 
)
ScSheetDPData::~ScSheetDPData ( )
overridevirtual

Definition at line 67 of file dpshttab.cxx.

Member Function Documentation

void ScSheetDPData::CalcResults ( CalcInfo rInfo,
bool  bAutoShow 
)
overridevirtual
void ScSheetDPData::CreateCacheTable ( )
overridevirtual
void ScSheetDPData::DisposeData ( )
overridevirtual

Implements ScDPTableData.

Definition at line 71 of file dpshttab.cxx.

References aCacheTable, and ScDPFilteredCache::clear().

virtual void ScSheetDPData::Dump ( ) const
overridevirtual

Reimplemented from ScDPTableData.

void ScSheetDPData::FilterCacheTable ( const std::vector< ScDPFilteredCache::Criterion > &  rCriteria,
const std::unordered_set< sal_Int32 > &  rCatDims 
)
overridevirtual
const ScDPFilteredCache & ScSheetDPData::GetCacheTable ( ) const
overridevirtual

Implements ScDPTableData.

Definition at line 200 of file dpshttab.cxx.

References aCacheTable.

Referenced by GetNumberFormat(), and IsDateDimension().

long ScSheetDPData::GetColumnCount ( )
overridevirtual

use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection

Implements ScDPTableData.

Definition at line 76 of file dpshttab.cxx.

References aCacheTable, CreateCacheTable(), and ScDPFilteredCache::getColSize().

OUString ScSheetDPData::getDimensionName ( long  nColumn)
overridevirtual
void ScSheetDPData::GetDrillDownData ( const std::vector< ScDPFilteredCache::Criterion > &  rCriteria,
const std::unordered_set< sal_Int32 > &  rCatDims,
css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  rData 
)
overridevirtual
bool ScSheetDPData::getIsDataLayoutDimension ( long  nColumn)
overridevirtual
sal_uInt32 ScSheetDPData::GetNumberFormat ( long  nDim)
overridevirtual
bool ScSheetDPData::IsDateDimension ( long  nDim)
overridevirtual
bool ScSheetDPData::IsRepeatIfEmpty ( )
overridevirtual

Reimplemented from ScDPTableData.

Definition at line 161 of file dpshttab.cxx.

References bRepeatIfEmpty.

Referenced by FilterCacheTable(), and GetDrillDownData().

void ScSheetDPData::ReloadCacheTable ( )
overridevirtual

Implements ScDPTableData.

Definition at line 205 of file dpshttab.cxx.

References aCacheTable, ScDPFilteredCache::clear(), and CreateCacheTable().

void ScSheetDPData::SetEmptyFlags ( bool  bIgnoreEmptyRows,
bool  bRepeatIfEmpty 
)
overridevirtual

Implements ScDPTableData.

Definition at line 155 of file dpshttab.cxx.

References bIgnoreEmptyRows, and bRepeatIfEmpty.

Member Data Documentation

ScDPFilteredCache ScSheetDPData::aCacheTable
private
ScQueryParam ScSheetDPData::aQuery
private

Definition at line 89 of file dpshttab.hxx.

Referenced by CreateCacheTable(), and ScSheetDPData().

bool ScSheetDPData::bIgnoreEmptyRows
private

Definition at line 90 of file dpshttab.hxx.

Referenced by CreateCacheTable(), and SetEmptyFlags().

bool ScSheetDPData::bRepeatIfEmpty
private

Definition at line 91 of file dpshttab.hxx.

Referenced by CreateCacheTable(), IsRepeatIfEmpty(), and SetEmptyFlags().


The documentation for this class was generated from the following files: