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

#include <fmtornt.hxx>

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

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 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 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_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 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 1354 of file atrfrm.cxx.

Referenced by Clone().

SwFormatHoriOrient::SwFormatHoriOrient ( SwFormatHoriOrient const &  )
default

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 1372 of file atrfrm.cxx.

References SwFormatHoriOrient().

Referenced by SwTableProperties_Impl::ApplyTableAttr().

void SwFormatHoriOrient::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 1444 of file atrfrm.cxx.

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

sal_Int16 SwFormatHoriOrient::GetHoriOrient ( ) const
inline

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

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

Reimplemented from SfxPoolItem.

Definition at line 382 of file attrdesc.cxx.

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

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

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1363 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 
)
overridevirtual
bool SwFormatHoriOrient::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual
void SwFormatHoriOrient::SetHoriOrient ( sal_Int16  eNew)
inline
void SwFormatHoriOrient::SetPos ( SwTwips  nNew)
inline
void SwFormatHoriOrient::SetPosToggle ( bool  bNew)
inline

Definition at line 96 of file fmtornt.hxx.

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

void SwFormatHoriOrient::SetRelationOrient ( sal_Int16  eNew)
inline

Member Data Documentation

bool SwFormatHoriOrient::m_bPosToggle
private

Flip position on even pages.

Definition at line 70 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eOrient
private

Definition at line 68 of file fmtornt.hxx.

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

sal_Int16 SwFormatHoriOrient::m_eRelation
private

Definition at line 69 of file fmtornt.hxx.

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

SwTwips SwFormatHoriOrient::m_nXPos
private

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: