LibreOffice Module sc (master) 1
|
Implementation of ScDPTableData with sheet data. More...
#include <dpshttab.hxx>
Public Member Functions | |
ScSheetDPData (const ScDocument *pD, const ScSheetSourceDesc &rDesc, const ScDPCache &rCache) | |
virtual | ~ScSheetDPData () override |
virtual sal_Int32 | GetColumnCount () override |
use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection More... | |
virtual OUString | getDimensionName (sal_Int32 nColumn) override |
virtual bool | getIsDataLayoutDimension (sal_Int32 nColumn) override |
virtual bool | IsDateDimension (sal_Int32 nDim) override |
virtual sal_uInt32 | GetNumberFormat (sal_Int32 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 (std::vector< ScDPFilteredCache::Criterion > &&rCriteria, std::unordered_set< sal_Int32 > &&rCatDims) override |
virtual void | GetDrillDownData (std::vector< ScDPFilteredCache::Criterion > &&rCriteria, 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 ScDPFilteredCache & | GetCacheTable () const override |
virtual void | ReloadCacheTable () override |
virtual void | Dump () const override |
Public Member Functions inherited from ScDPTableData | |
ScDPTableData (const ScDPTableData &)=delete | |
const ScDPTableData & | operator= (const ScDPTableData &)=delete |
ScDPTableData (const ScDocument *pDoc) | |
virtual | ~ScDPTableData () |
OUString | GetFormattedString (sal_Int32 nDim, const ScDPItemData &rItem, bool bLocaleIndependent) const |
tools::Long | GetDatePart (tools::Long nDateVal, tools::Long nHierarchy, tools::Long nLevel) |
virtual sal_Int32 | GetColumnCount ()=0 |
use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection More... | |
virtual const std::vector< SCROW > & | GetColumnEntries (sal_Int32 nColumn) |
virtual OUString | getDimensionName (sal_Int32 nColumn)=0 |
virtual bool | getIsDataLayoutDimension (sal_Int32 nColumn)=0 |
virtual bool | IsDateDimension (sal_Int32 nDim)=0 |
virtual sal_uInt32 | GetNumberFormat (sal_Int32 nDim) |
sal_uInt32 | GetNumberFormatByIdx (NfIndexTableOffset) |
virtual void | DisposeData ()=0 |
virtual void | SetEmptyFlags (bool bIgnoreEmptyRows, bool bRepeatIfEmpty)=0 |
virtual bool | IsRepeatIfEmpty () |
virtual void | CreateCacheTable ()=0 |
virtual void | FilterCacheTable (std::vector< ScDPFilteredCache::Criterion > &&rCriteria, std::unordered_set< sal_Int32 > &&rDataDims)=0 |
virtual void | GetDrillDownData (std::vector< ScDPFilteredCache::Criterion > &&rCriteria, std::unordered_set< sal_Int32 > &&rCatDims, css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &rData)=0 |
virtual void | CalcResults (CalcInfo &rInfo, bool bAutoShow)=0 |
virtual const ScDPFilteredCache & | GetCacheTable () const =0 |
virtual void | ReloadCacheTable ()=0 |
virtual bool | IsBaseForGroup (sal_Int32 nDim) const |
virtual sal_Int32 | GetGroupBase (sal_Int32 nGroupDim) const |
virtual bool | IsNumOrDateGroup (sal_Int32 nDim) const |
virtual bool | IsInGroup (const ScDPItemData &rGroupData, sal_Int32 nGroupIndex, const ScDPItemData &rBaseData, sal_Int32 nBaseIndex) const |
virtual bool | HasCommonElement (const ScDPItemData &rFirstData, sal_Int32 nFirstIndex, const ScDPItemData &rSecondData, sal_Int32 nSecondIndex) const |
virtual sal_Int32 | GetMembersCount (sal_Int32 nDim) |
const ScDPItemData * | GetMemberByIndex (sal_Int32 nDim, sal_Int32 nIndex) |
virtual const ScDPItemData * | GetMemberById (sal_Int32 nDim, sal_Int32 nId) |
virtual sal_Int32 | GetSourceDim (sal_Int32 nDim) |
virtual sal_Int32 | Compare (sal_Int32 nDim, sal_Int32 nDataId1, sal_Int32 nDataId2) |
virtual void | Dump () const |
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) |
Implementation of ScDPTableData with sheet data.
Definition at line 86 of file dpshttab.hxx.
ScSheetDPData::ScSheetDPData | ( | const ScDocument * | pD, |
const ScSheetSourceDesc & | rDesc, | ||
const ScDPCache & | rCache | ||
) |
Definition at line 43 of file dpshttab.cxx.
References aQuery, ScQueryEntry::bDoQuery, ScQueryEntry::ByString, ScQueryEntry::ByValue, ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), ScDocument::GetFormatTable(), ScQueryEntry::GetQueryItem(), svl::SharedString::getString(), SvNumberFormatter::IsNumberFormat(), ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::Item::mfVal, and nIndex.
|
overridevirtual |
Definition at line 68 of file dpshttab.cxx.
|
overridevirtual |
Implements ScDPTableData.
Definition at line 195 of file dpshttab.cxx.
References aCacheTable, ScDPTableData::CalcResultsFromCacheTable(), and CreateCacheTable().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 167 of file dpshttab.cxx.
References aCacheTable, aQuery, bIgnoreEmptyRows, bRepeatIfEmpty, ScDPFilteredCache::empty(), and ScDPFilteredCache::fillTable().
Referenced by CalcResults(), FilterCacheTable(), GetColumnCount(), getDimensionName(), GetDrillDownData(), getIsDataLayoutDimension(), GetNumberFormat(), IsDateDimension(), and ReloadCacheTable().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 72 of file dpshttab.cxx.
References aCacheTable, and ScDPFilteredCache::clear().
|
overridevirtual |
Reimplemented from ScDPTableData.
|
overridevirtual |
Implements ScDPTableData.
Definition at line 177 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), ScDPFilteredCache::filterByPageDimension(), and IsRepeatIfEmpty().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 201 of file dpshttab.cxx.
References aCacheTable.
Referenced by GetNumberFormat(), and IsDateDimension().
|
overridevirtual |
use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection
Implements ScDPTableData.
Definition at line 77 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), and ScDPFilteredCache::getColSize().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 83 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), ScDPFilteredCache::getColSize(), ScDPFilteredCache::getFieldName(), getIsDataLayoutDimension(), and ScResId().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 184 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), ScDPFilteredCache::filterTable(), ScDPFilteredCache::getRowSize(), and IsRepeatIfEmpty().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 150 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), and ScDPFilteredCache::getColSize().
Referenced by getDimensionName(), GetNumberFormat(), and IsDateDimension().
|
overridevirtual |
Reimplemented from ScDPTableData.
Definition at line 122 of file dpshttab.cxx.
References CreateCacheTable(), ScDPFilteredCache::getCache(), GetCacheTable(), getIsDataLayoutDimension(), and ScDPCache::GetNumberFormat().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 103 of file dpshttab.cxx.
References aCacheTable, CreateCacheTable(), ScDPFilteredCache::getCache(), GetCacheTable(), ScDPFilteredCache::getColSize(), getIsDataLayoutDimension(), and ScDPCache::IsDateDimension().
|
overridevirtual |
Reimplemented from ScDPTableData.
Definition at line 162 of file dpshttab.cxx.
References bRepeatIfEmpty.
Referenced by FilterCacheTable(), and GetDrillDownData().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 206 of file dpshttab.cxx.
References aCacheTable, ScDPFilteredCache::clear(), and CreateCacheTable().
|
overridevirtual |
Implements ScDPTableData.
Definition at line 156 of file dpshttab.cxx.
References bIgnoreEmptyRows, and bRepeatIfEmpty.
|
private |
Definition at line 93 of file dpshttab.hxx.
Referenced by CalcResults(), CreateCacheTable(), DisposeData(), FilterCacheTable(), GetCacheTable(), GetColumnCount(), getDimensionName(), GetDrillDownData(), getIsDataLayoutDimension(), IsDateDimension(), and ReloadCacheTable().
|
private |
Definition at line 89 of file dpshttab.hxx.
Referenced by CreateCacheTable(), and ScSheetDPData().
|
private |
Definition at line 90 of file dpshttab.hxx.
Referenced by CreateCacheTable(), and SetEmptyFlags().
|
private |
Definition at line 91 of file dpshttab.hxx.
Referenced by CreateCacheTable(), IsRepeatIfEmpty(), and SetEmptyFlags().