LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwPtrItem Class Reference

#include <uiitems.hxx>

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

Public Member Functions

 SwPtrItem (const sal_uInt16 nId, void *pPtr)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
voidGetValue () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool IsVoidItem () const
 

Private Attributes

void *const pMisc
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 61 of file uiitems.hxx.

Constructor & Destructor Documentation

SwPtrItem::SwPtrItem ( const sal_uInt16  nId,
void pPtr 
)

Definition at line 192 of file uiitems.cxx.

Referenced by Clone().

Member Function Documentation

SfxPoolItem * SwPtrItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 200 of file uiitems.cxx.

References SwPtrItem().

void* SwPtrItem::GetValue ( ) const
inline

Definition at line 71 of file uiitems.hxx.

bool SwPtrItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 205 of file uiitems.cxx.

References SfxPoolItem::operator==(), and pMisc.

Member Data Documentation

void* const SwPtrItem::pMisc
private

Definition at line 63 of file uiitems.hxx.

Referenced by operator==().


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