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 (tools::Long nStartX, tools::Long nEndX, tools::Long nStartY, tools::Long nEndY)
 
 SvxObjectItem (SvxObjectItem const &)=default
 
tools::Long GetStartX () const
 
tools::Long GetEndX () const
 
tools::Long GetStartY () const
 
tools::Long GetEndY () const
 
void SetStartX (tools::Long lValue)
 
void SetEndX (tools::Long lValue)
 
void SetStartY (tools::Long lValue)
 
void SetEndY (tools::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
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual void ScaleMetrics (tools::Long lMult, tools::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 GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 
virtual SvxObjectItemClone (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

tools::Long nStartX
 
tools::Long nEndX
 
tools::Long nStartY
 
tools::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 196 of file rulritem.hxx.

Constructor & Destructor Documentation

SvxObjectItem::SvxObjectItem ( tools::Long  nStartX,
tools::Long  nEndX,
tools::Long  nStartY,
tools::Long  nEndY 
)

Definition at line 646 of file rulritem.cxx.

Referenced by Clone().

SvxObjectItem::SvxObjectItem ( SvxObjectItem const &  )
default

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 641 of file rulritem.cxx.

References SvxObjectItem().

SfxPoolItem * SvxObjectItem::CreateDefault ( )
static

Definition at line 36 of file rulritem.cxx.

References SAL_WARN.

tools::Long SvxObjectItem::GetEndX ( ) const
inline

Definition at line 224 of file rulritem.hxx.

tools::Long SvxObjectItem::GetEndY ( ) const
inline

Definition at line 226 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 631 of file rulritem.cxx.

tools::Long SvxObjectItem::GetStartX ( ) const
inline

Definition at line 223 of file rulritem.hxx.

tools::Long SvxObjectItem::GetStartY ( ) const
inline

Definition at line 225 of file rulritem.hxx.

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

Implements SfxPoolItem.

Definition at line 621 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 684 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 656 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 ( tools::Long  lValue)

Definition at line 717 of file rulritem.cxx.

References nEndX.

void SvxObjectItem::SetEndY ( tools::Long  lValue)

Definition at line 727 of file rulritem.cxx.

References nEndY.

void SvxObjectItem::SetStartX ( tools::Long  lValue)

Definition at line 712 of file rulritem.cxx.

References nStartX.

void SvxObjectItem::SetStartY ( tools::Long  lValue)

Definition at line 722 of file rulritem.cxx.

References nStartY.

Member Data Documentation

bool SvxObjectItem::bLimits
private

Definition at line 202 of file rulritem.hxx.

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

tools::Long SvxObjectItem::nEndX
private

Definition at line 199 of file rulritem.hxx.

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

tools::Long SvxObjectItem::nEndY
private

Definition at line 201 of file rulritem.hxx.

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

tools::Long SvxObjectItem::nStartX
private

Definition at line 198 of file rulritem.hxx.

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

tools::Long SvxObjectItem::nStartY
private

Definition at line 200 of file rulritem.hxx.

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


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