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

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, const css::uno::Any &rOrient)
 
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, const ScFieldIdentifier &rFieldId)
 
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 395 of file dapiuno.hxx.

Constructor & Destructor Documentation

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

Definition at line 1642 of file dapiuno.cxx.

ScDataPilotFieldObj::ScDataPilotFieldObj ( ScDataPilotDescriptorBase rParent,
const ScFieldIdentifier rIdent,
const css::uno::Any &  rOrient 
)
ScDataPilotFieldObj::~ScDataPilotFieldObj ( )
overridevirtual

Definition at line 1657 of file dapiuno.cxx.

Member Function Documentation

virtual void SAL_CALL ScDataPilotFieldObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScDataPilotFieldObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createDateGroup ( const css::sheet::DataPilotFieldGroupInfo &  rInfo)
overridevirtual
Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup ( const css::uno::Sequence< OUString > &  aItems)
overridevirtual
const DataPilotFieldAutoShowInfo * ScDataPilotFieldObj::getAutoShowInfo ( ) const
sal_Int16 ScDataPilotFieldObj::getFunction ( ) const

Definition at line 1999 of file dapiuno.cxx.

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

Referenced by getPropertyValue().

DataPilotFieldGroupInfo ScDataPilotFieldObj::getGroupInfo ( )
virtual OUString SAL_CALL ScDataPilotFieldObj::getImplementationName ( )
overridevirtual
Reference< XIndexAccess > SAL_CALL ScDataPilotFieldObj::getItems ( )
overridevirtual
const DataPilotFieldLayoutInfo * ScDataPilotFieldObj::getLayoutInfo ( ) const
OUString SAL_CALL ScDataPilotFieldObj::getName ( )
overridevirtual

Definition at line 1663 of file dapiuno.cxx.

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

Referenced by getPropertyValue(), and setGroupInfo().

DataPilotFieldOrientation ScDataPilotFieldObj::getOrientation ( ) const

Definition at line 1934 of file dapiuno.cxx.

References ScDPSaveDimension::GetOrientation().

Referenced by getPropertyValue().

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

Definition at line 1696 of file dapiuno.cxx.

References SfxItemPropertySet::getPropertyMap(), and maPropSet.

Any SAL_CALL ScDataPilotFieldObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
const DataPilotFieldReference * ScDataPilotFieldObj::getReference ( ) const
bool ScDataPilotFieldObj::getRepeatItemLabels ( ) const
bool ScDataPilotFieldObj::getShowEmpty ( ) const
const DataPilotFieldSortInfo * ScDataPilotFieldObj::getSortInfo ( ) const
Sequence< sal_Int16 > ScDataPilotFieldObj::getSubtotals ( ) const

Definition at line 2042 of file dapiuno.cxx.

References ScDataPilotChildObjBase::GetDPDimension(), and nCount.

Referenced by getPropertyValue().

virtual css::uno::Sequence< OUString > SAL_CALL ScDataPilotFieldObj::getSupportedServiceNames ( )
overridevirtual
bool ScDataPilotFieldObj::hasGroupInfo ( ) const
virtual void SAL_CALL ScDataPilotFieldObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScDataPilotFieldObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void ScDataPilotFieldObj::setAutoShowInfo ( const css::sheet::DataPilotFieldAutoShowInfo *  pInfo)
void ScDataPilotFieldObj::setCurrentPage ( const OUString &  sPage)
void ScDataPilotFieldObj::setFunction ( ScGeneralFunction  Function)
void ScDataPilotFieldObj::setGroupInfo ( const css::sheet::DataPilotFieldGroupInfo *  pInfo)
void ScDataPilotFieldObj::setLayoutInfo ( const css::sheet::DataPilotFieldLayoutInfo *  pInfo)
void SAL_CALL ScDataPilotFieldObj::setName ( const OUString &  aName)
overridevirtual
void ScDataPilotFieldObj::setOrientation ( css::sheet::DataPilotFieldOrientation  Orientation)
void SAL_CALL ScDataPilotFieldObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void ScDataPilotFieldObj::setReference ( const css::sheet::DataPilotFieldReference *  pInfo)
void ScDataPilotFieldObj::setRepeatItemLabels ( bool  bShow)
void ScDataPilotFieldObj::setShowEmpty ( bool  bShow)
void ScDataPilotFieldObj::setSortInfo ( const css::sheet::DataPilotFieldSortInfo *  pInfo)
void ScDataPilotFieldObj::setSubtotals ( const std::vector< ScGeneralFunction > &  rFunctions)
void ScDataPilotFieldObj::setUseCurrentPage ( bool  bUse)
virtual sal_Bool SAL_CALL ScDataPilotFieldObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

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

Definition at line 473 of file dapiuno.hxx.

Referenced by setOrientation().

SfxItemPropertySet ScDataPilotFieldObj::maPropSet
private

Definition at line 472 of file dapiuno.hxx.

Referenced by getPropertySetInfo().

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

Definition at line 471 of file dapiuno.hxx.

Referenced by getItems().


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