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

#include <fmtornt.hxx>

Inheritance diagram for SwFormatHoriOrient:
Collaboration diagram for SwFormatHoriOrient:

Public Member Functions

 SwFormatHoriOrient (SwTwips nX=0, sal_Int16 eHori=css::text::HoriOrientation::NONE, sal_Int16 eRel=css::text::RelOrientation::PRINT_AREA, bool bPos=false)
 SwFormatHoriOrient (SwFormatHoriOrient const &)=default
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
virtual SwFormatHoriOrientClone (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 GetHoriOrient () const
sal_Int16 GetRelationOrient () const
void SetHoriOrient (sal_Int16 eNew)
void SetRelationOrient (sal_Int16 eNew)
SwTwips GetPos () const
void SetPos (SwTwips nNew)
bool IsPosToggle () const
void SetPosToggle (bool bNew)
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 bool HasLookup () const
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) 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_nXPos
 Contains always the current RelPos. More...
sal_Int16 m_eOrient
sal_Int16 m_eRelation
bool m_bPosToggle: 1
 Flip position on even pages. More...

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 65 of file fmtornt.hxx.

Constructor & Destructor Documentation

SwFormatHoriOrient::SwFormatHoriOrient ( SwTwips  nX = 0,
sal_Int16  eHori = css::text::HoriOrientation::NONE,
sal_Int16  eRel = css::text::RelOrientation::PRINT_AREA,
bool  bPos = false 

Definition at line 1460 of file atrfrm.cxx.

Referenced by Clone().

SwFormatHoriOrient::SwFormatHoriOrient ( SwFormatHoriOrient const &  )

Member Function Documentation

SwFormatHoriOrient * SwFormatHoriOrient::Clone ( SfxItemPool pPool = nullptr) const

Implements SfxPoolItem.

Definition at line 1478 of file atrfrm.cxx.

References SwFormatHoriOrient().

Referenced by SwFEShell::NewFlyFrame().

void SwFormatHoriOrient::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Reimplemented from SfxPoolItem.

Definition at line 1550 of file atrfrm.cxx.

References m_bPosToggle, m_eOrient, m_eRelation, m_nXPos, void(), and SfxPoolItem::Which().

sal_Int16 SwFormatHoriOrient::GetHoriOrient ( ) const

Definition at line 87 of file fmtornt.hxx.

Referenced by SwWrapTabPage::ActivatePage(), SwDoc::AdjustCellWidth(), CalcClipRect(), SwTabFrame::CalcFlyOffsets(), objectpositioning::SwAnchoredObjectPosition::CalcRelPosX(), SwEditWin::ChangeFly(), SwFlyFreeFrame::CheckClip(), WinwordAnchoring::ConvertPosition(), WW8TabDesc::CreateSwTable(), objectpositioning::SwAnchoredObjectPosition::DrawAsideFly(), SwBaseShell::Execute(), SwXMLExport::ExportTableAutoStyles(), WW8AttributeOutput::FormatHorizOrientation(), RtfAttributeOutput::FormatHorizOrientation(), DocxAttributeOutput::FormatHorizOrientation(), DocxAttributeOutput::GetOLEStyle(), AttributeOutputBase::GetTablePageSize(), GetTableWidth(), SwRootFrame::ImplCalcBrowseWidth(), SwFrameNotify::ImplDestroy(), SwFramePage::Init(), lcl_MinMaxNode(), lcl_NotifyNeighbours(), lcl_TableParamToItemSet(), WW8Export::MiserableRTLFrameFormatHack(), SwWW8ImplReader::MoveOutsideFly(), SwVirtFlyDrawObj::NbcMove(), SwFEShell::NewFlyFrame(), Notify_Background(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), OutHTML_SwTableNode(), SvXMLExportItemMapper::QueryXMLValue(), WinwordAnchoring::SetAnchoring(), SwHTMLParser::SetAttr_(), SwFEShell::SetColRowWidthHeight(), SwTable::SetColWidth(), SwDoc::SetFlyFrameAnchor(), SwHTMLParser::SetSpace(), DocxSdrExport::startDMLAnchorInline(), WW8AttributeOutput::TableDefinition(), DocxAttributeOutput::TableDefinition(), WW8AttributeOutput::TableOrientation(), RtfAttributeOutput::TableOrientation(), SwHTMLWriter::writeFrameFormatOptions(), and PlcDrawObj::WritePlc().

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

Reimplemented from SfxPoolItem.

Definition at line 379 of file attrdesc.cxx.

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

sal_Int16 SwFormatHoriOrient::GetRelationOrient ( ) const
bool SwFormatHoriOrient::IsPosToggle ( ) const
bool SwFormatHoriOrient::operator== ( const SfxPoolItem rAttr) const

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1469 of file atrfrm.cxx.

References m_bPosToggle, m_eOrient, m_eRelation, and m_nXPos.

bool SwFormatHoriOrient::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
bool SwFormatHoriOrient::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
void SwFormatHoriOrient::SetHoriOrient ( sal_Int16  eNew)
void SwFormatHoriOrient::SetPos ( SwTwips  nNew)
void SwFormatHoriOrient::SetPosToggle ( bool  bNew)

Definition at line 96 of file fmtornt.hxx.

Referenced by SwWW8ImplReader::ProcessEscherAlign(), and PutValue().

void SwFormatHoriOrient::SetRelationOrient ( sal_Int16  eNew)

Member Data Documentation

bool SwFormatHoriOrient::m_bPosToggle

Flip position on even pages.

Definition at line 70 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eOrient

Definition at line 68 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eRelation

Definition at line 69 of file fmtornt.hxx.

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

SwTwips SwFormatHoriOrient::m_nXPos

Contains always the current RelPos.

Definition at line 67 of file fmtornt.hxx.

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

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