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

#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) override
 
SwDocGetDoc () const
 
void dispose ()
 
void InvalidateIterator ()
 
- Public Member Functions inherited from SfxStyleSheetBasePool
 SfxStyleSheetBasePool (SfxItemPool &)
 
 SfxStyleSheetBasePool (const SfxStyleSheetBasePool &)
 
SfxItemPoolGetPool ()
 
const SfxItemPoolGetPool () const
 
sal_uInt16 Count ()
 
SfxStyleSheetBaseoperator[] (sal_uInt16 nIdx)
 
void Insert (SfxStyleSheetBase *)
 
void Clear ()
 
SfxStyleSheetBasePooloperator= (const SfxStyleSheetBasePool &)
 
SfxStyleSheetBasePooloperator+= (const SfxStyleSheetBasePool &)
 
SfxStyleSheetBaseFirst ()
 
SfxStyleSheetBaseNext ()
 
SfxStyleSheetBaseFind (const OUString &rStr)
 
void SetSearchMask (SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
 
SfxStyleSearchBits GetSearchMask () const
 
SfxStyleFamily GetSearchFamily () const
 
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
 

Protected Member Functions

virtual ~SwDocStyleSheetPool () override
 
- Protected Member Functions inherited from SfxStyleSheetBasePool
SfxStyleSheetIteratorGetIterator_Impl ()
 
void ChangeParent (const OUString &, const OUString &, 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)
 

Private Member Functions

virtual SfxStyleSheetBaseCreate (const OUString &, SfxStyleFamily, SfxStyleSearchBits nMask) override
 
virtual SfxStyleSheetBaseCreate (const SfxStyleSheetBase &) override
 
 SwDocStyleSheetPool (const SwDocStyleSheetPool &)=delete
 

Private Attributes

rtl::Reference< SwDocStyleSheetmxStyleSheet
 
SwDocrDoc
 
bool bOrganizer: 1
 Organizer. More...
 

Additional Inherited Members

- Protected Attributes inherited from SfxStyleSheetBasePool
SfxItemPoolrPool
 
SfxStyleFamily nSearchFamily
 
SfxStyleSearchBits nMask
 

Detailed Description

Definition at line 191 of file docstyle.hxx.

Constructor & Destructor Documentation

SwDocStyleSheetPool::SwDocStyleSheetPool ( SwDoc rDocument,
bool  bOrganizer 
)

Definition at line 2394 of file docstyle.cxx.

References bOrganizer.

SwDocStyleSheetPool::~SwDocStyleSheetPool ( )
overrideprotectedvirtual

Definition at line 2402 of file docstyle.cxx.

SwDocStyleSheetPool::SwDocStyleSheetPool ( const SwDocStyleSheetPool )
privatedelete

Member Function Documentation

SfxStyleSheetBase * SwDocStyleSheetPool::Create ( const OUString &  ,
SfxStyleFamily  ,
SfxStyleSearchBits  nMask 
)
overrideprivatevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2427 of file docstyle.cxx.

SfxStyleSheetBase * SwDocStyleSheetPool::Create ( const SfxStyleSheetBase )
overrideprivatevirtual

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2421 of file docstyle.cxx.

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

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2434 of file docstyle.cxx.

void SwDocStyleSheetPool::dispose ( void  )

Definition at line 2439 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 220 of file docstyle.hxx.

References rDoc.

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

Definition at line 216 of file docstyle.hxx.

References bOrganizer.

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

Reimplemented from SfxStyleSheetBasePool.

Definition at line 2406 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::bOrganizer
private

Organizer.

Definition at line 195 of file docstyle.hxx.

Referenced by IsOrganizerMode(), and SwDocStyleSheetPool().

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

Definition at line 193 of file docstyle.hxx.

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

SwDoc& SwDocStyleSheetPool::rDoc
private

Definition at line 194 of file docstyle.hxx.

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


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