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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPLevel (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier, sal_Int32 nLevel)
 
virtual ~ScDPLevel () override
 
ScDPMembersGetMembersObject ()
 
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

ScDPSourcepSource
 
sal_Int32 nDim
 
sal_Int32 nHier
 
sal_Int32 nLev
 
rtl::Reference< ScDPMembersmxMembers
 
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
 

Detailed Description

Definition at line 442 of file dptabsrc.hxx.

Constructor & Destructor Documentation

◆ ScDPLevel()

ScDPLevel::ScDPLevel ( ScDPSource pSrc,
sal_Int32  nDim,
sal_Int32  nHier,
sal_Int32  nLevel 
)

Definition at line 1878 of file dptabsrc.cxx.

References NAME.

◆ ~ScDPLevel()

ScDPLevel::~ScDPLevel ( )
overridevirtual

Definition at line 1894 of file dptabsrc.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScDPLevel::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScDPLevel::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ EvaluateSortOrder()

void ScDPLevel::EvaluateSortOrder ( )

◆ GetAutoMeasure()

sal_Int32 ScDPLevel::GetAutoMeasure ( ) const
inline

Definition at line 519 of file dptabsrc.hxx.

References nAutoMeasure.

Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().

◆ GetAutoShow()

const css::sheet::DataPilotFieldAutoShowInfo & ScDPLevel::GetAutoShow ( ) const
inline

◆ GetGlobalOrder() [1/2]

::std::vector< sal_Int32 > & ScDPLevel::GetGlobalOrder ( )
inline

Definition at line 517 of file dptabsrc.hxx.

References aGlobalOrder.

◆ GetGlobalOrder() [2/2]

const ::std::vector< sal_Int32 > & ScDPLevel::GetGlobalOrder ( ) const
inline

◆ getImplementationName()

virtual OUString SAL_CALL ScDPLevel::getImplementationName ( )
overridevirtual

◆ getMembers()

uno::Reference< sheet::XMembersAccess > SAL_CALL ScDPLevel::getMembers ( )
overridevirtual

Definition at line 1970 of file dptabsrc.cxx.

References GetMembersObject().

◆ GetMembersObject()

ScDPMembers * ScDPLevel::GetMembersObject ( )

◆ getName()

OUString SAL_CALL ScDPLevel::getName ( )
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDPLevel::getPropertySetInfo ( )
overridevirtual

◆ getPropertyValue()

uno::Any SAL_CALL ScDPLevel::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getRepeatItemLabels()

bool ScDPLevel::getRepeatItemLabels ( ) const
inline

Definition at line 508 of file dptabsrc.hxx.

References bRepeatItemLabels.

Referenced by ScDPResultMember::FillMemberResults().

◆ getResults()

uno::Sequence< sheet::MemberResult > SAL_CALL ScDPLevel::getResults ( )
overridevirtual

Definition at line 1975 of file dptabsrc.cxx.

References ScDPSource::GetMemberResults(), and pSource.

◆ getShowEmpty()

bool ScDPLevel::getShowEmpty ( ) const
inline

◆ GetSortInfo()

const css::sheet::DataPilotFieldSortInfo & ScDPLevel::GetSortInfo ( ) const
inline

Definition at line 510 of file dptabsrc.hxx.

References aSortInfo.

Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().

◆ GetSortMeasure()

sal_Int32 ScDPLevel::GetSortMeasure ( ) const
inline

Definition at line 518 of file dptabsrc.hxx.

References nSortMeasure.

Referenced by ScDPResultDimension::InitFrom(), and ScDPResultDimension::LateInitFrom().

◆ getSubTotals()

uno::Sequence< sal_Int16 > ScDPLevel::getSubTotals ( ) const

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScDPLevel::getSupportedServiceNames ( )
overridevirtual

◆ IsAddEmpty()

bool ScDPLevel::IsAddEmpty ( ) const
inline

◆ IsOutlineLayout()

bool ScDPLevel::IsOutlineLayout ( ) const
inline

◆ IsSubtotalsAtTop()

bool ScDPLevel::IsSubtotalsAtTop ( ) const
inline

Definition at line 528 of file dptabsrc.hxx.

References aLayoutInfo, and bEnableLayout.

◆ removePropertyChangeListener()

virtual void SAL_CALL ScDPLevel::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScDPLevel::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ SetEnableLayout()

void ScDPLevel::SetEnableLayout ( bool  bSet)

Definition at line 1956 of file dptabsrc.cxx.

References bEnableLayout.

Referenced by ScDPSource::FillCalcInfo().

◆ setName()

void SAL_CALL ScDPLevel::setName ( const OUString &  aName)
overridevirtual

Definition at line 2041 of file dptabsrc.cxx.

◆ setPropertyValue()

void SAL_CALL ScDPLevel::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScDPLevel::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aAutoShowInfo

css::sheet::DataPilotFieldAutoShowInfo ScDPLevel::aAutoShowInfo
private

Definition at line 457 of file dptabsrc.hxx.

Referenced by EvaluateSortOrder(), GetAutoShow(), getPropertyValue(), and setPropertyValue().

◆ aGlobalOrder

::std::vector<sal_Int32> ScDPLevel::aGlobalOrder
private

Definition at line 460 of file dptabsrc.hxx.

Referenced by EvaluateSortOrder(), and GetGlobalOrder().

◆ aLayoutInfo

css::sheet::DataPilotFieldLayoutInfo ScDPLevel::aLayoutInfo
private

◆ aSortInfo

css::sheet::DataPilotFieldSortInfo ScDPLevel::aSortInfo
private

Definition at line 456 of file dptabsrc.hxx.

Referenced by EvaluateSortOrder(), getPropertyValue(), GetSortInfo(), and setPropertyValue().

◆ aSubTotals

css::uno::Sequence<sal_Int16> ScDPLevel::aSubTotals
private

Definition at line 455 of file dptabsrc.hxx.

Referenced by getSubTotals(), and setPropertyValue().

◆ bEnableLayout

bool ScDPLevel::bEnableLayout
private

Definition at line 464 of file dptabsrc.hxx.

Referenced by IsAddEmpty(), IsOutlineLayout(), IsSubtotalsAtTop(), and SetEnableLayout().

◆ bRepeatItemLabels

bool ScDPLevel::bRepeatItemLabels
private

Definition at line 465 of file dptabsrc.hxx.

Referenced by getPropertyValue(), getRepeatItemLabels(), and setPropertyValue().

◆ bShowEmpty

bool ScDPLevel::bShowEmpty
private

Definition at line 463 of file dptabsrc.hxx.

Referenced by getPropertyValue(), getShowEmpty(), and setPropertyValue().

◆ mxMembers

rtl::Reference<ScDPMembers> ScDPLevel::mxMembers
private

Definition at line 454 of file dptabsrc.hxx.

Referenced by GetMembersObject().

◆ nAutoMeasure

sal_Int32 ScDPLevel::nAutoMeasure
private

Definition at line 462 of file dptabsrc.hxx.

Referenced by EvaluateSortOrder(), and GetAutoMeasure().

◆ nDim

sal_Int32 ScDPLevel::nDim
private

Definition at line 451 of file dptabsrc.hxx.

Referenced by GetMembersObject(), getName(), getPropertyValue(), and getSubTotals().

◆ nHier

sal_Int32 ScDPLevel::nHier
private

Definition at line 452 of file dptabsrc.hxx.

Referenced by GetMembersObject(), and getName().

◆ nLev

sal_Int32 ScDPLevel::nLev
private

Definition at line 453 of file dptabsrc.hxx.

Referenced by GetMembersObject(), and getName().

◆ nSortMeasure

sal_Int32 ScDPLevel::nSortMeasure
private

Definition at line 461 of file dptabsrc.hxx.

Referenced by EvaluateSortOrder(), and GetSortMeasure().

◆ pSource

ScDPSource* ScDPLevel::pSource
private

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