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

#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)
SwFormatHoriOrientoperator= (const SwFormatHoriOrient &rCpy)
 SwFormatHoriOrient (SwFormatHoriOrient 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 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
bool operator!= (const SfxPoolItem &rItem) const
virtual sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const
virtual void ScaleMetrics (long lMult, long lDiv)
virtual bool HasMetrics () const
virtual SfxPoolItemCreate (SvStream &, sal_uInt16 nItemVersion) const
virtual SvStreamStore (SvStream &, sal_uInt16 nItemVersion) 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_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

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

Detailed Description

Definition at line 69 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 1403 of file atrfrm.cxx.

Referenced by Clone().

SwFormatHoriOrient::SwFormatHoriOrient ( SwFormatHoriOrient const &  )

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 1421 of file atrfrm.cxx.

References SwFormatHoriOrient().

void SwFormatHoriOrient::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Reimplemented from SfxPoolItem.

Definition at line 1493 of file atrfrm.cxx.

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

sal_Int16 SwFormatHoriOrient::GetHoriOrient ( ) const

Definition at line 92 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(), AttributeOutputBase::GetTablePageSize(), GetTableWidth(), SwRootFrame::ImplCalcBrowseWidth(), SwFramePage::Init(), SwHTMLParser::InsertLineBreak(), lcl_MinMaxNode(), lcl_NotifyNeighbours(), lcl_TableParamToItemSet(), WW8Export::MiserableRTLFrameFormatHack(), SwWW8ImplReader::MoveOutsideFly(), SwVirtFlyDrawObj::NbcMove(), Notify_Background(), operator=(), 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(), DocxAttributeOutput::WriteActiveXControl(), SwHTMLWriter::writeFrameFormatOptions(), PlcDrawObj::WritePlc(), DocxSdrExport::writeVMLDrawing(), and SwFrameNotify::~SwFrameNotify().

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 387 of file attrdesc.cxx.

References EditResId(), GetMetricId(), LEFT, sw::sidebar::NONE, RIGHT, and SwResId().

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

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1412 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 101 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 74 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eOrient

Definition at line 72 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eRelation

Definition at line 73 of file fmtornt.hxx.

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

SwTwips SwFormatHoriOrient::m_nXPos

Contains always the current RelPos.

Definition at line 71 of file fmtornt.hxx.

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

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