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 (long lUpper, long lLower, sal_uInt16 nId)
 
 SvxLongULSpaceItem ()
 
long GetUpper () const
 
long GetLower () const
 
void SetUpper (long lArgLeft)
 
void SetLower (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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () 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 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
 
virtual SvxLongULSpaceItemClone (SfxItemPool *pPool=nullptr) const override
 
const SvxLongULSpaceItemoperator= (const SvxLongULSpaceItem &)=delete
 

Private Attributes

long mlLeft
 
long mlRight
 

Additional Inherited Members

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

Detailed Description

Definition at line 56 of file rulritem.hxx.

Constructor & Destructor Documentation

SvxLongULSpaceItem::SvxLongULSpaceItem ( long  lUpper,
long  lLower,
sal_uInt16  nId 
)

Definition at line 256 of file rulritem.cxx.

SvxLongULSpaceItem::SvxLongULSpaceItem ( )

Definition at line 262 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 251 of file rulritem.cxx.

References SvxLongULSpaceItem().

SfxPoolItem * SvxLongULSpaceItem::CreateDefault ( )
static

Definition at line 34 of file rulritem.cxx.

References SvxLongULSpaceItem().

long SvxLongULSpaceItem::GetLower ( ) const
inline

Definition at line 80 of file rulritem.hxx.

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.

long SvxLongULSpaceItem::GetUpper ( ) const
inline

Definition at line 79 of file rulritem.hxx.

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

Implements SfxPoolItem.

Definition at line 161 of file rulritem.cxx.

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

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, convertMm100ToTwip(), mlLeft, and mlRight.

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.

void SvxLongULSpaceItem::SetLower ( long  lArgRight)

Definition at line 274 of file rulritem.cxx.

References mlRight.

void SvxLongULSpaceItem::SetUpper ( long  lArgLeft)

Definition at line 269 of file rulritem.cxx.

References mlLeft.

Member Data Documentation

long SvxLongULSpaceItem::mlLeft
private

Definition at line 58 of file rulritem.hxx.

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

long SvxLongULSpaceItem::mlRight
private

Definition at line 59 of file rulritem.hxx.

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


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