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

#include <paratr.hxx>

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

Public Member Functions

 SwNumRuleItem ()
 
 SwNumRuleItem (const OUString &rRuleName)
 
 SwNumRuleItem (SwNumRuleItem const &)=default
 
virtual bool operator== (const SfxPoolItem &) const override
 "pure virtual methods" of SfxPoolItem More...
 
virtual SwNumRuleItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) 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
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SfxStringItem
 SfxStringItem (sal_uInt16 which=0)
 
 SfxStringItem (sal_uInt16 which, const OUString &rValue)
 
virtual SfxStringItemClone (SfxItemPool *=nullptr) const override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from CntUnencodedStringItem
 CntUnencodedStringItem (sal_uInt16 which)
 
 CntUnencodedStringItem (sal_uInt16 which, OUString aTheValue)
 
virtual bool operator== (const SfxPoolItem &rItem) const override
 
virtual bool operator< (const SfxPoolItem &rItem) const override
 
virtual bool IsSortable () const override
 
virtual bool GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) 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
 
virtual CntUnencodedStringItemClone (SfxItemPool *=nullptr) const override
 
const OUString & GetValue () const
 
void SetValue (const OUString &rTheValue)
 
- 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 SfxPoolItemCreateDefault ()
 
- Static Public Member Functions inherited from SfxStringItem
static SfxPoolItemCreateDefault ()
 

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 153 of file paratr.hxx.

Constructor & Destructor Documentation

◆ SwNumRuleItem() [1/3]

SwNumRuleItem::SwNumRuleItem ( )
inline

Definition at line 158 of file paratr.hxx.

Referenced by Clone(), and CreateDefault().

◆ SwNumRuleItem() [2/3]

SwNumRuleItem::SwNumRuleItem ( const OUString &  rRuleName)
inline

Definition at line 161 of file paratr.hxx.

◆ SwNumRuleItem() [3/3]

SwNumRuleItem::SwNumRuleItem ( SwNumRuleItem const &  )
default

References Clone(), and operator==().

Member Function Documentation

◆ Clone()

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

Reimplemented from SfxStringItem.

Definition at line 181 of file paratr.cxx.

References SwNumRuleItem().

◆ CreateDefault()

SfxPoolItem * SwNumRuleItem::CreateDefault ( )
static

Definition at line 36 of file paratr.cxx.

References SwNumRuleItem().

◆ dumpAsXml()

void SwNumRuleItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxStringItem.

Definition at line 208 of file paratr.cxx.

References CntUnencodedStringItem::GetValue(), and SfxPoolItem::Which().

◆ GetPresentation()

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

Reimplemented from CntUnencodedStringItem.

Definition at line 183 of file attrdesc.cxx.

References CntUnencodedStringItem::GetValue(), and SwResId().

◆ operator==()

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

"pure virtual methods" of SfxPoolItem

Reimplemented from CntUnencodedStringItem.

Definition at line 186 of file paratr.cxx.

References CntUnencodedStringItem::GetValue().

◆ PutValue()

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

Reimplemented from CntUnencodedStringItem.

Definition at line 200 of file paratr.cxx.

References SwStyleNameMapper::GetUIName(), NumRule, and CntUnencodedStringItem::SetValue().

◆ QueryValue()

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

Reimplemented from CntUnencodedStringItem.

Definition at line 193 of file paratr.cxx.

References SwStyleNameMapper::GetProgName(), CntUnencodedStringItem::GetValue(), and NumRule.


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