LibreOffice Module svl (master) 1
|
#include <style.hxx>
Protected Member Functions | |
SfxStyleSheetIterator * | GetCachedIterator () |
void | ChangeParent (std::u16string_view rOld, const OUString &rNew, SfxStyleFamily eFamily, bool bVirtual=true) |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const OUString &, SfxStyleFamily, SfxStyleSearchBits) |
virtual rtl::Reference< SfxStyleSheetBase > | Create (const SfxStyleSheetBase &) |
virtual | ~SfxStyleSheetBasePool () override |
void | StoreStyleSheet (const rtl::Reference< SfxStyleSheetBase > &) |
const svl::IndexedStyleSheets & | GetIndexedStyleSheets () const |
Obtain the indexed style sheets. More... | |
SfxStyleSheetBase * | GetStyleSheetByPositionInIndex (unsigned pos) |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Protected Attributes | |
SfxItemPool & | rPool |
Private Member Functions | |
SfxStyleSheetIterator & | GetIterator_Impl (SfxStyleFamily eFamily, SfxStyleSearchBits eMask) |
Private Attributes | |
std::unique_ptr< SfxStyleSheetBasePool_Impl > | pImpl |
Friends | |
class | SfxStyleSheetIterator |
class | SfxStyleSheetBase |
|
overrideprotectedvirtual |
Definition at line 578 of file style.cxx.
References aDbgStyleSheetReferences, SfxBroadcaster::Broadcast(), Clear(), and Dying.
SfxStyleSheetBasePool::SfxStyleSheetBasePool | ( | SfxItemPool & | r | ) |
Definition at line 556 of file style.cxx.
References aDbgStyleSheetReferences.
SfxStyleSheetBasePool::SfxStyleSheetBasePool | ( | const SfxStyleSheetBasePool & | r | ) |
Definition at line 565 of file style.cxx.
References aDbgStyleSheetReferences.
void SfxStyleSheetBasePool::Add | ( | const SfxStyleSheetBase & | rSheet | ) |
Add a style sheet.
Helper function: If a template with this name exists it is created anew.
Not an actual public function. Do not call it from non-subclasses.
All templates that have this template as a parent are reconnected.
Definition at line 633 of file style.cxx.
References All, SfxBroadcaster::Broadcast(), Create(), SfxStyleSheetIterator::Find(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetName(), pImpl, Remove(), and StyleSheetChanged.
|
protected |
void SfxStyleSheetBasePool::Clear | ( | ) |
Definition at line 775 of file style.cxx.
References cleanup(), and pImpl.
Referenced by operator=(), and ~SfxStyleSheetBasePool().
|
protectedvirtual |
Reimplemented in SfxStyleSheetPool, and SfxStyleSheetPool.
Definition at line 597 of file style.cxx.
References SfxStyleSheetBase.
|
protectedvirtual |
Reimplemented in SfxStyleSheetPool.
Definition at line 607 of file style.cxx.
References SfxStyleSheetBase.
|
virtual |
Definition at line 588 of file style.cxx.
Referenced by GetIterator_Impl().
|
virtual |
Definition at line 680 of file style.cxx.
References SfxStyleSheetIterator::Find().
Referenced by SfxStyleSheetBase::SetName(), SfxStyleSheetBase::SetParent(), and SfxStyleSheet::SetParent().
SfxStyleSheetBase * SfxStyleSheetBasePool::First | ( | SfxStyleFamily | eFamily, |
SfxStyleSearchBits | eMask = SfxStyleSearchBits::All |
||
) |
Definition at line 688 of file style.cxx.
References SfxStyleSheetIterator::First(), and GetIterator_Impl().
Referenced by ChangeParent().
|
protected |
|
protected |
|
private |
Definition at line 549 of file style.cxx.
References CreateIterator(), and pImpl.
Referenced by First().
|
inline |
Definition at line 256 of file style.hxx.
Referenced by SfxStyleSheetBase::GetDescription(), and SfxStyleSheetBase::GetItemSet().
|
inline |
|
protected |
void SfxStyleSheetBasePool::Insert | ( | SfxStyleSheetBase * | p | ) |
Definition at line 729 of file style.cxx.
References SfxBroadcaster::Broadcast(), SfxStyleSheetIterator::Find(), p, StoreStyleSheet(), and StyleSheetCreated.
|
virtual |
Definition at line 612 of file style.cxx.
References All, SfxBroadcaster::Broadcast(), Create(), SfxStyleSheetIterator::Find(), StoreStyleSheet(), and StyleSheetCreated.
SfxStyleSheetBase * SfxStyleSheetBasePool::Next | ( | void | ) |
SfxStyleSheetBasePool & SfxStyleSheetBasePool::operator+= | ( | const SfxStyleSheetBasePool & | r | ) |
SfxStyleSheetBasePool & SfxStyleSheetBasePool::operator= | ( | const SfxStyleSheetBasePool & | r | ) |
void SfxStyleSheetBasePool::Reindex | ( | ) |
Definition at line 888 of file style.cxx.
References pImpl.
Referenced by SfxStyleSheetBase::SetName().
|
virtual |
Definition at line 699 of file style.cxx.
References SfxBroadcaster::Broadcast(), ChangeParent(), p, pImpl, and StyleSheetErased.
Referenced by Add().
|
protected |
|
friend |
|
friend |
|
private |
Definition at line 230 of file style.hxx.
Referenced by Add(), Clear(), SfxStyleSheetIterator::Count(), SfxStyleSheetIterator::Find(), GetCachedIterator(), GetIndexedStyleSheets(), GetIterator_Impl(), GetStyleSheetByPositionInIndex(), SfxStyleSheetIterator::Next(), Next(), operator+=(), SfxStyleSheetIterator::operator[](), Reindex(), Remove(), and StoreStyleSheet().
|
protected |