LibreOffice Module sc (master) 1
|
#include <dptabsrc.hxx>
Public Member Functions | |
ScDPLevel (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier, sal_Int32 nLevel) | |
virtual | ~ScDPLevel () override |
ScDPMembers * | GetMembersObject () |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::sheet::XMembersAccess > SAL_CALL | getMembers () override |
virtual css::uno::Sequence< css::sheet::MemberResult > SAL_CALL | getResults () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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 |
css::uno::Sequence< sal_Int16 > | getSubTotals () const |
bool | getShowEmpty () const |
bool | getRepeatItemLabels () const |
const css::sheet::DataPilotFieldSortInfo & | GetSortInfo () const |
const css::sheet::DataPilotFieldAutoShowInfo & | GetAutoShow () const |
void | EvaluateSortOrder () |
void | SetEnableLayout (bool bSet) |
const ::std::vector< sal_Int32 > & | GetGlobalOrder () const |
::std::vector< sal_Int32 > & | GetGlobalOrder () |
sal_Int32 | GetSortMeasure () const |
sal_Int32 | GetAutoMeasure () const |
bool | IsOutlineLayout () const |
bool | IsSubtotalsAtTop () const |
bool | IsAddEmpty () const |
Private Attributes | |
ScDPSource * | pSource |
sal_Int32 | nDim |
sal_Int32 | nHier |
sal_Int32 | nLev |
rtl::Reference< ScDPMembers > | mxMembers |
css::uno::Sequence< sal_Int16 > | aSubTotals |
css::sheet::DataPilotFieldSortInfo | aSortInfo |
css::sheet::DataPilotFieldAutoShowInfo | aAutoShowInfo |
css::sheet::DataPilotFieldLayoutInfo | aLayoutInfo |
::std::vector< sal_Int32 > | aGlobalOrder |
sal_Int32 | nSortMeasure |
sal_Int32 | nAutoMeasure |
bool | bShowEmpty:1 |
bool | bEnableLayout:1 |
bool | bRepeatItemLabels:1 |
Definition at line 442 of file dptabsrc.hxx.
ScDPLevel::ScDPLevel | ( | ScDPSource * | pSrc, |
sal_Int32 | nDim, | ||
sal_Int32 | nHier, | ||
sal_Int32 | nLevel | ||
) |
Definition at line 1876 of file dptabsrc.cxx.
References NAME.
|
overridevirtual |
Definition at line 1892 of file dptabsrc.cxx.
|
overridevirtual |
|
overridevirtual |
void ScDPLevel::EvaluateSortOrder | ( | ) |
Definition at line 1897 of file dptabsrc.cxx.
References aAutoShowInfo, aGlobalOrder, aSortInfo, ScDPMembers::getCount(), ScDPSource::GetDataDimensionCount(), ScDPSource::GetDataDimName(), GetMembersObject(), nAutoMeasure, nCount, nPos, nSortMeasure, and pSource.
Referenced by ScDPSource::FillCalcInfo(), and ScDPMembers::getElementNames().
|
inline |
Definition at line 519 of file dptabsrc.hxx.
References nAutoMeasure.
Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
inline |
Definition at line 511 of file dptabsrc.hxx.
References aAutoShowInfo.
Referenced by ScDPSource::FillCalcInfo(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
inline |
Definition at line 517 of file dptabsrc.hxx.
References aGlobalOrder.
|
inline |
Definition at line 516 of file dptabsrc.hxx.
References aGlobalOrder.
Referenced by ScDPResultData::GetDimResultMembers(), ScDPMembers::getElementNames(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
overridevirtual |
|
overridevirtual |
Definition at line 1968 of file dptabsrc.cxx.
References GetMembersObject().
ScDPMembers * ScDPLevel::GetMembersObject | ( | ) |
Definition at line 1959 of file dptabsrc.cxx.
References mxMembers, nDim, nHier, nLev, and pSource.
Referenced by ScDPSource::CreateRes_Impl(), EvaluateSortOrder(), ScDPSource::FillCalcInfo(), ScDPResultData::GetDimResultMembers(), getMembers(), ScDPDimension::GetSelectedData(), ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
overridevirtual |
Definition at line 1982 of file dptabsrc.cxx.
References ScDPDimensions::getByIndex(), ScDPSource::GetDimensionsObject(), ScDPDimension::getName(), ScDPSource::GetSourceDim(), ScDPSource::IsDateDimension(), nDim, nHier, nLev, pSource, 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 ScDPLevels::getElementNames().
|
overridevirtual |
Definition at line 2057 of file dptabsrc.cxx.
References cppu::UnoType< typename T >::get(), SC_UNO_DP_AUTOSHOW, SC_UNO_DP_LAYOUT, SC_UNO_DP_REPEATITEMLABELS, SC_UNO_DP_SHOWEMPTY, SC_UNO_DP_SORTING, SC_UNO_DP_SUBTOTAL, and SC_UNO_DP_SUBTOTAL2.
|
overridevirtual |
Definition at line 2104 of file dptabsrc.cxx.
References aAutoShowInfo, aLayoutInfo, aSeq, aSortInfo, bRepeatItemLabels, bShowEmpty, ScDPDimensions::getByIndex(), ScDPSource::GetDimensionsObject(), ScDPDimension::GetLayoutName(), ScDPSource::GetSourceDim(), getSubTotals(), nDim, pSource, SC_UNO_DP_AUTOSHOW, SC_UNO_DP_LAYOUT, SC_UNO_DP_LAYOUTNAME, SC_UNO_DP_REPEATITEMLABELS, SC_UNO_DP_SHOWEMPTY, SC_UNO_DP_SORTING, SC_UNO_DP_SUBTOTAL, and SC_UNO_DP_SUBTOTAL2.
|
inline |
Definition at line 508 of file dptabsrc.hxx.
References bRepeatItemLabels.
Referenced by ScDPResultMember::FillMemberResults().
|
overridevirtual |
Definition at line 1973 of file dptabsrc.cxx.
References ScDPSource::GetMemberResults(), and pSource.
|
inline |
Definition at line 507 of file dptabsrc.hxx.
References bShowEmpty.
Referenced by ScDPResultMember::CheckShowEmpty(), ScDPResultMember::IsVisible(), and ScDPResultDimension::LateInitFrom().
|
inline |
Definition at line 510 of file dptabsrc.hxx.
References aSortInfo.
Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
|
inline |
Definition at line 518 of file dptabsrc.hxx.
References nSortMeasure.
Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().
uno::Sequence< sal_Int16 > ScDPLevel::getSubTotals | ( | ) | const |
Definition at line 2044 of file dptabsrc.cxx.
References aSubTotals, ScDPSource::GetSourceDim(), nDim, pSource, and ScDPSource::SubTotalAllowed().
Referenced by getPropertyValue(), ScDPResultMember::GetSubTotalCount(), and lcl_GetForceFunc().
|
overridevirtual |
|
inline |
Definition at line 537 of file dptabsrc.hxx.
References aLayoutInfo, and bEnableLayout.
Referenced by ScDPResultMember::FillDataResults(), ScDPDataMember::FillDataRow(), ScDPResultMember::FillMemberResults(), and ScDPResultMember::GetSize().
|
inline |
Definition at line 521 of file dptabsrc.hxx.
References aLayoutInfo, and bEnableLayout.
Referenced by ScDPResultMember::FillDataResults(), ScDPDataMember::FillDataRow(), ScDPResultMember::FillMemberResults(), and ScDPResultMember::GetSize().
|
inline |
Definition at line 528 of file dptabsrc.hxx.
References aLayoutInfo, and bEnableLayout.
|
overridevirtual |
|
overridevirtual |
void ScDPLevel::SetEnableLayout | ( | bool | bSet | ) |
Definition at line 1954 of file dptabsrc.cxx.
References bEnableLayout.
Referenced by ScDPSource::FillCalcInfo().
|
overridevirtual |
Definition at line 2039 of file dptabsrc.cxx.
|
overridevirtual |
Definition at line 2075 of file dptabsrc.cxx.
References aAutoShowInfo, aLayoutInfo, aSeq, aSortInfo, aSubTotals, bRepeatItemLabels, bShowEmpty, lcl_GetBoolFromAny(), SC_UNO_DP_AUTOSHOW, SC_UNO_DP_LAYOUT, SC_UNO_DP_REPEATITEMLABELS, SC_UNO_DP_SHOWEMPTY, SC_UNO_DP_SORTING, SC_UNO_DP_SUBTOTAL, and SC_UNO_DP_SUBTOTAL2.
|
overridevirtual |
|
private |
Definition at line 457 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), GetAutoShow(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 460 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), and GetGlobalOrder().
|
private |
Definition at line 458 of file dptabsrc.hxx.
Referenced by getPropertyValue(), IsAddEmpty(), IsOutlineLayout(), IsSubtotalsAtTop(), and setPropertyValue().
|
private |
Definition at line 456 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), getPropertyValue(), GetSortInfo(), and setPropertyValue().
|
private |
Definition at line 455 of file dptabsrc.hxx.
Referenced by getSubTotals(), and setPropertyValue().
|
private |
Definition at line 464 of file dptabsrc.hxx.
Referenced by IsAddEmpty(), IsOutlineLayout(), IsSubtotalsAtTop(), and SetEnableLayout().
|
private |
Definition at line 465 of file dptabsrc.hxx.
Referenced by getPropertyValue(), getRepeatItemLabels(), and setPropertyValue().
|
private |
Definition at line 463 of file dptabsrc.hxx.
Referenced by getPropertyValue(), getShowEmpty(), and setPropertyValue().
|
private |
Definition at line 454 of file dptabsrc.hxx.
Referenced by GetMembersObject().
|
private |
Definition at line 462 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), and GetAutoMeasure().
|
private |
Definition at line 451 of file dptabsrc.hxx.
Referenced by GetMembersObject(), getName(), getPropertyValue(), and getSubTotals().
|
private |
Definition at line 452 of file dptabsrc.hxx.
Referenced by GetMembersObject(), and getName().
|
private |
Definition at line 453 of file dptabsrc.hxx.
Referenced by GetMembersObject(), and getName().
|
private |
Definition at line 461 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), and GetSortMeasure().
|
private |
Definition at line 450 of file dptabsrc.hxx.
Referenced by EvaluateSortOrder(), GetMembersObject(), getName(), getPropertyValue(), getResults(), and getSubTotals().