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

#include <escher.hxx>

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

Public Member Functions

void WriteData (EscherEx &rEx) const override
 
void SetAnchoring (const SwFrameFormat &rFormat)
 
- Public Member Functions inherited from EscherExClientRecord_Base
virtual ~EscherExClientRecord_Base ()
 
virtual void WriteData (EscherEx &rEx) const=0
 

Static Public Member Functions

static bool ConvertPosition (SwFormatHoriOrient &_iorHoriOri, SwFormatVertOrient &_iorVertOri, const SwFrameFormat &_rFrameFormat)
 method to perform conversion of positioning attributes with the help of corresponding layout information More...
 

Private Attributes

bool mbInline
 
sal_uInt32 mnGroupShapeBooleanProperties
 
sal_uInt32 mnXAlign
 
sal_uInt32 mnYAlign
 
sal_uInt32 mnXRelTo
 
sal_uInt32 mnYRelTo
 

Detailed Description

Definition at line 33 of file escher.hxx.

Member Function Documentation

◆ ConvertPosition()

bool WinwordAnchoring::ConvertPosition ( SwFormatHoriOrient _iorHoriOri,
SwFormatVertOrient _iorVertOri,
const SwFrameFormat _rFrameFormat 
)
static

method to perform conversion of positioning attributes with the help of corresponding layout information

#i30669# Because most of the Writer object positions doesn't correspond to the object positions in WW8, this method converts the positioning attributes. For this conversion the corresponding layout information is needed. If no layout information exists - e.g. no layout exists - no conversion is performed. No conversion is performed for as-character anchored objects. Whose object positions are already treated special in method <WriteData(..)>. Usage of method: Used by method <SetAnchoring(..)>, nothing else

Parameters
_iorHoriOriinput/output parameter - containing the current horizontal position attributes, which are converted by this method.
_iorVertOriinput/output parameter - containing the current vertical position attributes, which are converted by this method.
_rFrameFormatinput parameter - frame format of the anchored object
Returns
boolean, indicating, if a conversion has been performed.

#i30669# Because most of the Writer object positions doesn't correspond to the object positions in WW8, this method converts the positioning attributes. For this conversion the corresponding layout information is needed. If no layout information exists - e.g. no layout exists - no conversion is performed. No conversion is performed for as-character anchored objects. Whose object positions are already treated special in method <WriteData(..)>.

Parameters
_iorHoriOriinput/output parameter - containing the current horizontal position attributes, which are converted by this method.
_iorVertOriinput/output parameter - containing the current vertical position attributes, which are converted by this method.
_rFrameFormatinput parameter - frame format of the anchored object
Returns
boolean, indicating, if a conversion has been performed.

Definition at line 2372 of file wrtw8esh.cxx.

References sw::CONV2CHAR, sw::CONV2COL_OR_PARA, sw::CONV2LINE, sw::CONV2PG, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwTextNode::GetAttr(), SvxFormatBreakItem::GetBreak(), SwFormat::GetFollowTextFlow(), SwFormatHoriOrient::GetHoriOrient(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SfxBoolItem::GetValue(), SwFormatVertOrient::GetVertOrient(), SwFormatHoriOrient::IsPosToggle(), SwNode::IsTextNode(), sw::WW8AnchorConvResult::m_aPos, sw::WW8AnchorConvResult::m_bConverted, sw::NO_CONV, SwPostItHelper::NONE, RES_BREAK(), SwFormatHoriOrient::SetHoriOrient(), SwFormatVertOrient::SetPos(), SwFormatHoriOrient::SetPos(), SwFormatVertOrient::SetVertOrient(), Point::X(), and Point::Y().

Referenced by SetAnchoring(), and PlcDrawObj::WritePlc().

◆ SetAnchoring()

void WinwordAnchoring::SetAnchoring ( const SwFrameFormat rFormat)

◆ WriteData()

void WinwordAnchoring::WriteData ( EscherEx rEx) const
overridevirtual

Member Data Documentation

◆ mbInline

bool WinwordAnchoring::mbInline
private

Definition at line 70 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().

◆ mnGroupShapeBooleanProperties

sal_uInt32 WinwordAnchoring::mnGroupShapeBooleanProperties
private

Definition at line 71 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().

◆ mnXAlign

sal_uInt32 WinwordAnchoring::mnXAlign
private

Definition at line 72 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().

◆ mnXRelTo

sal_uInt32 WinwordAnchoring::mnXRelTo
private

Definition at line 74 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().

◆ mnYAlign

sal_uInt32 WinwordAnchoring::mnYAlign
private

Definition at line 73 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().

◆ mnYRelTo

sal_uInt32 WinwordAnchoring::mnYRelTo
private

Definition at line 75 of file escher.hxx.

Referenced by SetAnchoring(), and WriteData().


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