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

#include <unostyle.hxx>

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

Public Member Functions

 SwXAutoStyle (SwDoc *pDoc, std::shared_ptr< SfxItemSet > pInitSet, IStyleAccess::SwAutoStyleFamily eFam)
 
virtual ~SwXAutoStyle () 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 void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual void SAL_CALL setAllPropertiesToDefault () override
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getProperties () override
 
virtual void Notify (const SfxHint &) override
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Member Functions

css::uno::Sequence< css::uno::Any > GetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames)
 

Private Attributes

std::shared_ptr< SfxItemSetmpSet
 
IStyleAccess::SwAutoStyleFamily meFamily
 
SwDocmrDoc
 

Detailed Description

Definition at line 172 of file unostyle.hxx.

Constructor & Destructor Documentation

◆ SwXAutoStyle()

SwXAutoStyle::SwXAutoStyle ( SwDoc pDoc,
std::shared_ptr< SfxItemSet pInitSet,
IStyleAccess::SwAutoStyleFamily  eFam 
)

Definition at line 3872 of file unostyle.cxx.

◆ ~SwXAutoStyle()

SwXAutoStyle::~SwXAutoStyle ( )
overridevirtual

Definition at line 3884 of file unostyle.cxx.

Member Function Documentation

◆ addPropertiesChangeListener()

void SwXAutoStyle::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 4124 of file unostyle.cxx.

◆ addPropertyChangeListener()

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

Definition at line 3936 of file unostyle.cxx.

◆ addVetoableChangeListener()

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

Definition at line 3946 of file unostyle.cxx.

◆ firePropertiesChangeEvent()

void SwXAutoStyle::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 4135 of file unostyle.cxx.

◆ getProperties()

uno::Sequence< beans::PropertyValue > SwXAutoStyle::getProperties ( )
overridevirtual

◆ getPropertyDefault()

uno::Any SwXAutoStyle::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

Definition at line 4154 of file unostyle.cxx.

References getPropertyDefaults().

◆ getPropertyDefaults()

uno::Sequence< uno::Any > SwXAutoStyle::getPropertyDefaults ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 4253 of file unostyle.cxx.

Referenced by getPropertyDefault().

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwXAutoStyle::getPropertySetInfo ( )
overridevirtual

◆ getPropertyState()

beans::PropertyState SwXAutoStyle::getPropertyState ( const OUString &  PropertyName)
overridevirtual

Definition at line 4141 of file unostyle.cxx.

References getPropertyStates().

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SwXAutoStyle::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

◆ getPropertyValue()

uno::Any SwXAutoStyle::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 3929 of file unostyle.cxx.

References aProperties, and GetPropertyValues_Impl().

◆ getPropertyValues()

uno::Sequence< uno::Any > SwXAutoStyle::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 4099 of file unostyle.cxx.

References cppu::getCaughtException(), and GetPropertyValues_Impl().

◆ GetPropertyValues_Impl()

uno::Sequence< uno::Any > SwXAutoStyle::GetPropertyValues_Impl ( const css::uno::Sequence< OUString > &  aPropertyNames)
private

◆ Notify()

void SwXAutoStyle::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 3888 of file unostyle.cxx.

References SfxHint::GetId(), and mpSet.

◆ removePropertiesChangeListener()

void SwXAutoStyle::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 4130 of file unostyle.cxx.

◆ removePropertyChangeListener()

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

Definition at line 3941 of file unostyle.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 3951 of file unostyle.cxx.

◆ setAllPropertiesToDefault()

void SwXAutoStyle::setAllPropertiesToDefault ( )
overridevirtual

Definition at line 4244 of file unostyle.cxx.

◆ setPropertiesToDefault()

void SwXAutoStyle::setPropertiesToDefault ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 4248 of file unostyle.cxx.

◆ setPropertyToDefault()

void SwXAutoStyle::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

Definition at line 4150 of file unostyle.cxx.

◆ setPropertyValue()

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

Definition at line 3925 of file unostyle.cxx.

◆ setPropertyValues()

void SwXAutoStyle::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual

Definition at line 3956 of file unostyle.cxx.

Member Data Documentation

◆ meFamily

IStyleAccess::SwAutoStyleFamily SwXAutoStyle::meFamily
private

◆ mpSet

std::shared_ptr<SfxItemSet> SwXAutoStyle::mpSet
private

Definition at line 181 of file unostyle.hxx.

Referenced by getProperties(), getPropertyStates(), GetPropertyValues_Impl(), and Notify().

◆ mrDoc

SwDoc& SwXAutoStyle::mrDoc
private

Definition at line 183 of file unostyle.hxx.

Referenced by GetPropertyValues_Impl().


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