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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPDimension (ScDPSource *pSrc, tools::Long nD)
 
virtual ~ScDPDimension () override
 
 ScDPDimension (const ScDPDimension &)=delete
 
ScDPDimensionoperator= (const ScDPDimension &)=delete
 
sal_Int32 GetDimension () const
 
sal_Int32 GetSourceDim () const
 
ScDPDimensionCreateCloneObject ()
 
ScDPHierarchiesGetHierarchiesObject ()
 
const std::optional< OUString > & GetLayoutName () const
 
const std::optional< OUString > & GetSubtotalName () const
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getHierarchies () override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () 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::sheet::DataPilotFieldOrientation getOrientation () const
 
bool getIsDataLayoutDimension () const
 
ScGeneralFunction getFunction () const
 
void setFunction (ScGeneralFunction nNew)
 
bool HasSelectedPage () const
 
const ScDPItemDataGetSelectedData ()
 
const css::sheet::DataPilotFieldReference & GetReferenceValue () const
 

Static Public Member Functions

static tools::Long getUsedHierarchy ()
 

Private Attributes

ScDPSourcepSource
 
sal_Int32 nDim
 
rtl::Reference< ScDPHierarchiesmxHierarchies
 
ScGeneralFunction nFunction
 
OUString aName
 
std::optional< OUString > mpLayoutName
 
std::optional< OUString > mpSubtotalName
 
sal_Int32 nSourceDim
 
css::sheet::DataPilotFieldReference aReferenceValue
 
bool bHasSelectedPage
 
OUString aSelectedPage
 
std::unique_ptr< ScDPItemDatapSelectedData
 
bool mbHasHiddenMember
 

Detailed Description

Definition at line 258 of file dptabsrc.hxx.

Constructor & Destructor Documentation

◆ ScDPDimension() [1/2]

ScDPDimension::ScDPDimension ( ScDPSource pSrc,
tools::Long  nD 
)

Definition at line 1263 of file dptabsrc.cxx.

◆ ~ScDPDimension()

ScDPDimension::~ScDPDimension ( )
overridevirtual

Definition at line 1274 of file dptabsrc.cxx.

◆ ScDPDimension() [2/2]

ScDPDimension::ScDPDimension ( const ScDPDimension )
delete

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ createClone()

uno::Reference< util::XCloneable > SAL_CALL ScDPDimension::createClone ( )
overridevirtual

Definition at line 1347 of file dptabsrc.cxx.

References CreateCloneObject().

◆ CreateCloneObject()

ScDPDimension * ScDPDimension::CreateCloneObject ( )

Definition at line 1332 of file dptabsrc.cxx.

References ScDPSource::AddDuplicated(), aName, nDim, nSourceDim, and pSource.

Referenced by createClone().

◆ GetDimension()

sal_Int32 ScDPDimension::GetDimension ( ) const
inline

◆ getFunction()

ScGeneralFunction ScDPDimension::getFunction ( ) const
inline

Definition at line 332 of file dptabsrc.hxx.

References nFunction.

Referenced by ScDPSource::CreateRes_Impl(), and getPropertyValue().

◆ getHierarchies()

uno::Reference< container::XNameAccess > SAL_CALL ScDPDimension::getHierarchies ( )
overridevirtual

Definition at line 1298 of file dptabsrc.cxx.

References GetHierarchiesObject().

◆ GetHierarchiesObject()

ScDPHierarchies * ScDPDimension::GetHierarchiesObject ( )

◆ getImplementationName()

virtual OUString SAL_CALL ScDPDimension::getImplementationName ( )
overridevirtual

◆ getIsDataLayoutDimension()

bool ScDPDimension::getIsDataLayoutDimension ( ) const

◆ GetLayoutName()

const std::optional< OUString > & ScDPDimension::GetLayoutName ( ) const

Definition at line 1288 of file dptabsrc.cxx.

References mpLayoutName.

Referenced by ScDPResultData::GetMeasureString(), and ScDPLevel::getPropertyValue().

◆ getName()

OUString SAL_CALL ScDPDimension::getName ( )
overridevirtual

◆ getOrientation()

sheet::DataPilotFieldOrientation ScDPDimension::getOrientation ( ) const

