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

Collection of all DataPilot fields, or of all fields from a specific dimension. More...

#include <dapiuno.hxx>

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

Public Member Functions

 ScDataPilotFieldsObj (ScDataPilotDescriptorBase &rParent)
 
 ScDataPilotFieldsObj (ScDataPilotDescriptorBase &rParent, css::sheet::DataPilotFieldOrientation eOrient)
 
virtual ~ScDataPilotFieldsObj () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 Member Functions

rtl::Reference< ScDataPilotFieldObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 
rtl::Reference< ScDataPilotFieldObjGetObjectByName_Impl (const OUString &rName) const
 

Private Attributes

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

Collection of all DataPilot fields, or of all fields from a specific dimension.

Definition at line 341 of file dapiuno.hxx.

Constructor & Destructor Documentation

◆ ScDataPilotFieldsObj() [1/2]

ScDataPilotFieldsObj::ScDataPilotFieldsObj ( ScDataPilotDescriptorBase rParent)
explicit

Definition at line 1403 of file dapiuno.cxx.

◆ ScDataPilotFieldsObj() [2/2]

ScDataPilotFieldsObj::ScDataPilotFieldsObj ( ScDataPilotDescriptorBase rParent,
css::sheet::DataPilotFieldOrientation  eOrient 
)
explicit

◆ ~ScDataPilotFieldsObj()

ScDataPilotFieldsObj::~ScDataPilotFieldsObj ( )
overridevirtual

Definition at line 1414 of file dapiuno.cxx.

Member Function Documentation

◆ createEnumeration()

Reference< XEnumeration > SAL_CALL ScDataPilotFieldsObj::createEnumeration ( )
overridevirtual

Definition at line 1552 of file dapiuno.cxx.

◆ getByIndex()

Any SAL_CALL ScDataPilotFieldsObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 1567 of file dapiuno.cxx.

References Any, GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

Any SAL_CALL ScDataPilotFieldsObj::getByName ( const OUString &  aName)
overridevirtual

Definition at line 1591 of file dapiuno.cxx.

References aName, Any, and GetObjectByName_Impl().

◆ getCount()

sal_Int32 SAL_CALL ScDataPilotFieldsObj::getCount ( )
overridevirtual

◆ getElementNames()

Sequence< OUString > SAL_CALL ScDataPilotFieldsObj::getElementNames ( )
overridevirtual

◆ getElementType()

uno::Type SAL_CALL ScDataPilotFieldsObj::getElementType ( )
overridevirtual

Definition at line 1578 of file dapiuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScDataPilotFieldsObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScDataPilotFieldObj > ScDataPilotFieldsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

◆ GetObjectByName_Impl()

rtl::Reference< ScDataPilotFieldObj > ScDataPilotFieldsObj::GetObjectByName_Impl ( const OUString &  rName) const
private

◆ getSupportedServiceNames()

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

◆ hasByName()

sal_Bool SAL_CALL ScDataPilotFieldsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 1622 of file dapiuno.cxx.

References aName, and GetObjectByName_Impl().

◆ hasElements()

sal_Bool SAL_CALL ScDataPilotFieldsObj::hasElements ( )
overridevirtual

Definition at line 1583 of file dapiuno.cxx.

References getCount().

◆ supportsService()

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

Member Data Documentation

◆ maOrient

css::uno::Any ScDataPilotFieldsObj::maOrient
private

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