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

#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 SwFormatVertOrientClone (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
T & StaticWhichCast (TypedWhichId< T > nId)
const T & StaticWhichCast (TypedWhichId< T > nId) const
T * DynamicWhichCast (TypedWhichId< T > nId)
const T * DynamicWhichCast (TypedWhichId< T > nId) const
bool operator!= (const SfxPoolItem &rItem) const
virtual bool operator< (const SfxPoolItem &) const
virtual bool IsSortable () const
virtual void ScaleMetrics (tools::Long lMult, tools::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 boost::property_tree::ptree dumpAsJSON () 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 1367 of file atrfrm.cxx.

Referenced by Clone().

SwFormatVertOrient::SwFormatVertOrient ( SwFormatVertOrient const &  )

Member Function Documentation

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

Reimplemented from SfxPoolItem.

Definition at line 1448 of file atrfrm.cxx.

References m_eOrient, m_eRelation, m_nYPos, void(), 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 333 of file attrdesc.cxx.

References EditResId(), GetMetricId(), SwPostItHelper::NONE, and SwResId().

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 1375 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: