LibreOffice Module sw (master) 1
|
#include <escher.hxx>
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 |
Definition at line 33 of file escher.hxx.
|
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
_iorHoriOri | input/output parameter - containing the current horizontal position attributes, which are converted by this method. |
_iorVertOri | input/output parameter - containing the current vertical position attributes, which are converted by this method. |
_rFrameFormat | input parameter - frame format of the anchored object |
#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(..)>.
_iorHoriOri | input/output parameter - containing the current horizontal position attributes, which are converted by this method. |
_iorVertOri | input/output parameter - containing the current vertical position attributes, which are converted by this method. |
_rFrameFormat | input parameter - frame format of the anchored object |
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().
void WinwordAnchoring::SetAnchoring | ( | const SwFrameFormat & | rFormat | ) |
Definition at line 2568 of file wrtw8esh.cxx.
References ConvertPosition(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetFollowTextFlow(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SfxBoolItem::GetValue(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), mbInline, mnGroupShapeBooleanProperties, mnXAlign, mnXRelTo, mnYAlign, mnYRelTo, and SwPostItHelper::NONE.
Referenced by SwEscherEx::SwEscherEx(), and SwEscherEx::WriteFrameExtraData().
|
overridevirtual |
Implements EscherExClientRecord_Base.
Definition at line 1420 of file wrtw8esh.cxx.
References EscherEx::AddAtom(), DFF_msofbtUDefProp, EscherEx::GetGroupLevel(), EscherEx::GetStream(), mbInline, mnGroupShapeBooleanProperties, mnXAlign, mnXRelTo, mnYAlign, mnYRelTo, nInlineHack, SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by SwEscherEx::WriteFrameExtraData().
|
private |
Definition at line 70 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().
|
private |
Definition at line 71 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().
|
private |
Definition at line 72 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().
|
private |
Definition at line 74 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().
|
private |
Definition at line 73 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().
|
private |
Definition at line 75 of file escher.hxx.
Referenced by SetAnchoring(), and WriteData().