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 (const 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 501 of file dapiuno.hxx.

Constructor & Destructor Documentation

ScDataPilotFieldGroupsObj::ScDataPilotFieldGroupsObj ( const ScFieldGroups rGroups)
explicit

Definition at line 2731 of file dapiuno.cxx.

ScDataPilotFieldGroupsObj::~ScDataPilotFieldGroupsObj ( )
overridevirtual

Definition at line 2736 of file dapiuno.cxx.

Member Function Documentation

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

Definition at line 2852 of file dapiuno.cxx.

Any SAL_CALL ScDataPilotFieldGroupsObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 2842 of file dapiuno.cxx.

References Any, maGroups, and maName.

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

Definition at line 2742 of file dapiuno.cxx.

References Any, implFindByName(), and maGroups.

sal_Int32 SAL_CALL ScDataPilotFieldGroupsObj::getCount ( )
overridevirtual

Definition at line 2836 of file dapiuno.cxx.

References maGroups.

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

Definition at line 2750 of file dapiuno.cxx.

References maGroups.

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

Definition at line 2860 of file dapiuno.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 2874 of file dapiuno.cxx.

References implFindByName(), and maGroups.

virtual OUString SAL_CALL ScDataPilotFieldGroupsObj::getImplementationName ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScDataPilotFieldGroupsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScDataPilotFieldGroupsObj::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 2767 of file dapiuno.cxx.

References implFindByName(), and maGroups.

sal_Bool SAL_CALL ScDataPilotFieldGroupsObj::hasElements ( )
overridevirtual

Definition at line 2866 of file dapiuno.cxx.

References maGroups.

ScFieldGroups::iterator ScDataPilotFieldGroupsObj::implFindByName ( const OUString &  rName)
private
void SAL_CALL ScDataPilotFieldGroupsObj::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual
void SAL_CALL ScDataPilotFieldGroupsObj::removeByName ( const OUString &  Name)
overridevirtual

Definition at line 2820 of file dapiuno.cxx.

References implFindByName(), and maGroups.

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

Definition at line 2883 of file dapiuno.cxx.

References implFindByName(), and maGroups.

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

Definition at line 2775 of file dapiuno.cxx.

References implFindByName(), and maGroups.

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

Member Data Documentation

ScFieldGroups ScDataPilotFieldGroupsObj::maGroups
private

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