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

#include <swatrset.hxx>

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

Public Member Functions

 SwAttrPool (SwDoc *pDoc)
 
SwDocGetDoc ()
 
const SwDocGetDoc () const
 
- Public Member Functions inherited from SfxItemPool
void FillItemIdRanges_Impl (WhichRangesContainer &pWhichRanges) const
 
const WhichRangesContainerGetFrozenIdRanges () const
 
 SfxItemPool (const SfxItemPool &rPool, bool bCloneStaticDefaults=false)
 
 SfxItemPool (const OUString &rName, sal_uInt16 nStart, sal_uInt16 nEnd, const SfxItemInfo *pItemInfos, std::vector< SfxPoolItem * > *pDefaults=nullptr)
 
virtual ~SfxItemPool ()
 
SfxBroadcasterBC ()
 
void SetPoolDefaultItem (const SfxPoolItem &)
 
const SfxPoolItemGetPoolDefaultItem (sal_uInt16 nWhich) const
 
const T * GetPoolDefaultItem (TypedWhichId< T > nWhich) const
 
void ResetPoolDefaultItem (sal_uInt16 nWhich)
 
void SetDefaults (std::vector< SfxPoolItem * > *pDefaults)
 
void ClearDefaults ()
 
void ReleaseDefaults (bool bDelete=false)
 
virtual MapUnit GetMetric (sal_uInt16 nWhich) const
 
void SetDefaultMetric (MapUnit eNewMetric)
 
MapUnit GetDefaultMetric () const
 
virtual bool GetPresentation (const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual rtl::Reference< SfxItemPoolClone () const
 
const OUString & GetName () const
 
const T & Put (std::unique_ptr< T > xItem, sal_uInt16 nWhich=0)
 
const T & Put (const T &rItem, sal_uInt16 nWhich=0)
 
void Remove (const SfxPoolItem &)
 
const SfxPoolItemGetDefaultItem (sal_uInt16 nWhich) const
 
const T & GetDefaultItem (TypedWhichId< T > nWhich) const
 
bool CheckItemInPool (const SfxPoolItem *) const
 
const SfxPoolItemGetItem2Default (sal_uInt16 nWhich) const
 
const T * GetItem2Default (TypedWhichId< T > nWhich) const
 
sal_uInt32 GetItemCount2 (sal_uInt16 nWhich) const
 
Item2Range GetItemSurrogates (sal_uInt16 nWhich) const
 
std::vector< const SfxPoolItem * > FindItemSurrogate (sal_uInt16 nWhich, SfxPoolItem const &rNeedle) const
 
sal_uInt16 GetFirstWhich () const
 
sal_uInt16 GetLastWhich () const
 
bool IsInRange (sal_uInt16 nWhich) const
 
void SetSecondaryPool (SfxItemPool *pPool)
 
SfxItemPoolGetSecondaryPool () const
 
SfxItemPoolGetLastPoolInChain ()
 
SfxItemPoolGetMasterPool () const
 
void FreezeIdRanges ()
 
void Delete ()
 
bool IsItemPoolable (sal_uInt16 nWhich) const
 
bool IsItemPoolable (const SfxPoolItem &rItem) const
 
void SetItemInfos (const SfxItemInfo *pInfos)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
sal_uInt16 GetSlotId (sal_uInt16 nWhich) const
 
sal_uInt16 GetTrueWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
sal_uInt16 GetTrueSlotId (sal_uInt16 nWhich) const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

virtual ~SwAttrPool () override
 

Private Attributes

SwDocm_pDoc
 

Friends

void InitCore ()
 
void FinitCore ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxItemPool
static void ReleaseDefaults (std::vector< SfxPoolItem * > *pDefaults, bool bDelete=false)
 
static bool IsWhich (sal_uInt16 nId)
 
static bool IsSlot (sal_uInt16 nId)
 
- Protected Member Functions inherited from SfxItemPool
virtual const SfxPoolItemPutImpl (const SfxPoolItem &, sal_uInt16 nWhich=0, bool bPassingOwnership=false)
 
- Static Protected Member Functions inherited from SfxItemPool
static void ClearRefCount (SfxPoolItem &rItem)
 
static void AddRef (const SfxPoolItem &rItem)
 
static sal_uInt32 ReleaseRef (const SfxPoolItem &rItem, sal_uInt32 n=1)
 

Detailed Description

Definition at line 142 of file swatrset.hxx.

Constructor & Destructor Documentation

◆ SwAttrPool()

SwAttrPool::SwAttrPool ( SwDoc pDoc)

◆ ~SwAttrPool()

SwAttrPool::~SwAttrPool ( )
overrideprivatevirtual

Member Function Documentation

◆ GetDoc() [1/2]

SwDoc * SwAttrPool::GetDoc ( )
inline

Definition at line 156 of file swatrset.hxx.

Referenced by AttrSetHandleHelper::GetNewAutoStyle().

◆ GetDoc() [2/2]

const SwDoc * SwAttrPool::GetDoc ( ) const
inline

Definition at line 157 of file swatrset.hxx.

Friends And Related Function Documentation

◆ FinitCore

void FinitCore ( )
friend

Definition at line 684 of file init.cxx.

◆ InitCore

void InitCore ( )
friend

Definition at line 459 of file init.cxx.

Member Data Documentation

◆ m_pDoc

SwDoc* SwAttrPool::m_pDoc
private

Definition at line 148 of file swatrset.hxx.


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