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

#include <ulspitem.hxx>

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

Public Member Functions

 SvxULSpaceItem (const sal_uInt16 nId)
 
 SvxULSpaceItem (const sal_uInt16 nUp, const sal_uInt16 nLow, const sal_uInt16 nId)
 
virtual bool operator== (const SfxPoolItem &) 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 bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SvxULSpaceItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual void ScaleMetrics (tools::Long nMult, tools::Long nDiv) override
 
virtual bool HasMetrics () const override
 
void SetUpper (const sal_uInt16 nU, const sal_uInt16 nProp=100)
 
void SetLower (const sal_uInt16 nL, const sal_uInt16 nProp=100)
 
void SetUpperValue (const sal_uInt16 nU)
 
void SetLowerValue (const sal_uInt16 nL)
 
void SetContextValue (const bool bC)
 
void SetPropUpper (const sal_uInt16 nU)
 
void SetPropLower (const sal_uInt16 nL)
 
sal_uInt16 GetUpper () const
 
sal_uInt16 GetLower () const
 
bool GetContext () const
 
sal_uInt16 GetPropUpper () const
 
sal_uInt16 GetPropLower () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
virtual boost::property_tree::ptree dumpAsJSON () const override
 
- 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 ()
 

Private Attributes

sal_uInt16 nUpper
 
sal_uInt16 nLower
 
bool bContext
 
sal_uInt16 nPropUpper
 
sal_uInt16 nPropLower
 

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 35 of file ulspitem.hxx.

Constructor & Destructor Documentation

◆ SvxULSpaceItem() [1/2]

SvxULSpaceItem::SvxULSpaceItem ( const sal_uInt16  nId)
explicit

Definition at line 1664 of file frmitems.cxx.

References nId.

Referenced by Clone(), and CreateDefault().

◆ SvxULSpaceItem() [2/2]

SvxULSpaceItem::SvxULSpaceItem ( const sal_uInt16  nUp,
const sal_uInt16  nLow,
const sal_uInt16  nId 
)

Definition at line 1675 of file frmitems.cxx.

References nId.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 1788 of file frmitems.cxx.

References SvxULSpaceItem().

◆ CreateDefault()

SfxPoolItem * SvxULSpaceItem::CreateDefault ( )
static

Definition at line 92 of file frmitems.cxx.

References SvxULSpaceItem().

◆ dumpAsJSON()

boost::property_tree::ptree SvxULSpaceItem::dumpAsJSON ( ) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1880 of file frmitems.cxx.

References SfxPoolItem::dumpAsJSON(), GetLower(), GetMetricText(), and GetUpper().

◆ dumpAsXml()

void SvxULSpaceItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1868 of file frmitems.cxx.

References bContext, nLower, nPropLower, nPropUpper, nUpper, and SfxPoolItem::Which().

◆ GetContext()

bool SvxULSpaceItem::GetContext ( ) const
inline

Definition at line 74 of file ulspitem.hxx.

◆ GetLower()

sal_uInt16 SvxULSpaceItem::GetLower ( ) const
inline

◆ GetPresentation()

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

◆ GetPropLower()

sal_uInt16 SvxULSpaceItem::GetPropLower ( ) const
inline

Definition at line 76 of file ulspitem.hxx.

◆ GetPropUpper()

sal_uInt16 SvxULSpaceItem::GetPropUpper ( ) const
inline

Definition at line 75 of file ulspitem.hxx.

◆ GetUpper()

sal_uInt16 SvxULSpaceItem::GetUpper ( ) const
inline

Definition at line 72 of file ulspitem.hxx.

Referenced by ConvertItem(), and dumpAsJSON().

◆ HasMetrics()

bool SvxULSpaceItem::HasMetrics ( ) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1862 of file frmitems.cxx.

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 1776 of file frmitems.cxx.

References bContext, nLower, nPropLower, nPropUpper, and nUpper.

◆ PutValue()

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

◆ QueryValue()

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

◆ ScaleMetrics()

void SvxULSpaceItem::ScaleMetrics ( tools::Long  nMult,
tools::Long  nDiv 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1855 of file frmitems.cxx.

References nLower, nUpper, and BigInt::Scale().

◆ SetContextValue()

void SvxULSpaceItem::SetContextValue ( const bool  bC)
inline

Definition at line 68 of file ulspitem.hxx.

Referenced by PutValue().

◆ SetLower()

void SvxULSpaceItem::SetLower ( const sal_uInt16  nL,
const sal_uInt16  nProp = 100 
)
inline

Definition at line 86 of file ulspitem.hxx.

References nLower, and nPropLower.

Referenced by ConvertItem(), EditHTMLParser::ImpSetStyleSheet(), PutValue(), and SvxRTFParser::ReadAttr().

◆ SetLowerValue()

void SvxULSpaceItem::SetLowerValue ( const sal_uInt16  nL)
inline

Definition at line 67 of file ulspitem.hxx.

◆ SetPropLower()

void SvxULSpaceItem::SetPropLower ( const sal_uInt16  nL)
inline

Definition at line 70 of file ulspitem.hxx.

◆ SetPropUpper()

void SvxULSpaceItem::SetPropUpper ( const sal_uInt16  nU)
inline

Definition at line 69 of file ulspitem.hxx.

◆ SetUpper()

void SvxULSpaceItem::SetUpper ( const sal_uInt16  nU,
const sal_uInt16  nProp = 100 
)
inline

Definition at line 82 of file ulspitem.hxx.

References nPropUpper, and nUpper.

Referenced by ConvertItem(), EditHTMLParser::ImpSetStyleSheet(), PutValue(), and SvxRTFParser::ReadAttr().

◆ SetUpperValue()

void SvxULSpaceItem::SetUpperValue ( const sal_uInt16  nU)
inline

Definition at line 66 of file ulspitem.hxx.

Member Data Documentation

◆ bContext

bool SvxULSpaceItem::bContext
private

Definition at line 39 of file ulspitem.hxx.

Referenced by dumpAsXml(), operator==(), and QueryValue().

◆ nLower

sal_uInt16 SvxULSpaceItem::nLower
private

Definition at line 38 of file ulspitem.hxx.

Referenced by dumpAsXml(), GetPresentation(), operator==(), QueryValue(), ScaleMetrics(), and SetLower().

◆ nPropLower

sal_uInt16 SvxULSpaceItem::nPropLower
private

Definition at line 40 of file ulspitem.hxx.

Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetLower().

◆ nPropUpper

sal_uInt16 SvxULSpaceItem::nPropUpper
private

Definition at line 40 of file ulspitem.hxx.

Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), QueryValue(), and SetUpper().

◆ nUpper

sal_uInt16 SvxULSpaceItem::nUpper
private

Definition at line 37 of file ulspitem.hxx.

Referenced by dumpAsXml(), GetPresentation(), operator==(), QueryValue(), ScaleMetrics(), and SetUpper().


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