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 TypedWhichId< SvxPageItem > nId)
 
 SvxPageItem (const SvxPageItem &rItem)
 
virtual ~SvxPageItem () override
 
virtual SvxPageItemClone (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
 
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 Attributes

OUString aDescName
 
SvxNumType eNumType
 
bool bLandscape
 
SvxPageUsage eUse
 

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 50 of file pageitem.hxx.

Constructor & Destructor Documentation

◆ SvxPageItem() [1/2]

SvxPageItem::SvxPageItem ( const TypedWhichId< SvxPageItem nId)

Definition at line 43 of file pageitem.cxx.

References All, nId, and SVX_NUM_ARABIC.

Referenced by Clone(), and CreateDefault().

◆ SvxPageItem() [2/2]

SvxPageItem::SvxPageItem ( const SvxPageItem rItem)

Definition at line 52 of file pageitem.cxx.

References bLandscape, eNumType, and eUse.

◆ ~SvxPageItem()

SvxPageItem::~SvxPageItem ( )
overridevirtual

Definition at line 60 of file pageitem.cxx.

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 63 of file pageitem.cxx.

References SvxPageItem().

◆ CreateDefault()

SfxPoolItem * SvxPageItem::CreateDefault ( )
static

Definition at line 41 of file pageitem.cxx.

References SvxPageItem().

◆ GetNumType()

SvxNumType SvxPageItem::GetNumType ( ) const
inline

Definition at line 85 of file pageitem.hxx.

◆ GetPageUsage()

SvxPageUsage SvxPageItem::GetPageUsage ( ) const
inline

Definition at line 78 of file pageitem.hxx.

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 120 of file pageitem.cxx.

References aDescName, bLandscape, cpDelim, eNumType, eUse, GetUsageText(), and SvxResId().

◆ IsLandscape()

bool SvxPageItem::IsLandscape ( ) const
inline

Definition at line 81 of file pageitem.hxx.

◆ operator==()

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

Implements SfxPoolItem.

Definition at line 69 of file pageitem.cxx.

References bLandscape, eNumType, and eUse.

◆ PutValue()

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

◆ QueryValue()

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 176 of file pageitem.cxx.

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

◆ SetDescName()

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

Definition at line 89 of file pageitem.hxx.

◆ SetLandscape()

void SvxPageItem::SetLandscape ( bool  bL)
inline

Definition at line 82 of file pageitem.hxx.

◆ SetNumType()

void SvxPageItem::SetNumType ( SvxNumType  eNum)
inline

Definition at line 86 of file pageitem.hxx.

◆ SetPageUsage()

void SvxPageItem::SetPageUsage ( SvxPageUsage  eU)
inline

Definition at line 79 of file pageitem.hxx.

Member Data Documentation

◆ aDescName

OUString SvxPageItem::aDescName
private

Definition at line 53 of file pageitem.hxx.

Referenced by GetPresentation().

◆ bLandscape

bool SvxPageItem::bLandscape
private

Definition at line 55 of file pageitem.hxx.

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

◆ eNumType

SvxNumType SvxPageItem::eNumType
private

Definition at line 54 of file pageitem.hxx.

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

◆ eUse

SvxPageUsage SvxPageItem::eUse
private

Definition at line 56 of file pageitem.hxx.

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


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