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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPDimension (ScDPSource *pSrc, long nD)
 
virtual ~ScDPDimension () override
 
 ScDPDimension (const ScDPDimension &)=delete
 
ScDPDimensionoperator= (const ScDPDimension &)=delete
 
long GetDimension () const
 
long 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 long getUsedHierarchy ()
 

Private Attributes

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

Detailed Description

Definition at line 259 of file dptabsrc.hxx.

Constructor & Destructor Documentation

ScDPDimension::ScDPDimension ( ScDPSource pSrc,
long  nD 
)

Definition at line 1268 of file dptabsrc.cxx.

ScDPDimension::~ScDPDimension ( )
overridevirtual

Definition at line 1279 of file dptabsrc.cxx.

ScDPDimension::ScDPDimension ( const ScDPDimension )
delete

Member Function Documentation

virtual void SAL_CALL ScDPDimension::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScDPDimension::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
uno::Reference< util::XCloneable > SAL_CALL ScDPDimension::createClone ( )
overridevirtual

Definition at line 1352 of file dptabsrc.cxx.

References CreateCloneObject().

ScDPDimension * ScDPDimension::CreateCloneObject ( )

Definition at line 1337 of file dptabsrc.cxx.

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

Referenced by createClone().

long ScDPDimension::GetDimension ( ) const
inline
ScGeneralFunction ScDPDimension::getFunction ( ) const
inline

Definition at line 333 of file dptabsrc.hxx.

References nFunction.

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

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

Definition at line 1303 of file dptabsrc.cxx.

References GetHierarchiesObject().

ScDPHierarchies * ScDPDimension::GetHierarchiesObject ( )
virtual OUString SAL_CALL ScDPDimension::getImplementationName ( )
overridevirtual
bool ScDPDimension::getIsDataLayoutDimension ( ) const
const std::optional< OUString > & ScDPDimension::GetLayoutName ( ) const

Definition at line 1293 of file dptabsrc.cxx.

References mpLayoutName.

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

OUString SAL_CALL ScDPDimension::getName ( )
overridevirtual
sheet::DataPilotFieldOrientation ScDPDimension::getOrientation ( ) const

Definition at line 1322 of file dptabsrc.cxx.

References ScDPSource::GetOrientation(), and nDim.

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

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDPDimension::getPropertySetInfo ( )
overridevirtual
uno::Any SAL_CALL ScDPDimension::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
const css::sheet::DataPilotFieldReference& ScDPDimension::GetReferenceValue ( ) const
inline

Definition at line 340 of file dptabsrc.hxx.

References aReferenceValue.

Referenced by ScDPSource::CreateRes_Impl().

const ScDPItemData & ScDPDimension::GetSelectedData ( )
long ScDPDimension::GetSourceDim ( ) const
inline

Definition at line 289 of file dptabsrc.hxx.

References nSourceDim.

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

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

Definition at line 1298 of file dptabsrc.cxx.

References mpSubtotalName.

Referenced by ScDPResultMember::FillMemberResults().

virtual css::uno::Sequence< OUString > SAL_CALL ScDPDimension::getSupportedServiceNames ( )
overridevirtual
static long ScDPDimension::getUsedHierarchy ( )
inlinestatic
bool ScDPDimension::HasSelectedPage ( ) const
inline
ScDPDimension& ScDPDimension::operator= ( const ScDPDimension )
delete
virtual void SAL_CALL ScDPDimension::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScDPDimension::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void ScDPDimension::setFunction ( ScGeneralFunction  nNew)

Definition at line 1332 of file dptabsrc.cxx.

References nFunction.

Referenced by setPropertyValue().

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

Definition at line 1316 of file dptabsrc.cxx.

References aName.

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

Member Data Documentation

OUString ScDPDimension::aName
private

Definition at line 270 of file dptabsrc.hxx.

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

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

Definition at line 275 of file dptabsrc.hxx.

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

OUString ScDPDimension::aSelectedPage
private

Definition at line 277 of file dptabsrc.hxx.

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

bool ScDPDimension::bHasSelectedPage
private

Definition at line 276 of file dptabsrc.hxx.

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

bool ScDPDimension::mbHasHiddenMember
private

Definition at line 280 of file dptabsrc.hxx.

Referenced by getPropertyValue(), and setPropertyValue().

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

Definition at line 271 of file dptabsrc.hxx.

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

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

Definition at line 272 of file dptabsrc.hxx.

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

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

Definition at line 268 of file dptabsrc.hxx.

Referenced by GetHierarchiesObject().

long ScDPDimension::nDim
private
ScGeneralFunction ScDPDimension::nFunction
private

Definition at line 269 of file dptabsrc.hxx.

Referenced by getFunction(), and setFunction().

long ScDPDimension::nSourceDim
private

Definition at line 273 of file dptabsrc.hxx.

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

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

Definition at line 279 of file dptabsrc.hxx.

Referenced by GetSelectedData(), and setPropertyValue().

ScDPSource* ScDPDimension::pSource
private

Definition at line 266 of file dptabsrc.hxx.


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