LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XOutdevItemPool Class Reference

#include <xpool.hxx>

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

Public Member Functions

 XOutdevItemPool (SfxItemPool *pMaster)
 
 XOutdevItemPool (const XOutdevItemPool &rPool)
 
virtual SfxItemPoolClone () const override
 
- Public Member Functions inherited from SfxItemPool
void AddSfxItemPoolUser (SfxItemPoolUser &rNewUser)
 
void RemoveSfxItemPoolUser (SfxItemPoolUser &rOldUser)
 
void FillItemIdRanges_Impl (std::unique_ptr< sal_uInt16[]> &pWhichRanges) const
 
const sal_uInt16 * GetFrozenIdRanges () 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)
 
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)
 
virtual bool GetPresentation (const SfxPoolItem &rItem, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) 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
 
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
 
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
 

Protected Member Functions

virtual ~XOutdevItemPool () override
 
- Protected Member Functions inherited from SfxItemPool
virtual ~SfxItemPool ()
 
virtual const SfxPoolItemPutImpl (const SfxPoolItem &, sal_uInt16 nWhich=0, bool bPassingOwnership=false)
 

Protected Attributes

std::vector< SfxPoolItem * > * mpLocalPoolDefaults
 
std::unique_ptr< SfxItemInfo[]> mpLocalItemInfos
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxItemPool
static void Free (SfxItemPool *pPool)
 
static void ReleaseDefaults (std::vector< SfxPoolItem * > *pDefaults, bool bDelete=false)
 
static bool IsWhich (sal_uInt16 nId)
 
static bool IsSlot (sal_uInt16 nId)
 
- 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 33 of file xpool.hxx.

Constructor & Destructor Documentation

XOutdevItemPool::XOutdevItemPool ( SfxItemPool pMaster)
XOutdevItemPool::XOutdevItemPool ( const XOutdevItemPool rPool)

Definition at line 208 of file xpool.cxx.

XOutdevItemPool::~XOutdevItemPool ( )
overrideprotectedvirtual

Definition at line 219 of file xpool.cxx.

References SfxItemPool::Delete(), and SfxItemPool::ReleaseDefaults().

Member Function Documentation

SfxItemPool * XOutdevItemPool::Clone ( ) const
overridevirtual

Reimplemented from SfxItemPool.

Reimplemented in SdrItemPool.

Definition at line 214 of file xpool.cxx.

References XOutdevItemPool().

Member Data Documentation

std::unique_ptr<SfxItemInfo[]> XOutdevItemPool::mpLocalItemInfos
protected

Definition at line 37 of file xpool.hxx.

Referenced by SdrItemPool::SdrItemPool(), and XOutdevItemPool().

std::vector<SfxPoolItem*>* XOutdevItemPool::mpLocalPoolDefaults
protected

Definition at line 36 of file xpool.hxx.

Referenced by SdrItemPool::SdrItemPool(), and XOutdevItemPool().


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