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

#include <algitem.hxx>

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

Public Member Functions

 SvxOrientationItem (const SvxCellOrientation eOrientation, const sal_uInt16 nId)
 
 SvxOrientationItem (sal_Int32 nRotation, bool bStacked, const sal_uInt16 nId)
 
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
 
virtual sal_uInt16 GetValueCount () const override
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
bool IsStacked () const
 Returns sal_True, if the item represents STACKED state. More...
 
sal_Int32 GetRotation (sal_Int32 nStdAngle) const
 Returns the rotation this item represents (returns nStdAngle for STANDARD and STACKED state). More...
 
- Public Member Functions inherited from SfxEnumItem< SvxCellOrientation >
EnumT GetValue () const
 
void SetValue (EnumT nTheValue)
 
virtual sal_uInt16 GetEnumValue () const override
 
virtual void SetEnumValue (sal_uInt16 nTheValue) override
 
virtual bool operator== (SfxPoolItem const &other) const override
 
- Public Member Functions inherited from SfxEnumItemInterface
virtual bool operator== (const SfxPoolItem &rItem) const override
 
virtual bool HasBoolValue () const
 
virtual bool GetBoolValue () const
 
virtual void SetBoolValue (bool bValue)
 
- 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 OUString GetValueText (SvxCellOrientation nVal)
 

Additional Inherited Members

- Protected Member Functions inherited from SfxEnumItem< SvxCellOrientation >
 SfxEnumItem (sal_uInt16 const nWhich, EnumT const nValue)
 
 SfxEnumItem (const SfxEnumItem &)=default
 
- Protected Member Functions inherited from SfxEnumItemInterface
 SfxEnumItemInterface (sal_uInt16 which)
 
 SfxEnumItemInterface (const SfxEnumItemInterface &)=default
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 32 of file algitem.hxx.

Constructor & Destructor Documentation

SvxOrientationItem::SvxOrientationItem ( const SvxCellOrientation  eOrientation,
const sal_uInt16  nId 
)

Definition at line 51 of file algitem.cxx.

Referenced by Clone().

SvxOrientationItem::SvxOrientationItem ( sal_Int32  nRotation,
bool  bStacked,
const sal_uInt16  nId 
)

Definition at line 57 of file algitem.cxx.

References SfxEnumItem< SvxCellOrientation >::SetValue(), and Standard.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 130 of file algitem.cxx.

References SvxOrientationItem().

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

Reimplemented from SfxEnumItemInterface.

Definition at line 74 of file algitem.cxx.

References GetValue.

sal_Int32 SvxOrientationItem::GetRotation ( sal_Int32  nStdAngle) const

Returns the rotation this item represents (returns nStdAngle for STANDARD and STACKED state).

Definition at line 147 of file algitem.cxx.

References SfxEnumItem< SvxCellOrientation >::GetValue().

Referenced by AutoFormatBase::LoadBlockB().

sal_uInt16 SvxOrientationItem::GetValueCount ( ) const
overridevirtual

Implements SfxEnumItemInterface.

Definition at line 136 of file algitem.cxx.

OUString SvxOrientationItem::GetValueText ( SvxCellOrientation  nVal)
static

Definition at line 124 of file algitem.cxx.

References SvxResId().

bool SvxOrientationItem::IsStacked ( ) const

Returns sal_True, if the item represents STACKED state.

Definition at line 142 of file algitem.cxx.

References SfxEnumItem< SvxCellOrientation >::GetValue().

Referenced by AutoFormatBase::LoadBlockB().

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

Reimplemented from SfxEnumItemInterface.

Definition at line 100 of file algitem.cxx.

References SfxEnumItem< SvxCellOrientation >::SetValue().

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

Reimplemented from SfxEnumItemInterface.

Definition at line 86 of file algitem.cxx.

References SfxEnumItem< SvxCellOrientation >::GetValue().


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