LibreOffice Module sc (master) 1
|
#include <dptabsrc.hxx>
Public Member Functions | |
ScDPMembers (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier, sal_Int32 nLev) | |
virtual | ~ScDPMembers () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getLocaleIndependentElementNames () override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
sal_Int32 | getCount () const |
ScDPMember * | getByIndex (sal_Int32 nIndex) const |
sal_Int32 | getMinMembers () const |
sal_Int32 | GetIndexFromName (const OUString &rName) const |
const ScDPItemData * | GetSrcItemDataByIndex (SCROW nIndex) |
Private Types | |
typedef std::vector< rtl::Reference< ScDPMember > > | MembersType |
Private Member Functions | |
css::uno::Sequence< OUString > | getElementNames (bool bLocaleIndependent) const |
Private Attributes | |
ScDPSource * | pSource |
sal_Int32 | nDim |
sal_Int32 | nHier |
sal_Int32 | nLev |
sal_Int32 | nMbrCount |
MembersType | maMembers |
ScDPMembersHashMap | aHashMap |
Definition at line 548 of file dptabsrc.hxx.
|
private |
Definition at line 553 of file dptabsrc.hxx.
ScDPMembers::ScDPMembers | ( | ScDPSource * | pSrc, |
sal_Int32 | nDim, | ||
sal_Int32 | nHier, | ||
sal_Int32 | nLev | ||
) |
Definition at line 2158 of file dptabsrc.cxx.
References ScDPTableData::GetColumnEntries(), ScDPSource::GetData(), ScDPSource::GetDataDimensionCount(), ScDPTableData::GetDatePart(), ScDPTableData::GetMembersCount(), ScDPSource::GetSourceDim(), ScDPItemData::GetValue(), ScDPSource::IsDataLayoutDimension(), ScDPSource::IsDateDimension(), n, pData, SC_DAPI_HIERARCHY_FLAT, SC_DAPI_HIERARCHY_QUARTER, SC_DAPI_HIERARCHY_WEEK, SC_DAPI_LEVEL_DAY, SC_DAPI_LEVEL_MONTH, SC_DAPI_LEVEL_QUARTER, SC_DAPI_LEVEL_WEEK, SC_DAPI_LEVEL_WEEKDAY, and SC_DAPI_LEVEL_YEAR.
|
overridevirtual |
Definition at line 2232 of file dptabsrc.cxx.
ScDPMember * ScDPMembers::getByIndex | ( | sal_Int32 | nIndex | ) | const |
Definition at line 2338 of file dptabsrc.cxx.
References aData, aName, ScDPSource::GetCache(), ScGlobal::GetCalendar(), ScDPTableData::GetColumnEntries(), ScDPSource::GetData(), ScDPTableData::GetDatePart(), CalendarWrapper::getDisplayName(), ScDPCache::GetIdByItemData(), ScDPTableData::GetMemberByIndex(), ScDPSource::GetSourceDim(), ScDPItemData::GetValue(), ScDPSource::IsDataLayoutDimension(), ScDPSource::IsDateDimension(), maMembers, nDim, nHier, nId, nIndex, nLev, nMbrCount, pSource, SC_DAPI_HIERARCHY_FLAT, SC_DAPI_HIERARCHY_QUARTER, SC_DAPI_HIERARCHY_WEEK, SC_DAPI_LEVEL_DAY, SC_DAPI_LEVEL_MONTH, SC_DAPI_LEVEL_QUARTER, SC_DAPI_LEVEL_WEEK, SC_DAPI_LEVEL_WEEKDAY, and SC_DAPI_LEVEL_YEAR.
Referenced by ScDPSource::FilterCacheByPageDimensions(), getByName(), ScDPResultData::GetDimResultMembers(), ScDPSource::getDrillDownData(), getElementNames(), GetIndexFromName(), ScDPDimension::GetSelectedData(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
overridevirtual |
Definition at line 2256 of file dptabsrc.cxx.
References aName, getByIndex(), GetIndexFromName(), and nIndex.
|
inline |
Definition at line 583 of file dptabsrc.hxx.
References nMbrCount.
Referenced by ScDPLevel::EvaluateSortOrder(), ScDPResultVisibilityData::fillFieldFilters(), ScDPSource::FilterCacheByPageDimensions(), ScDPResultData::GetDimResultMembers(), getElementNames(), GetIndexFromName(), ScDPDimension::GetSelectedData(), hasElements(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
overridevirtual |
Definition at line 2270 of file dptabsrc.cxx.
References getElementNames().
Referenced by getElementNames(), and getLocaleIndependentElementNames().
|
private |
css::uno::RuntimeException |
Definition at line 2301 of file dptabsrc.cxx.
References aSeq, ScDPLevel::EvaluateSortOrder(), getByIndex(), ScDPDimensions::getByIndex(), getCount(), ScDPSource::GetDimensionsObject(), ScDPLevel::GetGlobalOrder(), ScDPMember::GetNameStr(), i, nCount, nDim, nHier, nLev, and pSource.
|
overridevirtual |
Definition at line 2280 of file dptabsrc.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
sal_Int32 ScDPMembers::GetIndexFromName | ( | const OUString & | rName | ) | const |
Definition at line 2238 of file dptabsrc.cxx.
References aHashMap, getByIndex(), getCount(), ScDPMember::getName(), i, and nCount.
Referenced by getByName(), ScDPSource::getDrillDownData(), and hasByName().
|
overridevirtual |
Definition at line 2294 of file dptabsrc.cxx.
References getElementNames().
sal_Int32 ScDPMembers::getMinMembers | ( | ) | const |
Definition at line 2321 of file dptabsrc.cxx.
const ScDPItemData * ScDPMembers::GetSrcItemDataByIndex | ( | SCROW | nIndex | ) |
Definition at line 2600 of file dptabsrc.cxx.
References ScDPTableData::GetColumnEntries(), ScDPSource::GetData(), ScDPSource::GetItemDataById(), o3tl::make_unsigned(), nDim, nId, nIndex, and pSource.
|
overridevirtual |
|
overridevirtual |
Definition at line 2275 of file dptabsrc.cxx.
References aName, and GetIndexFromName().
|
overridevirtual |
Definition at line 2285 of file dptabsrc.cxx.
References getCount().
|
overridevirtual |
|
mutableprivate |
Definition at line 560 of file dptabsrc.hxx.
Referenced by GetIndexFromName().
|
mutableprivate |
Definition at line 559 of file dptabsrc.hxx.
Referenced by getByIndex(), and getMinMembers().
|
private |
Definition at line 555 of file dptabsrc.hxx.
Referenced by getByIndex(), getElementNames(), and GetSrcItemDataByIndex().
|
private |
Definition at line 556 of file dptabsrc.hxx.
Referenced by getByIndex(), and getElementNames().
|
private |
Definition at line 557 of file dptabsrc.hxx.
Referenced by getByIndex(), and getElementNames().
|
private |
Definition at line 558 of file dptabsrc.hxx.
Referenced by getByIndex(), getCount(), and getMinMembers().
|
private |
Definition at line 554 of file dptabsrc.hxx.
Referenced by getByIndex(), getElementNames(), and GetSrcItemDataByIndex().