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 rtl::Reference< SfxItemPoolClone () const override
 
- 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
 

Protected Member Functions

virtual ~XOutdevItemPool () override
 
- Protected Member Functions inherited from 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 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() [1/2]

XOutdevItemPool::XOutdevItemPool ( SfxItemPool pMaster)

Definition at line 70 of file xpool.cxx.

References COL_BLACK(), COL_DEFAULT_SHAPE_FILLING, COL_DEFAULT_SHAPE_STROKE, COL_LIGHTGRAY(), Color::getBColor(), SfxItemPool::GetFirstWhich(), SfxItemPool::GetLastPoolInChain(), SfxItemPool::GetLastWhich(), i, mpLocalItemInfos, mpLocalPoolDefaults, SfxItemPool::SetDefaults(), SfxItemPool::SetItemInfos(), SfxItemPool::SetSecondaryPool(), XATTR_END, XATTR_FILLBACKGROUND(), XATTR_FILLBITMAP(), XATTR_FILLBMP_POS(), XATTR_FILLBMP_POSOFFSETX(), XATTR_FILLBMP_POSOFFSETY(), XATTR_FILLBMP_SIZELOG(), XATTR_FILLBMP_SIZEX(), XATTR_FILLBMP_SIZEY(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), XATTR_FILLBMP_TILEOFFSETX(), XATTR_FILLBMP_TILEOFFSETY(), XATTR_FILLCOLOR(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_FILLSTYLE(), XATTR_FILLTRANSPARENCE(), XATTR_FILLUSESLIDEBACKGROUND(), XATTR_FORMTXTADJUST(), XATTR_FORMTXTDISTANCE(), XATTR_FORMTXTHIDEFORM(), XATTR_FORMTXTMIRROR(), XATTR_FORMTXTOUTLINE(), XATTR_FORMTXTSHADOW(), XATTR_FORMTXTSHDWCOLOR(), XATTR_FORMTXTSHDWTRANSP(), XATTR_FORMTXTSHDWXVAL(), XATTR_FORMTXTSHDWYVAL(), XATTR_FORMTXTSTART(), XATTR_FORMTXTSTYLE(), XATTR_GRADIENTSTEPCOUNT(), XATTR_LINECAP(), XATTR_LINECOLOR(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINEENDCENTER(), XATTR_LINEENDWIDTH(), XATTR_LINEJOINT(), XATTR_LINESTART(), XATTR_LINESTARTCENTER(), XATTR_LINESTARTWIDTH(), XATTR_LINESTYLE(), XATTR_LINETRANSPARENCE(), XATTR_LINEWIDTH(), XATTR_SECONDARYFILLCOLOR(), XATTR_START, XATTRSET_FILL(), and XATTRSET_LINE().

Referenced by Clone().

◆ XOutdevItemPool() [2/2]

XOutdevItemPool::XOutdevItemPool ( const XOutdevItemPool rPool)

Definition at line 210 of file xpool.cxx.

◆ ~XOutdevItemPool()

XOutdevItemPool::~XOutdevItemPool ( )
overrideprotectedvirtual

Definition at line 221 of file xpool.cxx.

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

Member Function Documentation

◆ Clone()

rtl::Reference< SfxItemPool > XOutdevItemPool::Clone ( ) const
overridevirtual

Reimplemented from SfxItemPool.

Reimplemented in SdrItemPool.

Definition at line 216 of file xpool.cxx.

References XOutdevItemPool().

Member Data Documentation

◆ mpLocalItemInfos

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

Definition at line 37 of file xpool.hxx.

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

◆ mpLocalPoolDefaults

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: