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)
 
virtual bool IsSdrView () const
 

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 100 of file styleuno.hxx.

Constructor & Destructor Documentation

◆ ScStyleFamilyObj()

ScStyleFamilyObj::ScStyleFamilyObj ( ScDocShell pDocSh,
SfxStyleFamily  eFam 
)

Definition at line 638 of file styleuno.cxx.

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

◆ ~ScStyleFamilyObj()

ScStyleFamilyObj::~ScStyleFamilyObj ( )
overridevirtual

Definition at line 645 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 948 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 958 of file styleuno.cxx.

◆ getByIndex()

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

Definition at line 827 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 837 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 906 of file styleuno.cxx.

◆ getPropertyValue()

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

Definition at line 917 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 842 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 653 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 953 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 963 of file styleuno.cxx.

◆ replaceByName()

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

combine?

Definition at line 741 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 912 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: