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
 
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 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

- 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 196 of file rulritem.hxx.

Constructor & Destructor Documentation

◆ SvxObjectItem() [1/2]

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

Definition at line 649 of file rulritem.cxx.

Referenced by Clone().

◆ SvxObjectItem() [2/2]

SvxObjectItem::SvxObjectItem ( SvxObjectItem const &  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 644 of file rulritem.cxx.

References SvxObjectItem().

◆ CreateDefault()

SfxPoolItem * SvxObjectItem::CreateDefault ( )
static

Definition at line 36 of file rulritem.cxx.

References SAL_WARN.

◆ GetEndX()

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

Definition at line 224 of file rulritem.hxx.

◆ GetEndY()

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

Definition at line 226 of file rulritem.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 634 of file rulritem.cxx.

◆ GetStartX()

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

Definition at line 223 of file rulritem.hxx.

◆ GetStartY()

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

Definition at line 225 of file rulritem.hxx.

◆ operator=()

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

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 624 of file rulritem.cxx.

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

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 687 of file rulritem.cxx.

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

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 659 of file rulritem.cxx.

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

◆ SetEndX()

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

Definition at line 720 of file rulritem.cxx.

References nEndX.

◆ SetEndY()

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

Definition at line 730 of file rulritem.cxx.

References nEndY.

◆ SetStartX()

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

Definition at line 715 of file rulritem.cxx.

References nStartX.

◆ SetStartY()

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

Definition at line 725 of file rulritem.cxx.

References nStartY.

Member Data Documentation

◆ bLimits

bool SvxObjectItem::bLimits
private

Definition at line 202 of file rulritem.hxx.

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

◆ nEndX

tools::Long SvxObjectItem::nEndX
private

Definition at line 199 of file rulritem.hxx.

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

◆ nEndY

tools::Long SvxObjectItem::nEndY
private

Definition at line 201 of file rulritem.hxx.

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

◆ nStartX

tools::Long SvxObjectItem::nStartX
private

Definition at line 198 of file rulritem.hxx.

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

◆ nStartY

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: