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

#include <escapementitem.hxx>

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

Public Member Functions

 SvxEscapementItem (const sal_uInt16 nId)
 
 SvxEscapementItem (const SvxEscapement eEscape, const sal_uInt16 nId)
 
 SvxEscapementItem (const short nEsc, const sal_uInt8 nProp, const sal_uInt16 nId)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, 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 SvxEscapementItemClone (SfxItemPool *pPool=nullptr) const override
 
void SetEscapement (const SvxEscapement eNew)
 
SvxEscapement GetEscapement () const
 
short & GetEsc ()
 
short GetEsc () const
 
sal_uInt8GetProportionalHeight ()
 
sal_uInt8 GetProportionalHeight () const
 
virtual sal_uInt16 GetValueCount () const override
 
virtual sal_uInt16 GetEnumValue () const override
 
virtual void SetEnumValue (sal_uInt16 nNewVal) override
 
- Public Member Functions inherited from SfxEnumItemInterface
virtual bool operator== (const SfxPoolItem &rItem) const override
 
virtual bool GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8) override
 
virtual sal_uInt16 GetValueCount () const=0
 
virtual sal_uInt16 GetEnumValue () const=0
 
virtual void SetEnumValue (sal_uInt16 nValue)=0
 
virtual bool HasBoolValue () const
 
virtual bool GetBoolValue () const
 
virtual void SetBoolValue (bool bValue)
 
- 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 OUString GetValueTextByPos (sal_uInt16 nPos)
 

Private Attributes

short nEsc
 
sal_uInt8 nProp
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxEnumItemInterface
 SfxEnumItemInterface (sal_uInt16 which)
 
 SfxEnumItemInterface (const SfxEnumItemInterface &)=default
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 40 of file escapementitem.hxx.

Constructor & Destructor Documentation

◆ SvxEscapementItem() [1/3]

SvxEscapementItem::SvxEscapementItem ( const sal_uInt16  nId)
explicit

Definition at line 1798 of file textitem.cxx.

References nId.

Referenced by Clone(), and CreateDefault().

◆ SvxEscapementItem() [2/3]

SvxEscapementItem::SvxEscapementItem ( const SvxEscapement  eEscape,
const sal_uInt16  nId 
)

Definition at line 1807 of file textitem.cxx.

References DFLT_ESC_PROP, nEsc, nId, nProp, and SetEscapement().

◆ SvxEscapementItem() [3/3]

SvxEscapementItem::SvxEscapementItem ( const short  nEsc,
const sal_uInt8  nProp,
const sal_uInt16  nId 
)

Definition at line 1818 of file textitem.cxx.

References nId.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 1836 of file textitem.cxx.

References SvxEscapementItem().

◆ CreateDefault()

SfxPoolItem * SvxEscapementItem::CreateDefault ( )
static

Definition at line 102 of file textitem.cxx.

References SvxEscapementItem().

◆ GetEnumValue()

sal_uInt16 SvxEscapementItem::GetEnumValue ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 1881 of file textitem.cxx.

References nEsc, Off, Subscript, and Superscript.

Referenced by GetPresentation().

◆ GetEsc() [1/2]

short & SvxEscapementItem::GetEsc ( )
inline

Definition at line 83 of file escapementitem.hxx.

Referenced by CreateFont(), and SvxRTFParser::ReadAttr().

◆ GetEsc() [2/2]

short SvxEscapementItem::GetEsc ( ) const
inline

Definition at line 84 of file escapementitem.hxx.

◆ GetEscapement()

SvxEscapement SvxEscapementItem::GetEscapement ( ) const
inline

Definition at line 81 of file escapementitem.hxx.

References SfxEnumItemInterface::GetEnumValue().

◆ GetPresentation()

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

◆ GetProportionalHeight() [1/2]

sal_uInt8 & SvxEscapementItem::GetProportionalHeight ( )
inline

Definition at line 86 of file escapementitem.hxx.

Referenced by CreateFont(), and SvxRTFParser::ReadAttr().

◆ GetProportionalHeight() [2/2]

sal_uInt8 SvxEscapementItem::GetProportionalHeight ( ) const
inline

Definition at line 87 of file escapementitem.hxx.

◆ GetValueCount()

sal_uInt16 SvxEscapementItem::GetValueCount ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 1841 of file textitem.cxx.

References End.

◆ GetValueTextByPos()

OUString SvxEscapementItem::GetValueTextByPos ( sal_uInt16  nPos)
static

Definition at line 1867 of file textitem.cxx.

References EditResId(), End, nPos, and SAL_N_ELEMENTS.

Referenced by GetPresentation().

◆ operator==()

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

Reimplemented from SfxEnumItemInterface.

Definition at line 1828 of file textitem.cxx.

References nEsc, and nProp.

◆ PutValue()

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

◆ QueryValue()

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

Reimplemented from SfxEnumItemInterface.

Definition at line 1896 of file textitem.cxx.

References DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, MID_AUTO_ESC, MID_ESC, MID_ESC_HEIGHT, nEsc, and nProp.

◆ SetEnumValue()

void SvxEscapementItem::SetEnumValue ( sal_uInt16  nNewVal)
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 1891 of file textitem.cxx.

References SetEscapement().

◆ SetEscapement()

void SvxEscapementItem::SetEscapement ( const SvxEscapement  eNew)
inline

Definition at line 65 of file escapementitem.hxx.

References DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, DFLT_ESC_PROP, Off, and Superscript.

Referenced by SetEnumValue(), and SvxEscapementItem().

Member Data Documentation

◆ nEsc

short SvxEscapementItem::nEsc
private

◆ nProp

sal_uInt8 SvxEscapementItem::nProp
private

Definition at line 43 of file escapementitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxEscapementItem().


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