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

#include <rulritem.hxx>

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

Public Member Functions

 SvxLongULSpaceItem (tools::Long lUpper, tools::Long lLower, TypedWhichId< SvxLongULSpaceItem > nId)
 
 SvxLongULSpaceItem ()
 
 SvxLongULSpaceItem (SvxLongULSpaceItem const &)=default
 
virtual SvxLongULSpaceItemClone (SfxItemPool *pPool=nullptr) const override
 
tools::Long GetUpper () const
 
tools::Long GetLower () const
 
void SetUpper (tools::Long lArgLeft)
 
void SetLower (tools::Long lArgRight)
 
- 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 Member Functions

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
 
const SvxLongULSpaceItemoperator= (const SvxLongULSpaceItem &)=delete
 

Private Attributes

tools::Long mlLeft
 
tools::Long mlRight
 

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 57 of file rulritem.hxx.

Constructor & Destructor Documentation

◆ SvxLongULSpaceItem() [1/3]

SvxLongULSpaceItem::SvxLongULSpaceItem ( tools::Long  lUpper,
tools::Long  lLower,
TypedWhichId< SvxLongULSpaceItem nId 
)

Definition at line 256 of file rulritem.cxx.

References nId.

◆ SvxLongULSpaceItem() [2/3]

SvxLongULSpaceItem::SvxLongULSpaceItem ( )

Definition at line 262 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

◆ SvxLongULSpaceItem() [3/3]

SvxLongULSpaceItem::SvxLongULSpaceItem ( SvxLongULSpaceItem const &  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 251 of file rulritem.cxx.

References SvxLongULSpaceItem().

◆ CreateDefault()

SfxPoolItem * SvxLongULSpaceItem::CreateDefault ( )
static

Definition at line 34 of file rulritem.cxx.

References SvxLongULSpaceItem().

◆ GetLower()

tools::Long SvxLongULSpaceItem::GetLower ( ) const
inline

Definition at line 82 of file rulritem.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 241 of file rulritem.cxx.

◆ GetUpper()

tools::Long SvxLongULSpaceItem::GetUpper ( ) const
inline

Definition at line 81 of file rulritem.hxx.

◆ operator=()

const SvxLongULSpaceItem & SvxLongULSpaceItem::operator= ( const SvxLongULSpaceItem )
privatedelete

◆ operator==()

bool SvxLongULSpaceItem::operator== ( const SfxPoolItem rCmp) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 161 of file rulritem.cxx.

References mlLeft, mlRight, and SfxPoolItem::operator==().

◆ PutValue()

bool SvxLongULSpaceItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overrideprivatevirtual

Reimplemented from SfxPoolItem.

Definition at line 201 of file rulritem.cxx.

References CONVERT_TWIPS, mlLeft, mlRight, o3tl::mm100, and o3tl::toTwips().

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 168 of file rulritem.cxx.

References CONVERT_TWIPS, convertTwipToMm100(), mlLeft, and mlRight.

◆ SetLower()

void SvxLongULSpaceItem::SetLower ( tools::Long  lArgRight)

Definition at line 274 of file rulritem.cxx.

References mlRight.

◆ SetUpper()

void SvxLongULSpaceItem::SetUpper ( tools::Long  lArgLeft)

Definition at line 269 of file rulritem.cxx.

References mlLeft.

Member Data Documentation

◆ mlLeft

tools::Long SvxLongULSpaceItem::mlLeft
private

Definition at line 59 of file rulritem.hxx.

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

◆ mlRight

tools::Long SvxLongULSpaceItem::mlRight
private

Definition at line 60 of file rulritem.hxx.

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


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