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

#include <rulritem.hxx>

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

Public Member Functions

 SvxLongLRSpaceItem (tools::Long lLeft, tools::Long lRight, TypedWhichId< SvxLongLRSpaceItem > nId)
 
 SvxLongLRSpaceItem ()
 
 SvxLongLRSpaceItem (SvxLongLRSpaceItem const &)=default
 
virtual SvxLongLRSpaceItemClone (SfxItemPool *pPool=nullptr) const override
 
tools::Long GetLeft () const
 
tools::Long GetRight () const
 
void SetLeft (tools::Long lArgLeft)
 
void SetRight (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 SvxLongLRSpaceItemoperator= (const SvxLongLRSpaceItem &)=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 27 of file rulritem.hxx.

Constructor & Destructor Documentation

◆ SvxLongLRSpaceItem() [1/3]

SvxLongLRSpaceItem::SvxLongLRSpaceItem ( tools::Long  lLeft,
tools::Long  lRight,
TypedWhichId< SvxLongLRSpaceItem nId 
)

Definition at line 137 of file rulritem.cxx.

References nId.

◆ SvxLongLRSpaceItem() [2/3]

SvxLongLRSpaceItem::SvxLongLRSpaceItem ( )

Definition at line 143 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

◆ SvxLongLRSpaceItem() [3/3]

SvxLongLRSpaceItem::SvxLongLRSpaceItem ( SvxLongLRSpaceItem const &  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 132 of file rulritem.cxx.

References SvxLongLRSpaceItem().

◆ CreateDefault()

SfxPoolItem * SvxLongLRSpaceItem::CreateDefault ( )
static

Definition at line 33 of file rulritem.cxx.

References SvxLongLRSpaceItem().

◆ GetLeft()

tools::Long SvxLongLRSpaceItem::GetLeft ( ) const
inline

Definition at line 51 of file rulritem.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 122 of file rulritem.cxx.

◆ GetRight()

tools::Long SvxLongLRSpaceItem::GetRight ( ) const
inline

Definition at line 52 of file rulritem.hxx.

◆ operator=()

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

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 40 of file rulritem.cxx.

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

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 82 of file rulritem.cxx.

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

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 47 of file rulritem.cxx.

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

◆ SetLeft()

void SvxLongLRSpaceItem::SetLeft ( tools::Long  lArgLeft)

Definition at line 149 of file rulritem.cxx.

References mlLeft.

◆ SetRight()

void SvxLongLRSpaceItem::SetRight ( tools::Long  lArgRight)

Definition at line 154 of file rulritem.cxx.

References mlRight.

Member Data Documentation

◆ mlLeft

tools::Long SvxLongLRSpaceItem::mlLeft
private

Definition at line 29 of file rulritem.hxx.

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

◆ mlRight

tools::Long SvxLongLRSpaceItem::mlRight
private

Definition at line 30 of file rulritem.hxx.

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


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