LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwFormatVertOrient Class Reference

#include <fmtornt.hxx>

Inheritance diagram for SwFormatVertOrient:
Collaboration diagram for SwFormatVertOrient:

Public Member Functions

 SwFormatVertOrient (SwTwips nY=0, sal_Int16 eVert=css::text::VertOrientation::NONE, sal_Int16 eRel=css::text::RelOrientation::PRINT_AREA)
 SwFormatVertOrient (SwFormatVertOrient const &)=default
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) 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
sal_Int16 GetVertOrient () const
sal_Int16 GetRelationOrient () const
void SetVertOrient (sal_Int16 eNew)
void SetRelationOrient (sal_Int16 eNew)
SwTwips GetPos () const
void SetPos (SwTwips nNew)
void dumpAsXml (xmlTextWriterPtr pWriter) const override
- 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 bool IsVoidItem () const

Private Attributes

SwTwips m_nYPos
 Contains always the current RelPos. More...
sal_Int16 m_eOrient
sal_Int16 m_eRelation

Additional Inherited Members

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

Detailed Description

Definition at line 33 of file fmtornt.hxx.

Constructor & Destructor Documentation

SwFormatVertOrient::SwFormatVertOrient ( SwTwips  nY = 0,
sal_Int16  eVert = css::text::VertOrientation::NONE,
sal_Int16  eRel = css::text::RelOrientation::PRINT_AREA 

Definition at line 1269 of file atrfrm.cxx.

Referenced by Clone().

SwFormatVertOrient::SwFormatVertOrient ( SwFormatVertOrient const &  )

Member Function Documentation

SfxPoolItem * SwFormatVertOrient::Clone ( SfxItemPool pPool = nullptr) const
void SwFormatVertOrient::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Reimplemented from SfxPoolItem.

Definition at line 1350 of file atrfrm.cxx.

References m_eOrient, m_eRelation, m_nYPos, and SfxPoolItem::Which().

SwTwips SwFormatVertOrient::GetPos ( ) const
bool SwFormatVertOrient::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const

Reimplemented from SfxPoolItem.

Definition at line 341 of file attrdesc.cxx.

References BOTTOM, EditResId(), GetMetricId(), sw::sidebar::NONE, SwResId(), and TOP.

sal_Int16 SwFormatVertOrient::GetRelationOrient ( ) const
sal_Int16 SwFormatVertOrient::GetVertOrient ( ) const
bool SwFormatVertOrient::operator== ( const SfxPoolItem rAttr) const

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1277 of file atrfrm.cxx.

References m_eOrient, m_eRelation, and m_nYPos.

bool SwFormatVertOrient::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
bool SwFormatVertOrient::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
void SwFormatVertOrient::SetPos ( SwTwips  nNew)
void SwFormatVertOrient::SetRelationOrient ( sal_Int16  eNew)
void SwFormatVertOrient::SetVertOrient ( sal_Int16  eNew)

Member Data Documentation

sal_Int16 SwFormatVertOrient::m_eOrient

Definition at line 36 of file fmtornt.hxx.

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

sal_Int16 SwFormatVertOrient::m_eRelation

Definition at line 37 of file fmtornt.hxx.

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

SwTwips SwFormatVertOrient::m_nYPos

Contains always the current RelPos.

Definition at line 35 of file fmtornt.hxx.

Referenced by dumpAsXml(), and operator==().

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