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

#include <rulritem.hxx>

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

Public Member Functions

 SvxPagePosSizeItem (const Point &rPos, tools::Long lWidth, tools::Long lHeight)
 
 SvxPagePosSizeItem ()
 
 SvxPagePosSizeItem (SvxPagePosSizeItem const &)=default
 
const PointGetPos () const
 
tools::Long GetWidth () const
 
tools::Long GetHeight () const
 
- 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 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 SvxPagePosSizeItemClone (SfxItemPool *pPool=nullptr) const override
 
const SvxPagePosSizeItemoperator= (const SvxPagePosSizeItem &)=delete
 

Private Attributes

Point aPos
 
tools::Long lWidth
 
tools::Long lHeight
 

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

Constructor & Destructor Documentation

◆ SvxPagePosSizeItem() [1/3]

SvxPagePosSizeItem::SvxPagePosSizeItem ( const Point rPos,
tools::Long  lWidth,
tools::Long  lHeight 
)

Definition at line 371 of file rulritem.cxx.

◆ SvxPagePosSizeItem() [2/3]

SvxPagePosSizeItem::SvxPagePosSizeItem ( )

Definition at line 378 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

◆ SvxPagePosSizeItem() [3/3]

SvxPagePosSizeItem::SvxPagePosSizeItem ( SvxPagePosSizeItem const &  )
default

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 366 of file rulritem.cxx.

References SvxPagePosSizeItem().

◆ CreateDefault()

SfxPoolItem * SvxPagePosSizeItem::CreateDefault ( )
static

Definition at line 32 of file rulritem.cxx.

References SvxPagePosSizeItem().

◆ GetHeight()

tools::Long SvxPagePosSizeItem::GetHeight ( ) const
inline

Definition at line 114 of file rulritem.hxx.

◆ GetPos()

const Point & SvxPagePosSizeItem::GetPos ( ) const
inline

Definition at line 112 of file rulritem.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 356 of file rulritem.cxx.

◆ GetWidth()

tools::Long SvxPagePosSizeItem::GetWidth ( ) const
inline

Definition at line 113 of file rulritem.hxx.

◆ operator=()

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

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 281 of file rulritem.cxx.

References aPos, lHeight, lWidth, and SfxPoolItem::operator==().

◆ PutValue()

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

Reimplemented from SfxPoolItem.

Definition at line 319 of file rulritem.cxx.

References aPos, lHeight, lWidth, MID_HEIGHT, MID_WIDTH, MID_X, MID_Y, Point::setX(), and Point::setY().

◆ QueryValue()

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

Reimplemented from SfxPoolItem.

Definition at line 289 of file rulritem.cxx.

References aPos, lHeight, lWidth, MID_HEIGHT, MID_WIDTH, MID_X, MID_Y, Point::X(), and Point::Y().

Member Data Documentation

◆ aPos

Point SvxPagePosSizeItem::aPos
private

Definition at line 89 of file rulritem.hxx.

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

◆ lHeight

tools::Long SvxPagePosSizeItem::lHeight
private

Definition at line 91 of file rulritem.hxx.

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

◆ lWidth

tools::Long SvxPagePosSizeItem::lWidth
private

Definition at line 90 of file rulritem.hxx.

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


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