LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvxColorListItem Class Referencefinal

#include <drawitem.hxx>

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

Public Member Functions

 SvxColorListItem ()
 
 SvxColorListItem (XColorListRef const &pTable, sal_uInt16 nWhich)
 
 SvxColorListItem (const SvxColorListItem &)
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
const XColorListRefGetColorList () 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 void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
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
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

XColorListRef pColorList
 

Additional Inherited Members

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

Detailed Description

Definition at line 26 of file drawitem.hxx.

Constructor & Destructor Documentation

SvxColorListItem::SvxColorListItem ( )

Definition at line 35 of file drawitem.cxx.

Referenced by Clone(), and CreateDefault().

SvxColorListItem::SvxColorListItem ( XColorListRef const &  pTable,
sal_uInt16  nWhich 
)

Definition at line 40 of file drawitem.cxx.

SvxColorListItem::SvxColorListItem ( const SvxColorListItem rItem)

Definition at line 47 of file drawitem.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 71 of file drawitem.cxx.

References SvxColorListItem().

SfxPoolItem * SvxColorListItem::CreateDefault ( )
static

Definition at line 27 of file drawitem.cxx.

References SvxColorListItem().

const XColorListRef& SvxColorListItem::GetColorList ( ) const
inline

Definition at line 48 of file drawitem.hxx.

bool SvxColorListItem::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper  
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 54 of file drawitem.cxx.

bool SvxColorListItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 65 of file drawitem.cxx.

References pColorList.

virtual bool SvxColorListItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

virtual bool SvxColorListItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Member Data Documentation

XColorListRef SvxColorListItem::pColorList
private

Definition at line 28 of file drawitem.hxx.

Referenced by operator==().


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