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

#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 SfxPoolItemClone (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)
 
- Public Member Functions inherited from CntUnencodedStringItem
 CntUnencodedStringItem (sal_uInt16 which)
 
 CntUnencodedStringItem (sal_uInt16 which, const OUString &rTheValue)
 
virtual bool operator< (const SfxPoolItem &rItem) const override
 
virtual bool IsSortable () 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
 
bool operator!= (const SfxPoolItem &rItem) 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 bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 
- Static Public Member Functions inherited from SfxStringItem
static SfxPoolItemCreateDefault ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 130 of file paratr.hxx.

Constructor & Destructor Documentation

SwNumRuleItem::SwNumRuleItem ( )
inline

Definition at line 135 of file paratr.hxx.

Referenced by Clone(), and CreateDefault().

SwNumRuleItem::SwNumRuleItem ( const OUString &  rRuleName)
inline

Definition at line 138 of file paratr.hxx.

SwNumRuleItem::SwNumRuleItem ( SwNumRuleItem const &  )
default

Member Function Documentation

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

Reimplemented from SfxStringItem.

Definition at line 199 of file paratr.cxx.

References SwNumRuleItem().

SfxPoolItem * SwNumRuleItem::CreateDefault ( )
static

Definition at line 38 of file paratr.cxx.

References SwNumRuleItem().

void SwNumRuleItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxStringItem.

Definition at line 225 of file paratr.cxx.

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

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

Reimplemented from CntUnencodedStringItem.

Definition at line 186 of file attrdesc.cxx.

References GetValue, and SwResId().

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

"pure virtual methods" of SfxPoolItem

Reimplemented from CntUnencodedStringItem.

Definition at line 203 of file paratr.cxx.

References CntUnencodedStringItem::GetValue().

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

Reimplemented from CntUnencodedStringItem.

Definition at line 217 of file paratr.cxx.

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

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

Reimplemented from CntUnencodedStringItem.

Definition at line 210 of file paratr.cxx.

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


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