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

Implementation of a single DataPilot field. More...

#include <dapiuno.hxx>

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

Public Member Functions

 ScDataPilotFieldObj (ScDataPilotDescriptorBase &rParent, const ScFieldIdentifier &rIdent)
 
 ScDataPilotFieldObj (ScDataPilotDescriptorBase &rParent, const ScFieldIdentifier &rIdent, css::uno::Any aOrient)
 
virtual ~ScDataPilotFieldObj () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) 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 css::uno::Reference< css::container::XIndexAccess > SAL_CALL getItems () override
 
css::sheet::DataPilotFieldOrientation getOrientation () const
 
void setOrientation (css::sheet::DataPilotFieldOrientation Orientation)
 
sal_Int16 getFunction () const
 
void setFunction (ScGeneralFunction Function)
 
css::uno::Sequence< sal_Int16 > getSubtotals () const
 
void setSubtotals (const std::vector< ScGeneralFunction > &rFunctions)
 
void setCurrentPage (const OUString &sPage)
 
void setUseCurrentPage (bool bUse)
 
const css::sheet::DataPilotFieldAutoShowInfo * getAutoShowInfo () const
 
void setAutoShowInfo (const css::sheet::DataPilotFieldAutoShowInfo *pInfo)
 
const css::sheet::DataPilotFieldLayoutInfo * getLayoutInfo () const
 
void setLayoutInfo (const css::sheet::DataPilotFieldLayoutInfo *pInfo)
 
const css::sheet::DataPilotFieldReference * getReference () const
 
void setReference (const css::sheet::DataPilotFieldReference *pInfo)
 
const css::sheet::DataPilotFieldSortInfo * getSortInfo () const
 
void setSortInfo (const css::sheet::DataPilotFieldSortInfo *pInfo)
 
bool getShowEmpty () const
 
void setShowEmpty (bool bShow)
 
bool getRepeatItemLabels () const
 
void setRepeatItemLabels (bool bShow)
 
bool hasGroupInfo () const
 
css::sheet::DataPilotFieldGroupInfo getGroupInfo ()
 
void setGroupInfo (const css::sheet::DataPilotFieldGroupInfo *pInfo)
 
virtual css::uno::Reference< css::sheet::XDataPilotField > SAL_CALL createNameGroup (const css::uno::Sequence< OUString > &aItems) override
 
virtual css::uno::Reference< css::sheet::XDataPilotField > SAL_CALL createDateGroup (const css::sheet::DataPilotFieldGroupInfo &rInfo) 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
 

Private Attributes

css::uno::Reference< css::container::XIndexAccess > mxItems
 
SfxItemPropertySet maPropSet
 
css::uno::Any maOrient
 

Additional Inherited Members

- Protected Member Functions inherited from ScDataPilotChildObjBase
 ScDataPilotChildObjBase (ScDataPilotDescriptorBase &rParent)
 
 ScDataPilotChildObjBase (ScDataPilotDescriptorBase &rParent, ScFieldIdentifier aFieldId)
 
virtual ~ScDataPilotChildObjBase ()
 
ScDPObjectGetDPObject () const
 Returns the wrapped DataPilot object (calls GetDPObject() at parent). More...
 
void SetDPObject (ScDPObject *pDPObject)
 Sets the passed DataPilot object (calls SetDPObject() at parent). More...
 
ScDPSaveDimensionGetDPDimension (ScDPObject **ppDPObject=nullptr) const
 Returns the DataPilot dimension object related to the field described by maFieldId. More...
 
sal_Int32 GetMemberCount () const
 Returns the number of members for the field described by maFieldId. More...
 
css::uno::Reference< css::sheet::XMembersAccess > GetMembers () const
 Returns the collection of members for the field described by maFieldId. More...
 
ScDocShellGetDocShell () const
 
- Protected Attributes inherited from ScDataPilotChildObjBase
rtl::Reference< ScDataPilotDescriptorBasemxParent
 
ScFieldIdentifier maFieldId
 

Detailed Description

Implementation of a single DataPilot field.

Definition at line 386 of file dapiuno.hxx.

Constructor & Destructor Documentation

◆ ScDataPilotFieldObj() [1/2]

ScDataPilotFieldObj::ScDataPilotFieldObj ( ScDataPilotDescriptorBase rParent,
const ScFieldIdentifier rIdent 
)

Definition at line 1616 of file dapiuno.cxx.

◆ ScDataPilotFieldObj() [2/2]

ScDataPilotFieldObj::ScDataPilotFieldObj ( ScDataPilotDescriptorBase rParent,
const ScFieldIdentifier rIdent,
css::uno::Any  aOrient 
)

◆ ~ScDataPilotFieldObj()

ScDataPilotFieldObj::~ScDataPilotFieldObj ( )
overridevirtual

Definition at line 1631 of file dapiuno.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ createDateGroup()

Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createDateGroup ( const css::sheet::DataPilotFieldGroupInfo &  rInfo)
overridevirtual

◆ createNameGroup()

Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup ( const css::uno::Sequence< OUString > &  aItems)
overridevirtual

