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

#include <docstyle.hxx>

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

Public Member Functions

 SwDocStyleSheetPool (SwDoc &, bool bOrganizer)
 
virtual SfxStyleSheetBaseMake (const OUString &, SfxStyleFamily, SfxStyleSearchBits nMask=SfxStyleSearchBits::All) override
 
virtual SfxStyleSheetBaseFind (const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All) override
 
virtual bool SetParent (SfxStyleFamily eFam, const OUString &rStyle, const OUString &rParent) override
 
virtual void Remove (SfxStyleSheetBase *pStyle) override
 
bool IsOrganizerMode () const
 
virtual std::unique_ptr< SfxStyleSheetIteratorCreateIterator (SfxStyleFamily, SfxStyleSearchBits nMask=SfxStyleSearchBits::All) override
 
SwDocGetDoc () const
 
void dispose ()
 
void InvalidateIterator ()
 
- Public Member Functions inherited from SfxStyleSheetBasePool
 SfxStyleSheetBasePool (SfxItemPool &)
 
 SfxStyleSheetBasePool (const SfxStyleSheetBasePool &)
 
SfxItemPoolGetPool ()
 
const SfxItemPoolGetPool () const
 
void Insert (SfxStyleSheetBase *)
 
void Clear ()
 
SfxStyleSheetBasePooloperator= (const SfxStyleSheetBasePool &)
 
SfxStyleSheetBasePooloperator+= (const SfxStyleSheetBasePool &)
 
SfxStyleSheetBaseFirst (SfxStyleFamily eFamily, SfxStyleSearchBits eMask=SfxStyleSearchBits::All)
 
SfxStyleSheetBaseNext ()
 
void Reindex ()
 
void Add (const SfxStyleSheetBase &)
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 

Private Member Functions

virtual rtl::Reference< SfxStyleSheetBaseCreate (const OUString &, SfxStyleFamily, SfxStyleSearchBits nMask) override
 
virtual rtl::Reference< SfxStyleSheetBaseCreate (const SfxStyleSheetBase &) override
 
virtual ~SwDocStyleSheetPool () override
 
 SwDocStyleSheetPool (const SwDocStyleSheetPool &)=delete
 

Private Attributes

rtl::Reference< SwDocStyleSheetmxStyleSheet
 
SwDocm_rDoc
 
bool m_bOrganizer: 1
 Organizer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SfxStyleSheetBasePool
SfxStyleSheetIteratorGetCachedIterator ()
 
void ChangeParent (std::u16string_view rOld, const OUString &rNew, SfxStyleFamily eFamily, bool bVirtual=true)
 
virtual ~SfxStyleSheetBasePool () override
 
void StoreStyleSheet (const rtl::Reference< SfxStyleSheetBase > &)
 
const svl::IndexedStyleSheetsGetIndexedStyleSheets () const
 
SfxStyleSheetBaseGetStyleSheetByPositionInIndex (unsigned pos)
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 
- Protected Attributes inherited from SfxStyleSheetBasePool
SfxItemPoolrPool
 

Detailed Description

Definition at line 204 of file docstyle.hxx.

Constructor & Destructor Documentation

SwDocStyleSheetPool::SwDocStyleSheetPool ( SwDoc rDocument,
bool  bOrganizer 
)

Definition at line 2355 of file docstyle.cxx.

References m_bOrganizer.

SwDocStyleSheetPool::~SwDocStyleSheetPool ( )
overrideprivatevirtual

Definition at line 2363 of file docstyle.cxx.

SwDocStyleSheetPool::SwDocStyleSheetPool ( const SwDocStyleSheetPool )
privatedelete

Member Function Documentation

rtl::Reference< SfxStyleSheetBase > SwDocStyleSheetPool::Create ( const OUString &  ,
SfxStyleFamily  ,
SfxStyleSearchBits  nMask 
)
overrideprivatevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2388 of file docstyle.cxx.

rtl::Reference< SfxStyleSheetBase > SwDocStyleSheetPool::Create ( const SfxStyleSheetBase )
overrideprivatevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2382 of file docstyle.cxx.

std::unique_ptr< SfxStyleSheetIterator > SwDocStyleSheetPool::CreateIterator ( SfxStyleFamily  eFam,
SfxStyleSearchBits  nMask = SfxStyleSearchBits::All 
)
overridevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2395 of file docstyle.cxx.

void SwDocStyleSheetPool::dispose ( void  )

Definition at line 2400 of file docstyle.cxx.

References mxStyleSheet.

SfxStyleSheetBase * SwDocStyleSheetPool::Find ( const OUString &  rName,
SfxStyleFamily  eFam,
SfxStyleSearchBits  n = SfxStyleSearchBits::All 
)
overridevirtual
SwDoc& SwDocStyleSheetPool::GetDoc ( ) const
inline

Definition at line 233 of file docstyle.hxx.

References m_rDoc.

void SwDocStyleSheetPool::InvalidateIterator ( )
bool SwDocStyleSheetPool::IsOrganizerMode ( ) const
inline

Definition at line 229 of file docstyle.hxx.

References m_bOrganizer.

SfxStyleSheetBase & SwDocStyleSheetPool::Make ( const OUString &  rName,
SfxStyleFamily  eFam,
SfxStyleSearchBits  nMask = SfxStyleSearchBits::All 
)
overridevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2367 of file docstyle.cxx.

References mxStyleSheet.

void SwDocStyleSheetPool::Remove ( SfxStyleSheetBase pStyle)
overridevirtual
bool SwDocStyleSheetPool::SetParent ( SfxStyleFamily  eFam,
const OUString &  rStyle,
const OUString &  rParent 
)
overridevirtual

Member Data Documentation

bool SwDocStyleSheetPool::m_bOrganizer
private

Organizer.

Definition at line 208 of file docstyle.hxx.

Referenced by IsOrganizerMode(), and SwDocStyleSheetPool().

SwDoc& SwDocStyleSheetPool::m_rDoc
private

Definition at line 207 of file docstyle.hxx.

Referenced by Find(), GetDoc(), Remove(), and SetParent().

rtl::Reference< SwDocStyleSheet > SwDocStyleSheetPool::mxStyleSheet
private

Definition at line 206 of file docstyle.hxx.

Referenced by dispose(), Find(), Make(), and SetParent().


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