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

#include <styleuno.hxx>

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

Public Member Functions

 ScStyleFamilyObj (ScDocShell *pDocSh, SfxStyleFamily eFam)
 
virtual ~ScStyleFamilyObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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 void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) 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::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

rtl::Reference< ScStyleObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
rtl::Reference< ScStyleObjGetObjectByName_Impl (const OUString &Name)
 

Private Attributes

ScDocShellpDocShell
 
SfxStyleFamily eFamily
 

Detailed Description

Definition at line 101 of file styleuno.hxx.

Constructor & Destructor Documentation

◆ ScStyleFamilyObj()

ScStyleFamilyObj::ScStyleFamilyObj ( ScDocShell pDocSh,
SfxStyleFamily  eFam 
)

Definition at line 616 of file styleuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

◆ ~ScStyleFamilyObj()

ScStyleFamilyObj::~ScStyleFamilyObj ( )
overridevirtual

Definition at line 623 of file styleuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addPropertyChangeListener()

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

Definition at line 915 of file styleuno.cxx.

◆ addVetoableChangeListener()

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

Definition at line 925 of file styleuno.cxx.

◆ getByIndex()

uno::Any SAL_CALL ScStyleFamilyObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 796 of file styleuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

uno::Any SAL_CALL ScStyleFamilyObj::getByName ( const OUString &  aName)
overridevirtual

◆ getCount()

sal_Int32 SAL_CALL ScStyleFamilyObj::getCount ( )
overridevirtual

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScStyleFamilyObj::getElementNames ( )
overridevirtual

◆ getElementType()

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

Definition at line 806 of file styleuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScStyleFamilyObj::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScStyleObj > ScStyleFamilyObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private

◆ GetObjectByName_Impl()

rtl::Reference< ScStyleObj > ScStyleFamilyObj::GetObjectByName_Impl ( const OUString &  Name)
private

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScStyleFamilyObj::getPropertySetInfo ( )
overridevirtual

Definition at line 875 of file styleuno.cxx.

◆ getPropertyValue()

uno::Any SAL_CALL ScStyleFamilyObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 886 of file styleuno.cxx.

References eFamily, ScResId(), and sDisplayName.

◆ getSupportedServiceNames()

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

◆ hasByName()

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

◆ hasElements()

sal_Bool SAL_CALL ScStyleFamilyObj::hasElements ( )
overridevirtual

Definition at line 811 of file styleuno.cxx.

References getCount().

◆ insertByName()

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

◆ Notify()

void ScStyleFamilyObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 631 of file styleuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByName()

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

◆ removePropertyChangeListener()

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

Definition at line 920 of file styleuno.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 930 of file styleuno.cxx.

◆ replaceByName()

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

combine?

Definition at line 719 of file styleuno.cxx.

References aName, insertByName(), and removeByName().

◆ setPropertyValue()

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

Definition at line 881 of file styleuno.cxx.

◆ supportsService()

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

Member Data Documentation

◆ eFamily

SfxStyleFamily ScStyleFamilyObj::eFamily
private

◆ pDocShell

ScDocShell* ScStyleFamilyObj::pDocShell
private

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