LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScMessagePool Class Referencefinal

#include <msgpool.hxx>

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

Public Member Functions

 ScMessagePool ()
 
virtual MapUnit GetMetric (sal_uInt16 nWhich) 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)
 
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
 
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 ~ScMessagePool () override
 

Private Attributes

SfxStringItem aGlobalStringItem
 
SvxSearchItem aGlobalSearchItem
 
ScSortItem aGlobalSortItem
 
ScQueryItem aGlobalQueryItem
 
ScSubTotalItem aGlobalSubTotalItem
 
ScConsolidateItem aGlobalConsolidateItem
 
ScPivotItem aGlobalPivotItem
 
ScSolveItem aGlobalSolveItem
 
ScUserListItem aGlobalUserListItem
 
ScCondFormatDlgItem aCondFormatDlgItem
 
std::vector< SfxPoolItem * > mvPoolDefaults
 
rtl::Reference< ScDocumentPoolpDocPool
 

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 32 of file msgpool.hxx.

Constructor & Destructor Documentation

ScMessagePool::ScMessagePool ( )
ScMessagePool::~ScMessagePool ( )
overrideprivatevirtual

Member Function Documentation

MapUnit ScMessagePool::GetMetric ( sal_uInt16  nWhich) const
overridevirtual

Reimplemented from SfxItemPool.

Definition at line 84 of file msgpool.cxx.

References ATTR_ENDINDEX(), and ATTR_STARTINDEX().

Member Data Documentation

ScCondFormatDlgItem ScMessagePool::aCondFormatDlgItem
private

Definition at line 43 of file msgpool.hxx.

Referenced by ScMessagePool().

ScConsolidateItem ScMessagePool::aGlobalConsolidateItem
private

Definition at line 39 of file msgpool.hxx.

Referenced by ScMessagePool().

ScPivotItem ScMessagePool::aGlobalPivotItem
private

Definition at line 40 of file msgpool.hxx.

Referenced by ScMessagePool().

ScQueryItem ScMessagePool::aGlobalQueryItem
private

Definition at line 37 of file msgpool.hxx.

Referenced by ScMessagePool().

SvxSearchItem ScMessagePool::aGlobalSearchItem
private

Definition at line 35 of file msgpool.hxx.

Referenced by ScMessagePool().

ScSolveItem ScMessagePool::aGlobalSolveItem
private

Definition at line 41 of file msgpool.hxx.

Referenced by ScMessagePool().

ScSortItem ScMessagePool::aGlobalSortItem
private

Definition at line 36 of file msgpool.hxx.

Referenced by ScMessagePool().

SfxStringItem ScMessagePool::aGlobalStringItem
private

Definition at line 34 of file msgpool.hxx.

Referenced by ScMessagePool().

ScSubTotalItem ScMessagePool::aGlobalSubTotalItem
private

Definition at line 38 of file msgpool.hxx.

Referenced by ScMessagePool().

ScUserListItem ScMessagePool::aGlobalUserListItem
private

Definition at line 42 of file msgpool.hxx.

Referenced by ScMessagePool().

std::vector<SfxPoolItem*> ScMessagePool::mvPoolDefaults
private

Definition at line 45 of file msgpool.hxx.

Referenced by ScMessagePool(), and ~ScMessagePool().

rtl::Reference<ScDocumentPool> ScMessagePool::pDocPool
private

Definition at line 46 of file msgpool.hxx.

Referenced by ScMessagePool().


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