Definition at line 1317 of file dptabsrc.cxx.

References ScDPSource::GetOrientation(), nDim, and pSource.

Referenced by ScDPSource::FillLevelList(), and getPropertyValue().

◆ getPropertySetInfo()

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

◆ getPropertyValue()

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

◆ GetReferenceValue()

const css::sheet::DataPilotFieldReference & ScDPDimension::GetReferenceValue ( ) const
inline

Definition at line 339 of file dptabsrc.hxx.

References aReferenceValue.

Referenced by ScDPSource::CreateRes_Impl().

◆ GetSelectedData()

const ScDPItemData & ScDPDimension::GetSelectedData ( )

◆ GetSourceDim()

sal_Int32 ScDPDimension::GetSourceDim ( ) const
inline

Definition at line 288 of file dptabsrc.hxx.

References nSourceDim.

Referenced by ScDPSource::CreateRes_Impl(), and ScDPSource::GetSourceDim().

◆ GetSubtotalName()

const std::optional< OUString > & ScDPDimension::GetSubtotalName ( ) const

Definition at line 1293 of file dptabsrc.cxx.

References mpSubtotalName.

Referenced by ScDPResultMember::FillMemberResults().

◆ getSupportedServiceNames()

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

◆ getUsedHierarchy()

static tools::Long ScDPDimension::getUsedHierarchy ( )
inlinestatic

◆ HasSelectedPage()

bool ScDPDimension::HasSelectedPage ( ) const
inline

◆ operator=()

ScDPDimension & ScDPDimension::operator= ( const ScDPDimension )
delete

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setFunction()

void ScDPDimension::setFunction ( ScGeneralFunction  nNew)

Definition at line 1327 of file dptabsrc.cxx.

References nFunction.

Referenced by setPropertyValue().

◆ setName()

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

Definition at line 1311 of file dptabsrc.cxx.

References aName.

◆ setPropertyValue()

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

◆ supportsService()

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

Member Data Documentation

◆ aName

OUString ScDPDimension::aName
private

Definition at line 269 of file dptabsrc.hxx.

Referenced by CreateCloneObject(), getName(), and setName().

◆ aReferenceValue

css::sheet::DataPilotFieldReference ScDPDimension::aReferenceValue
private

Definition at line 274 of file dptabsrc.hxx.

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

◆ aSelectedPage

OUString ScDPDimension::aSelectedPage
private

Definition at line 276 of file dptabsrc.hxx.

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

◆ bHasSelectedPage

bool ScDPDimension::bHasSelectedPage
private

Definition at line 275 of file dptabsrc.hxx.

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

◆ mbHasHiddenMember

bool ScDPDimension::mbHasHiddenMember
private

Definition at line 279 of file dptabsrc.hxx.

Referenced by getPropertyValue(), and setPropertyValue().

◆ mpLayoutName

std::optional<OUString> ScDPDimension::mpLayoutName
private

Definition at line 270 of file dptabsrc.hxx.

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

◆ mpSubtotalName

std::optional<OUString> ScDPDimension::mpSubtotalName
private

Definition at line 271 of file dptabsrc.hxx.

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

◆ mxHierarchies

rtl::Reference<ScDPHierarchies> ScDPDimension::mxHierarchies
private

Definition at line 267 of file dptabsrc.hxx.

Referenced by GetHierarchiesObject().

◆ nDim

sal_Int32 ScDPDimension::nDim
private

◆ nFunction

ScGeneralFunction ScDPDimension::nFunction
private

Definition at line 268 of file dptabsrc.hxx.

Referenced by getFunction(), and setFunction().

◆ nSourceDim

sal_Int32 ScDPDimension::nSourceDim
private

Definition at line 272 of file dptabsrc.hxx.

Referenced by CreateCloneObject(), getPropertyValue(), and GetSourceDim().

◆ pSelectedData

std::unique_ptr<ScDPItemData> ScDPDimension::pSelectedData
private

Definition at line 278 of file dptabsrc.hxx.

Referenced by GetSelectedData(), and setPropertyValue().

◆ pSource

ScDPSource* ScDPDimension::pSource
private

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