LibreOffice Module svl (master) 1
|
class StylePoolImpl organized a tree-structure where every node represents a SfxItemSet. More...
Public Member Functions | |
StylePoolImpl (SfxItemSet const *pIgnorableItems) | |
std::shared_ptr< SfxItemSet > | insertItemSet (const SfxItemSet &rSet, const OUString *pParentName=nullptr) |
std::unique_ptr< IStylePoolIteratorAccess > | createIterator (bool bSkipUnusedItemSets, bool bSkipIgnorableItems) |
Private Attributes | |
std::map< const SfxItemSet *, Node > | maRoot |
std::map< const SfxItemSet *, OUString > | maParentNames |
Names of maRoot keys. More... | |
std::unique_ptr< SfxItemSet > | mpIgnorableItems |
sal_Int32 | mnCount |
class StylePoolImpl organized a tree-structure where every node represents a SfxItemSet.
The insertItemSet method adds a SfxItemSet into the tree if necessary and returns a shared_ptr to a copy of the SfxItemSet. The aRoot-Node represents an empty SfxItemSet.
Definition at line 338 of file stylepool.cxx.
|
inlineexplicit |
Definition at line 351 of file stylepool.cxx.
References Clone(), SfxItemSet::Count(), DBG_ASSERT, DEBUG, and mpIgnorableItems.
std::unique_ptr< IStylePoolIteratorAccess > StylePoolImpl::createIterator | ( | bool | bSkipUnusedItemSets, |
bool | bSkipIgnorableItems | ||
) |
Definition at line 443 of file stylepool.cxx.
References maParentNames, and maRoot.
Referenced by insertItemSet().
std::shared_ptr< SfxItemSet > StylePoolImpl::insertItemSet | ( | const SfxItemSet & | rSet, |
const OUString * | pParentName = nullptr |
||
) |
Definition at line 374 of file stylepool.cxx.
References createIterator(), DBG_ASSERT, SfxItemIter::GetCurItem(), SfxItemSet::GetParent(), SfxItemSet::GetPool(), SfxItemPool::IsItemPoolable(), maParentNames, maRoot, mnCount, mpIgnorableItems, SfxItemIter::NextItem(), rSet, and SfxPoolItem::Which().
|
private |
Names of maRoot keys.
Definition at line 343 of file stylepool.cxx.
Referenced by createIterator(), and insertItemSet().
|
private |
Definition at line 341 of file stylepool.cxx.
Referenced by createIterator(), and insertItemSet().
|
private |
Definition at line 347 of file stylepool.cxx.
Referenced by insertItemSet().
|
private |
Definition at line 345 of file stylepool.cxx.
Referenced by insertItemSet(), and StylePoolImpl().