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

#include <rulritem.hxx>

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

Public Member Functions

 SvxPagePosSizeItem (const Point &rPos, long lWidth, long lHeight)
 
 SvxPagePosSizeItem ()
 
const PointGetPos () const
 
long GetWidth () const
 
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
 
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 ()
 

Protected 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 SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Private Member Functions

const SvxPagePosSizeItemoperator= (const SvxPagePosSizeItem &)=delete
 

Private Attributes

Point aPos
 
long lWidth
 
long lHeight
 

Detailed Description

Definition at line 85 of file rulritem.hxx.

Constructor & Destructor Documentation

SvxPagePosSizeItem::SvxPagePosSizeItem ( const Point rPos,
long  lWidth,
long  lHeight 
)

Definition at line 370 of file rulritem.cxx.

SvxPagePosSizeItem::SvxPagePosSizeItem ( )

Definition at line 377 of file rulritem.cxx.

Referenced by Clone(), and CreateDefault().

Member Function Documentation

SfxPoolItem * SvxPagePosSizeItem::Clone ( SfxItemPool pPool = nullptr) const
overrideprotectedvirtual

Implements SfxPoolItem.

Definition at line 365 of file rulritem.cxx.

References SvxPagePosSizeItem().

SfxPoolItem * SvxPagePosSizeItem::CreateDefault ( )
static

Definition at line 31 of file rulritem.cxx.

References SvxPagePosSizeItem().

long SvxPagePosSizeItem::GetHeight ( ) const
inline

Definition at line 111 of file rulritem.hxx.

const Point& SvxPagePosSizeItem::GetPos ( ) const
inline

Definition at line 109 of file rulritem.hxx.

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

Reimplemented from SfxPoolItem.

Definition at line 355 of file rulritem.cxx.

long SvxPagePosSizeItem::GetWidth ( ) const
inline

Definition at line 110 of file rulritem.hxx.

const SvxPagePosSizeItem& SvxPagePosSizeItem::operator= ( const SvxPagePosSizeItem )
privatedelete
bool SvxPagePosSizeItem::operator== ( const SfxPoolItem rCmp) const
overrideprotectedvirtual

Implements SfxPoolItem.

Definition at line 280 of file rulritem.cxx.

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

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

Reimplemented from SfxPoolItem.

Definition at line 318 of file rulritem.cxx.

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

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

Reimplemented from SfxPoolItem.

Definition at line 288 of file rulritem.cxx.

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

Member Data Documentation

Point SvxPagePosSizeItem::aPos
private

Definition at line 87 of file rulritem.hxx.

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

long SvxPagePosSizeItem::lHeight
private

Definition at line 89 of file rulritem.hxx.

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

long SvxPagePosSizeItem::lWidth
private

Definition at line 88 of file rulritem.hxx.

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


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