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

#include <unostyle.hxx>

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

Public Member Functions

 SwXAutoStyle (SwDoc *pDoc, std::shared_ptr< SfxItemSet > const &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 ()
 
 SvtListener (const SvtListener &r)
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
bool EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
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 const meFamily
 
SwDocmrDoc
 

Detailed Description

Definition at line 172 of file unostyle.hxx.

Constructor & Destructor Documentation

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

Definition at line 3819 of file unostyle.cxx.

SwXAutoStyle::~SwXAutoStyle ( )
overridevirtual

Definition at line 3831 of file unostyle.cxx.

Member Function Documentation

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

Definition at line 4085 of file unostyle.cxx.

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

Definition at line 3897 of file unostyle.cxx.

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

Definition at line 3907 of file unostyle.cxx.

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

Definition at line 4096 of file unostyle.cxx.

uno::Sequence< beans::PropertyValue > SwXAutoStyle::getProperties ( )
overridevirtual
uno::Any SwXAutoStyle::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

Definition at line 4115 of file unostyle.cxx.

References getPropertyDefaults().

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

Definition at line 4214 of file unostyle.cxx.

Referenced by getPropertyDefault().

uno::Reference< beans::XPropertySetInfo > SwXAutoStyle::getPropertySetInfo ( )
overridevirtual
beans::PropertyState SwXAutoStyle::getPropertyState ( const OUString &  PropertyName)
overridevirtual

Definition at line 4102 of file unostyle.cxx.

References getPropertyStates().

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

Definition at line 3890 of file unostyle.cxx.

References GetPropertyValues_Impl().

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

Definition at line 4060 of file unostyle.cxx.

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

uno::Sequence< uno::Any > SwXAutoStyle::GetPropertyValues_Impl ( const css::uno::Sequence< OUString > &  aPropertyNames)
private
void SwXAutoStyle::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 3835 of file unostyle.cxx.

References SfxHint::GetId(), and mpSet.

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

Definition at line 4091 of file unostyle.cxx.

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

Definition at line 3902 of file unostyle.cxx.

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

Definition at line 3912 of file unostyle.cxx.

void SwXAutoStyle::setAllPropertiesToDefault ( )
overridevirtual

Definition at line 4205 of file unostyle.cxx.

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

Definition at line 4209 of file unostyle.cxx.

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

Definition at line 4111 of file unostyle.cxx.

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

Definition at line 3886 of file unostyle.cxx.

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

Definition at line 3917 of file unostyle.cxx.

Member Data Documentation

IStyleAccess::SwAutoStyleFamily const SwXAutoStyle::meFamily
private
std::shared_ptr<SfxItemSet> SwXAutoStyle::mpSet
private

Definition at line 181 of file unostyle.hxx.

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

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: