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

#include <pageitem.hxx>

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

Public Member Functions

 SvxPageItem (const sal_uInt16 nId)
 
 SvxPageItem (const SvxPageItem &rItem)
 
virtual ~SvxPageItem () override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) 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
 
SvxPageUsage GetPageUsage () const
 
void SetPageUsage (SvxPageUsage eU)
 
bool IsLandscape () const
 
void SetLandscape (bool bL)
 
SvxNumType GetNumType () const
 
void SetNumType (SvxNumType eNum)
 
void SetDescName (const OUString &rStr)
 
- 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 Attributes

OUString aDescName
 
SvxNumType eNumType
 
bool bLandscape
 
SvxPageUsage eUse
 

Additional Inherited Members

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

Detailed Description

Definition at line 52 of file pageitem.hxx.

Constructor & Destructor Documentation

SvxPageItem::SvxPageItem ( const sal_uInt16  nId)

Definition at line 46 of file pageitem.cxx.

References All, and SVX_NUM_ARABIC.

Referenced by Clone(), and CreateDefault().

SvxPageItem::SvxPageItem ( const SvxPageItem rItem)

Definition at line 55 of file pageitem.cxx.

References bLandscape, eNumType, and eUse.

SvxPageItem::~SvxPageItem ( )
overridevirtual

Definition at line 63 of file pageitem.cxx.

Member Function Documentation

SfxPoolItem * SvxPageItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 66 of file pageitem.cxx.

References SvxPageItem().

SfxPoolItem * SvxPageItem::CreateDefault ( )
static

Definition at line 44 of file pageitem.cxx.

References SvxPageItem().

SvxNumType SvxPageItem::GetNumType ( ) const
inline

Definition at line 87 of file pageitem.hxx.

SvxPageUsage SvxPageItem::GetPageUsage ( ) const
inline

Definition at line 80 of file pageitem.hxx.

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

Reimplemented from SfxPoolItem.

Definition at line 124 of file pageitem.cxx.

References GetUsageText(), and SvxResId().

bool SvxPageItem::IsLandscape ( ) const
inline

Definition at line 83 of file pageitem.hxx.

bool SvxPageItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 72 of file pageitem.cxx.

References bLandscape, eNumType, and eUse.

bool SvxPageItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 215 of file pageitem.cxx.

References All, Any2Bool(), bLandscape, CONVERT_TWIPS, eUse, Left, MID_PAGE_LAYOUT, MID_PAGE_NUMTYPE, MID_PAGE_ORIENTATION, Mirror, and Right.

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

constants aren't in IDLs any more ?!?

Reimplemented from SfxPoolItem.

Definition at line 179 of file pageitem.cxx.

References All, bLandscape, CONVERT_TWIPS, eNumType, eUse, Left, MID_PAGE_LAYOUT, MID_PAGE_NUMTYPE, MID_PAGE_ORIENTATION, Mirror, and Right.

void SvxPageItem::SetDescName ( const OUString &  rStr)
inline

Definition at line 91 of file pageitem.hxx.

void SvxPageItem::SetLandscape ( bool  bL)
inline

Definition at line 84 of file pageitem.hxx.

void SvxPageItem::SetNumType ( SvxNumType  eNum)
inline

Definition at line 88 of file pageitem.hxx.

void SvxPageItem::SetPageUsage ( SvxPageUsage  eU)
inline

Definition at line 81 of file pageitem.hxx.

Member Data Documentation

OUString SvxPageItem::aDescName
private

Definition at line 55 of file pageitem.hxx.

bool SvxPageItem::bLandscape
private

Definition at line 57 of file pageitem.hxx.

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

SvxNumType SvxPageItem::eNumType
private

Definition at line 56 of file pageitem.hxx.

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

SvxPageUsage SvxPageItem::eUse
private

Definition at line 58 of file pageitem.hxx.

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


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