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

Implementation of all grouped items in a DataPilot field. More...

#include <dapiuno.hxx>

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

Public Member Functions

 ScDataPilotFieldGroupsObj (ScFieldGroups &&rGroups)
 
virtual ~ScDataPilotFieldGroupsObj () 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 void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) 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
 
ScFieldGroupgetFieldGroup (const OUString &rName)
 
void renameFieldGroup (const OUString &rOldName, const OUString &rNewName)
 

Private Member Functions

ScFieldGroups::iterator implFindByName (const OUString &rName)
 

Private Attributes

ScFieldGroups maGroups
 

Detailed Description

Implementation of all grouped items in a DataPilot field.

This is a stand-alone object without any connection to the base DataPilot field. Grouping info has to be written back with the GroupInfo property of the DataPilot field after modifying this object.

Definition at line 500 of file dapiuno.hxx.

Constructor & Destructor Documentation

◆ ScDataPilotFieldGroupsObj()

ScDataPilotFieldGroupsObj::ScDataPilotFieldGroupsObj ( ScFieldGroups &&  rGroups)
explicit

Definition at line 2719 of file dapiuno.cxx.

◆ ~ScDataPilotFieldGroupsObj()

ScDataPilotFieldGroupsObj::~ScDataPilotFieldGroupsObj ( )
overridevirtual

Definition at line 2724 of file dapiuno.cxx.

Member Function Documentation

◆ createEnumeration()

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

Definition at line 2840 of file dapiuno.cxx.

◆ getByIndex()

Any SAL_CALL ScDataPilotFieldGroupsObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 2830 of file dapiuno.cxx.

References Any, maGroups, o3tl::make_unsigned(), maName, and nIndex.

◆ getByName()

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

Definition at line 2730 of file dapiuno.cxx.

References Any, implFindByName(), and maGroups.

◆ getCount()

sal_Int32 SAL_CALL ScDataPilotFieldGroupsObj::getCount ( )
overridevirtual

Definition at line 2824 of file dapiuno.cxx.

References maGroups.

◆ getElementNames()

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

Definition at line 2738 of file dapiuno.cxx.

References aSeq, maGroups, and pName.

◆ getElementType()

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

Definition at line 2848 of file dapiuno.cxx.

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

◆ getFieldGroup()

ScFieldGroup & ScDataPilotFieldGroupsObj::getFieldGroup ( const OUString &  rName)
Exceptions
css::uno::RuntimeException

Definition at line 2861 of file dapiuno.cxx.

References implFindByName(), and maGroups.

◆ getImplementationName()

virtual OUString SAL_CALL ScDataPilotFieldGroupsObj::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ hasByName()

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

Definition at line 2755 of file dapiuno.cxx.

References implFindByName(), and maGroups.

◆ hasElements()

sal_Bool SAL_CALL ScDataPilotFieldGroupsObj::hasElements ( )
overridevirtual

Definition at line 2853 of file dapiuno.cxx.

References maGroups.

◆ implFindByName()

ScFieldGroups::iterator ScDataPilotFieldGroupsObj::implFindByName ( const OUString &  rName)
private

◆ insertByName()

void SAL_CALL ScDataPilotFieldGroupsObj::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

◆ removeByName()

void SAL_CALL ScDataPilotFieldGroupsObj::removeByName ( const OUString &  Name)
overridevirtual

Definition at line 2808 of file dapiuno.cxx.

References implFindByName(), and maGroups.

◆ renameFieldGroup()

void ScDataPilotFieldGroupsObj::renameFieldGroup ( const OUString &  rOldName,
const OUString &  rNewName 
)
Exceptions
css::uno::RuntimeException

Definition at line 2870 of file dapiuno.cxx.

References implFindByName(), and maGroups.

◆ replaceByName()

void SAL_CALL ScDataPilotFieldGroupsObj::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Definition at line 2763 of file dapiuno.cxx.

References implFindByName(), and maGroups.

◆ supportsService()

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

Member Data Documentation

◆ maGroups

ScFieldGroups ScDataPilotFieldGroupsObj::maGroups
private

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