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

#include <ccoll.hxx>

Inheritance diagram for SwCondCollItem:
Collaboration diagram for SwCondCollItem:

Public Member Functions

 SwCondCollItem ()
virtual ~SwCondCollItem () override
 SwCondCollItem (SwCondCollItem const &)=default
 SwCondCollItem (SwCondCollItem &&)=default
SwCondCollItemoperator= (SwCondCollItem const &)=delete
SwCondCollItemoperator= (SwCondCollItem &&)=delete
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
virtual bool operator== (const SfxPoolItem &) const override
OUString GetStyle (sal_uInt16 nPos) const
void SetStyle (const OUString *pStyle, sal_uInt16 nPos)
- 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

Static Public Member Functions

static const CommandStructGetCmds ()

Private Attributes


Static Private Attributes

static const CommandStruct aCmds [COND_COMMAND_COUNT]

Additional Inherited Members

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

Detailed Description

Definition at line 40 of file ccoll.hxx.

Constructor & Destructor Documentation

SwCondCollItem::SwCondCollItem ( )

Definition at line 134 of file ccoll.cxx.

Referenced by Clone().

SwCondCollItem::~SwCondCollItem ( )

Definition at line 139 of file ccoll.cxx.

SwCondCollItem::SwCondCollItem ( SwCondCollItem const &  )
SwCondCollItem::SwCondCollItem ( SwCondCollItem &&  )

Member Function Documentation

SfxPoolItem * SwCondCollItem::Clone ( SfxItemPool pPool = nullptr) const

Implements SfxPoolItem.

Definition at line 143 of file ccoll.cxx.

References SwCondCollItem().

static const CommandStruct* SwCondCollItem::GetCmds ( )
OUString SwCondCollItem::GetStyle ( sal_uInt16  nPos) const

Definition at line 163 of file ccoll.cxx.

References COND_COMMAND_COUNT, and m_sStyles.

Referenced by SwDocStyleSheet::SetItemSet().

SwCondCollItem& SwCondCollItem::operator= ( SwCondCollItem const &  )
SwCondCollItem& SwCondCollItem::operator= ( SwCondCollItem &&  )
bool SwCondCollItem::operator== ( const SfxPoolItem rItem) const

Implements SfxPoolItem.

Definition at line 148 of file ccoll.cxx.

References COND_COMMAND_COUNT, i, and m_sStyles.

void SwCondCollItem::SetStyle ( const OUString *  pStyle,
sal_uInt16  nPos 

Definition at line 169 of file ccoll.cxx.

References COND_COMMAND_COUNT, and m_sStyles.

Referenced by SwCondCollPage::FillItemSet(), and SwXStyle::SetPropertyValue().

Member Data Documentation

const CommandStruct SwCondCollItem::aCmds

Definition at line 42 of file ccoll.hxx.

OUString SwCondCollItem::m_sStyles[COND_COMMAND_COUNT]

Definition at line 44 of file ccoll.hxx.

Referenced by GetStyle(), operator==(), and SetStyle().

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