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

#include <rulritem.hxx>

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

Public Member Functions

 SvxObjectItem (long nStartX, long nEndX, long nStartY, long nEndY)
 
long GetStartX () const
 
long GetEndX () const
 
long GetStartY () const
 
long GetEndY () const
 
void SetStartX (long lValue)
 
void SetEndX (long lValue)
 
void SetStartY (long lValue)
 
void SetEndY (long lValue)
 
- 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 bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Member Functions

virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) 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
 
const SvxObjectItemoperator= (const SvxObjectItem &)=delete
 

Private Attributes

long nStartX
 
long nEndX
 
long nStartY
 
long nEndY
 
bool bLimits
 

Additional Inherited Members

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

Detailed Description

Definition at line 193 of file rulritem.hxx.

Constructor & Destructor Documentation

SvxObjectItem::SvxObjectItem ( long  nStartX,
long  nEndX,
long  nStartY,
long  nEndY 
)

Definition at line 645 of file rulritem.cxx.

Referenced by Clone().

Member Function Documentation

SfxPoolItem * SvxObjectItem::Clone ( SfxItemPool pPool = nullptr) const
overrideprivatevirtual

Implements SfxPoolItem.

Definition at line 640 of file rulritem.cxx.

References SvxObjectItem().

SfxPoolItem * SvxObjectItem::CreateDefault ( )
static

Definition at line 35 of file rulritem.cxx.

References SAL_WARN.

long SvxObjectItem::GetEndX ( ) const
inline

Definition at line 220 of file rulritem.hxx.

long SvxObjectItem::GetEndY ( ) const
inline

Definition at line 222 of file rulritem.hxx.

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

Reimplemented from SfxPoolItem.

Definition at line 630 of file rulritem.cxx.

long SvxObjectItem::GetStartX ( ) const
inline

Definition at line 219 of file rulritem.hxx.

long SvxObjectItem::GetStartY ( ) const
inline

Definition at line 221 of file rulritem.hxx.

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

Implements SfxPoolItem.

Definition at line 620 of file rulritem.cxx.

References bLimits, nEndX, nEndY, nStartX, nStartY, and SfxPoolItem::operator==().

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

Reimplemented from SfxPoolItem.

Definition at line 683 of file rulritem.cxx.

References bLimits, CONVERT_TWIPS, MID_END_X, MID_END_Y, MID_LIMIT, MID_START_X, MID_START_Y, nEndX, nEndY, nStartX, and nStartY.

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

Reimplemented from SfxPoolItem.

Definition at line 655 of file rulritem.cxx.

References bLimits, CONVERT_TWIPS, MID_END_X, MID_END_Y, MID_LIMIT, MID_START_X, MID_START_Y, nEndX, nEndY, nStartX, and nStartY.

void SvxObjectItem::SetEndX ( long  lValue)

Definition at line 716 of file rulritem.cxx.

References nEndX.

void SvxObjectItem::SetEndY ( long  lValue)

Definition at line 726 of file rulritem.cxx.

References nEndY.

void SvxObjectItem::SetStartX ( long  lValue)

Definition at line 711 of file rulritem.cxx.

References nStartX.

void SvxObjectItem::SetStartY ( long  lValue)

Definition at line 721 of file rulritem.cxx.

References nStartY.

Member Data Documentation

bool SvxObjectItem::bLimits
private

Definition at line 199 of file rulritem.hxx.

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

long SvxObjectItem::nEndX
private

Definition at line 196 of file rulritem.hxx.

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

long SvxObjectItem::nEndY
private

Definition at line 198 of file rulritem.hxx.

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

long SvxObjectItem::nStartX
private

Definition at line 195 of file rulritem.hxx.

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

long SvxObjectItem::nStartY
private

Definition at line 197 of file rulritem.hxx.

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


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