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

Constructor & Destructor Documentation

SvxLongLRSpaceItem::SvxLongLRSpaceItem ( long  lLeft,
long  lRight,
sal_uInt16  nId 
)

Definition at line 137 of file rulritem.cxx.

SvxLongLRSpaceItem::SvxLongLRSpaceItem ( )

Definition at line 143 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 132 of file rulritem.cxx.

References SvxLongLRSpaceItem().

SfxPoolItem * SvxLongLRSpaceItem::CreateDefault ( )
static

Definition at line 33 of file rulritem.cxx.

References SvxLongLRSpaceItem().

long SvxLongLRSpaceItem::GetLeft ( ) const
inline

Definition at line 50 of file rulritem.hxx.

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.

long SvxLongLRSpaceItem::GetRight ( ) const
inline

Definition at line 51 of file rulritem.hxx.

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

Implements SfxPoolItem.

Definition at line 40 of file rulritem.cxx.

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

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

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.

void SvxLongLRSpaceItem::SetLeft ( long  lArgLeft)

Definition at line 149 of file rulritem.cxx.

References mlLeft.

void SvxLongLRSpaceItem::SetRight ( long  lArgRight)

Definition at line 154 of file rulritem.cxx.

References mlRight.

Member Data Documentation

long SvxLongLRSpaceItem::mlLeft
private

Definition at line 29 of file rulritem.hxx.

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

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: