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

#include <stlpool.hxx>

Inheritance diagram for ScStyleSheetPool:
Collaboration diagram for ScStyleSheetPool:

Public Member Functions

 ScStyleSheetPool (const SfxItemPool &rPool, ScDocument *pDocument)
void SetDocument (ScDocument *pDocument)
ScDocumentGetDocument () const
virtual void Remove (SfxStyleSheetBase *pStyle) override
void SetActualStyleSheet (SfxStyleSheetBase *pActStyleSheet)
SfxStyleSheetBaseGetActualStyleSheet ()
void CreateStandardStyles ()
void CopyStdStylesFrom (ScStyleSheetPool *pSrcPool)
void CopyStyleFrom (ScStyleSheetPool *pSrcPool, const OUString &rName, SfxStyleFamily eFamily)
bool HasStandardStyles () const
ScStyleSheetFindCaseIns (const OUString &rName, SfxStyleFamily eFam)
virtual SfxStyleSheetBaseMake (const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits nMask=SfxStyleSearchBits::All) override
void setAllParaStandard ()
- Public Member Functions inherited from SfxStyleSheetPool
 SfxStyleSheetPool (SfxItemPool const &)
- Public Member Functions inherited from SfxStyleSheetBasePool
 SfxStyleSheetBasePool (SfxItemPool &)
 SfxStyleSheetBasePool (const SfxStyleSheetBasePool &)
SfxItemPoolGetPool ()
const SfxItemPoolGetPool () const
virtual std::unique_ptr< SfxStyleSheetIteratorCreateIterator (SfxStyleFamily, SfxStyleSearchBits nMask=SfxStyleSearchBits::All)
void Insert (SfxStyleSheetBase *)
void Clear ()
SfxStyleSheetBasePooloperator= (const SfxStyleSheetBasePool &)
SfxStyleSheetBasePooloperator+= (const SfxStyleSheetBasePool &)
SfxStyleSheetBaseFirst (SfxStyleFamily eFamily, SfxStyleSearchBits eMask=SfxStyleSearchBits::All)
SfxStyleSheetBaseNext ()
virtual SfxStyleSheetBaseFind (const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
virtual bool SetParent (SfxStyleFamily eFam, const OUString &rStyle, const OUString &rParent)
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 ~ScStyleSheetPool () override
virtual rtl::Reference< SfxStyleSheetBaseCreate (const OUString &rName, SfxStyleFamily eFamily, SfxStyleSearchBits nMask) override
virtual rtl::Reference< SfxStyleSheetBaseCreate (const SfxStyleSheetBase &rStyle) override

Private Attributes

bool bHasStandardStyles

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

Detailed Description

Definition at line 28 of file stlpool.hxx.

Constructor & Destructor Documentation

ScStyleSheetPool::ScStyleSheetPool ( const SfxItemPool rPool,
ScDocument pDocument 

Definition at line 54 of file stlpool.cxx.

References false.

ScStyleSheetPool::~ScStyleSheetPool ( )

Definition at line 63 of file stlpool.cxx.

Member Function Documentation

void ScStyleSheetPool::CopyStdStylesFrom ( ScStyleSheetPool pSrcPool)

Definition at line 183 of file stlpool.cxx.

References CopyStyleFrom(), and ScResId().

void ScStyleSheetPool::CopyStyleFrom ( ScStyleSheetPool pSrcPool,
const OUString &  rName,
SfxStyleFamily  eFamily 
rtl::Reference< SfxStyleSheetBase > ScStyleSheetPool::Create ( const OUString &  rName,
SfxStyleFamily  eFamily,
SfxStyleSearchBits  nMask 

Reimplemented from SfxStyleSheetPool.

Definition at line 99 of file stlpool.cxx.

References ScResId().

rtl::Reference< SfxStyleSheetBase > ScStyleSheetPool::Create ( const SfxStyleSheetBase rStyle)

Reimplemented from SfxStyleSheetBasePool.

Definition at line 110 of file stlpool.cxx.

References SfxStyleSheetBase::isScStyleSheet().

void ScStyleSheetPool::CreateStandardStyles ( )
ScStyleSheet * ScStyleSheetPool::FindCaseIns ( const OUString &  rName,
SfxStyleFamily  eFam 
SfxStyleSheetBase* ScStyleSheetPool::GetActualStyleSheet ( )

Definition at line 42 of file stlpool.hxx.

Referenced by ScGridWindow::MouseButtonUp().

ScDocument* ScStyleSheetPool::GetDocument ( ) const

Definition at line 35 of file stlpool.hxx.

Referenced by ScStyleSheet::GetItemSet().

bool ScStyleSheetPool::HasStandardStyles ( ) const

Definition at line 51 of file stlpool.hxx.

Referenced by ScOrcusStyles::ScOrcusStyles().

SfxStyleSheetBase & ScStyleSheetPool::Make ( const OUString &  rName,
SfxStyleFamily  eFam,
SfxStyleSearchBits  nMask = SfxStyleSearchBits::All 
void ScStyleSheetPool::Remove ( SfxStyleSheetBase pStyle)
void ScStyleSheetPool::SetActualStyleSheet ( SfxStyleSheetBase pActStyleSheet)

Definition at line 39 of file stlpool.hxx.

void ScStyleSheetPool::setAllParaStandard ( )
void ScStyleSheetPool::SetDocument ( ScDocument pDocument)

Definition at line 67 of file stlpool.cxx.

References pDoc.

Member Data Documentation

bool ScStyleSheetPool::bHasStandardStyles

Definition at line 72 of file stlpool.hxx.

Referenced by CreateStandardStyles().

SfxStyleSheetBase* ScStyleSheetPool::pActualStyleSheet

Definition at line 70 of file stlpool.hxx.

ScDocument* ScStyleSheetPool::pDoc

Definition at line 71 of file stlpool.hxx.

Referenced by CopyStyleFrom(), CreateStandardStyles(), and SetDocument().

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