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

#include <unostyle.hxx>

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

Public Member Functions

 SwXAutoStyleFamily (SwDocShell *pDocShell, IStyleAccess::SwAutoStyleFamily eFamily)
 
virtual ~SwXAutoStyleFamily () override
 
virtual css::uno::Reference< css::style::XAutoStyle > SAL_CALL insertStyle (const css::uno::Sequence< css::beans::PropertyValue > &Values) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 Attributes

SwDocShellm_pDocShell
 
IStyleAccess::SwAutoStyleFamily m_eFamily
 

Detailed Description

Definition at line 134 of file unostyle.hxx.

Constructor & Destructor Documentation

◆ SwXAutoStyleFamily()

SwXAutoStyleFamily::SwXAutoStyleFamily ( SwDocShell pDocShell,
IStyleAccess::SwAutoStyleFamily  eFamily 
)

◆ ~SwXAutoStyleFamily()

SwXAutoStyleFamily::~SwXAutoStyleFamily ( )
overridevirtual

Definition at line 3511 of file unostyle.cxx.

Member Function Documentation

◆ createEnumeration()

uno::Reference< container::XEnumeration > SwXAutoStyleFamily::createEnumeration ( )
overridevirtual

Definition at line 3772 of file unostyle.cxx.

References SwDocShell::GetDoc(), m_eFamily, and m_pDocShell.

◆ getElementType()

uno::Type SwXAutoStyleFamily::getElementType ( )
overridevirtual

Definition at line 3780 of file unostyle.cxx.

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

◆ hasElements()

sal_Bool SwXAutoStyleFamily::hasElements ( )
overridevirtual

Definition at line 3785 of file unostyle.cxx.

◆ insertStyle()

uno::Reference< style::XAutoStyle > SwXAutoStyleFamily::insertStyle ( const css::uno::Sequence< css::beans::PropertyValue > &  Values)
overridevirtual

◆ Notify()

void SwXAutoStyleFamily::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 3515 of file unostyle.cxx.

References SfxHint::GetId(), and m_pDocShell.

Member Data Documentation

◆ m_eFamily

IStyleAccess::SwAutoStyleFamily SwXAutoStyleFamily::m_eFamily
private

Definition at line 137 of file unostyle.hxx.

Referenced by createEnumeration(), and insertStyle().

◆ m_pDocShell

SwDocShell* SwXAutoStyleFamily::m_pDocShell
private

Definition at line 136 of file unostyle.hxx.

Referenced by createEnumeration(), insertStyle(), and Notify().


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