◆ getAutoShowInfo()

const DataPilotFieldAutoShowInfo * ScDataPilotFieldObj::getAutoShowInfo ( ) const

◆ getFunction()

sal_Int16 ScDataPilotFieldObj::getFunction ( ) const

Definition at line 1973 of file dapiuno.cxx.

References ScDataPilotChildObjBase::GetDPDimension(), and condformat::dialog::NONE.

Referenced by getPropertyValue().

◆ getGroupInfo()

DataPilotFieldGroupInfo ScDataPilotFieldObj::getGroupInfo ( )

◆ getImplementationName()

virtual OUString SAL_CALL ScDataPilotFieldObj::getImplementationName ( )
overridevirtual

◆ getItems()

Reference< XIndexAccess > SAL_CALL ScDataPilotFieldObj::getItems ( )
overridevirtual

◆ getLayoutInfo()

const DataPilotFieldLayoutInfo * ScDataPilotFieldObj::getLayoutInfo ( ) const

◆ getName()

OUString SAL_CALL ScDataPilotFieldObj::getName ( )
overridevirtual

Definition at line 1637 of file dapiuno.cxx.

References aName, ScDataPilotChildObjBase::GetDPDimension(), and SC_DATALAYOUT_NAME.

Referenced by getPropertyValue(), and setGroupInfo().

◆ getOrientation()

DataPilotFieldOrientation ScDataPilotFieldObj::getOrientation ( ) const

Definition at line 1908 of file dapiuno.cxx.

References ScDPSaveDimension::GetOrientation().

Referenced by getPropertyValue().

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL ScDataPilotFieldObj::getPropertySetInfo ( )
overridevirtual

Definition at line 1671 of file dapiuno.cxx.

References SfxItemPropertySet::getPropertyMap(), and maPropSet.

◆ getPropertyValue()

Any SAL_CALL ScDataPilotFieldObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getReference()

const DataPilotFieldReference * ScDataPilotFieldObj::getReference ( ) const

◆ getRepeatItemLabels()

bool ScDataPilotFieldObj::getRepeatItemLabels ( ) const

◆ getShowEmpty()

bool ScDataPilotFieldObj::getShowEmpty ( ) const

◆ getSortInfo()

const DataPilotFieldSortInfo * ScDataPilotFieldObj::getSortInfo ( ) const

◆ getSubtotals()

Sequence< sal_Int16 > ScDataPilotFieldObj::getSubtotals ( ) const

Definition at line 2016 of file dapiuno.cxx.

References ScDataPilotChildObjBase::GetDPDimension(), and nCount.

Referenced by getPropertyValue().

◆ getSupportedServiceNames()

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

◆ hasGroupInfo()

bool ScDataPilotFieldObj::hasGroupInfo ( ) const

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

References getOrientation().

◆ setAutoShowInfo()

void ScDataPilotFieldObj::setAutoShowInfo ( const css::sheet::DataPilotFieldAutoShowInfo *  pInfo)

◆ setCurrentPage()

void ScDataPilotFieldObj::setCurrentPage ( const OUString &  sPage)

◆ setFunction()

void ScDataPilotFieldObj::setFunction ( ScGeneralFunction  Function)

◆ setGroupInfo()

void ScDataPilotFieldObj::setGroupInfo ( const css::sheet::DataPilotFieldGroupInfo *  pInfo)

◆ setLayoutInfo()

void ScDataPilotFieldObj::setLayoutInfo ( const css::sheet::DataPilotFieldLayoutInfo *  pInfo)

◆ setName()

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

◆ setOrientation()

void ScDataPilotFieldObj::setOrientation ( css::sheet::DataPilotFieldOrientation  Orientation)

◆ setPropertyValue()

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

◆ setReference()

void ScDataPilotFieldObj::setReference ( const css::sheet::DataPilotFieldReference *  pInfo)

◆ setRepeatItemLabels()

void ScDataPilotFieldObj::setRepeatItemLabels ( bool  bShow)

◆ setShowEmpty()

void ScDataPilotFieldObj::setShowEmpty ( bool  bShow)

◆ setSortInfo()

void ScDataPilotFieldObj::setSortInfo ( const css::sheet::DataPilotFieldSortInfo *  pInfo)

◆ setSubtotals()

void ScDataPilotFieldObj::setSubtotals ( const std::vector< ScGeneralFunction > &  rFunctions)

◆ setUseCurrentPage()

void ScDataPilotFieldObj::setUseCurrentPage ( bool  bUse)

◆ supportsService()

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

Member Data Documentation

◆ maOrient

css::uno::Any ScDataPilotFieldObj::maOrient
private

Definition at line 464 of file dapiuno.hxx.

Referenced by setOrientation().

◆ maPropSet

SfxItemPropertySet ScDataPilotFieldObj::maPropSet
private

Definition at line 463 of file dapiuno.hxx.

Referenced by getPropertySetInfo().

◆ mxItems

css::uno::Reference< css::container::XIndexAccess > ScDataPilotFieldObj::mxItems
private

Definition at line 462 of file dapiuno.hxx.

Referenced by getItems().


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