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

#include <ccoll.hxx>

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

Public Member Functions

 SwCondCollItem ()
 
virtual ~SwCondCollItem () override
 
 SwCondCollItem (SwCondCollItem const &)=default
 
 SwCondCollItem (SwCondCollItem &&)=default
 
SwCondCollItemoperator= (SwCondCollItem const &)=delete
 
SwCondCollItemoperator= (SwCondCollItem &&)=delete
 
virtual SwCondCollItemClone (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
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::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)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
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 boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Static Public Member Functions

static const CommandStructGetCmds ()
 

Private Attributes

OUString m_sStyles [COND_COMMAND_COUNT]
 

Static Private Attributes

static const CommandStruct s_aCmds [COND_COMMAND_COUNT]
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- 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() [1/3]

SwCondCollItem::SwCondCollItem ( )

Definition at line 120 of file ccoll.cxx.

Referenced by Clone().

◆ ~SwCondCollItem()

SwCondCollItem::~SwCondCollItem ( )
overridevirtual

Definition at line 125 of file ccoll.cxx.

◆ SwCondCollItem() [2/3]

SwCondCollItem::SwCondCollItem ( SwCondCollItem const &  )
default

◆ SwCondCollItem() [3/3]

SwCondCollItem::SwCondCollItem ( SwCondCollItem &&  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 129 of file ccoll.cxx.

References SwCondCollItem().

◆ GetCmds()

static const CommandStruct * SwCondCollItem::GetCmds ( )
inlinestatic

Definition at line 58 of file ccoll.hxx.

Referenced by SwDocStyleSheet::SetItemSet().

◆ GetStyle()

OUString SwCondCollItem::GetStyle ( sal_uInt16  nPos) const

Definition at line 149 of file ccoll.cxx.

References COND_COMMAND_COUNT, m_sStyles, and nPos.

Referenced by SwDocStyleSheet::SetItemSet().

◆ operator=() [1/2]

SwCondCollItem & SwCondCollItem::operator= ( SwCondCollItem &&  )
delete

◆ operator=() [2/2]

SwCondCollItem & SwCondCollItem::operator= ( SwCondCollItem const &  )
delete

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 134 of file ccoll.cxx.

References COND_COMMAND_COUNT, i, and m_sStyles.

◆ SetStyle()

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

Definition at line 155 of file ccoll.cxx.

References COND_COMMAND_COUNT, m_sStyles, and nPos.

Referenced by SwCondCollPage::FillItemSet().

Member Data Documentation

◆ m_sStyles

OUString SwCondCollItem::m_sStyles[COND_COMMAND_COUNT]
private

Definition at line 44 of file ccoll.hxx.

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

◆ s_aCmds

const CommandStruct SwCondCollItem::s_aCmds
staticprivate

Definition at line 42 of file ccoll.hxx.


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