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

#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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

ScStyleObjGetObjectByIndex_Impl (sal_Int32 nIndex)
 
ScStyleObjGetObjectByName_Impl (const OUString &Name)
 

Private Attributes

ScDocShellpDocShell
 
SfxStyleFamily eFamily
 

Detailed Description

Definition at line 102 of file styleuno.hxx.

Constructor & Destructor Documentation

ScStyleFamilyObj::ScStyleFamilyObj ( ScDocShell pDocSh,
SfxStyleFamily  eFam 
)

Definition at line 610 of file styleuno.cxx.

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

ScStyleFamilyObj::~ScStyleFamilyObj ( )
overridevirtual

Definition at line 617 of file styleuno.cxx.

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

Member Function Documentation

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

Definition at line 910 of file styleuno.cxx.

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

Definition at line 920 of file styleuno.cxx.

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

Definition at line 790 of file styleuno.cxx.

References GetObjectByIndex_Impl().

uno::Any SAL_CALL ScStyleFamilyObj::getByName ( const OUString &  aName)
overridevirtual
sal_Int32 SAL_CALL ScStyleFamilyObj::getCount ( )
overridevirtual
uno::Sequence< OUString > SAL_CALL ScStyleFamilyObj::getElementNames ( )
overridevirtual
uno::Type SAL_CALL ScStyleFamilyObj::getElementType ( )
overridevirtual

Definition at line 800 of file styleuno.cxx.

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

virtual OUString SAL_CALL ScStyleFamilyObj::getImplementationName ( )
overridevirtual
ScStyleObj * ScStyleFamilyObj::GetObjectByIndex_Impl ( sal_Int32  nIndex)
private
ScStyleObj * ScStyleFamilyObj::GetObjectByName_Impl ( const OUString &  Name)
private
uno::Reference< beans::XPropertySetInfo > SAL_CALL ScStyleFamilyObj::getPropertySetInfo ( )
overridevirtual

Definition at line 870 of file styleuno.cxx.

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

Definition at line 881 of file styleuno.cxx.

References eFamily, ScResId(), and sDisplayName.

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

Definition at line 806 of file styleuno.cxx.

References getCount().

void SAL_CALL ScStyleFamilyObj::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual
void ScStyleFamilyObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 625 of file styleuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Definition at line 915 of file styleuno.cxx.

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

Definition at line 925 of file styleuno.cxx.

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

combine?

Definition at line 713 of file styleuno.cxx.

References insertByName(), and removeByName().

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

Definition at line 876 of file styleuno.cxx.

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

Member Data Documentation

SfxStyleFamily ScStyleFamilyObj::eFamily
private
ScDocShell* ScStyleFamilyObj::pDocShell
private

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