diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2010-11-25 19:06:24 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2010-11-29 17:03:05 +0100 |
commit | 94d574e5785912e84adb0f3fd754035aef8adfb5 (patch) | |
tree | e2fabe71d25b765bf55eec39a9e5edbc6d238282 /sw/source | |
parent | f1a72ea480e81428ffd5d5744be1c3fa2f288bab (diff) |
implement wp:simplePos for wp:anchor (empty, but it's required)
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 2c1dadede9a8..9765c907f522 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -1742,9 +1742,10 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size FSEND ); sal_Int32 anchorOrInline = rGrfNode.GetFlyFmt()->GetAnchor().GetAnchorId() == FLY_AS_CHAR ? XML_inline : XML_anchor; m_pSerializer->startElementNS( XML_wp, anchorOrInline, - XML_distT, "0", XML_distB, "0", XML_distL, "0", XML_distR, "0", + XML_distT, "0", XML_distB, "0", XML_distL, "0", XML_distR, "0", XML_simplePos, "0", FSEND ); + m_pSerializer->singleElementNS( XML_wp, XML_simplePos, XML_x, "0", XML_y, "0", FSEND ); // extent of the image OString aWidth( OString::valueOf( TwipsToEMU( rSize.Width() ) ) ); OString aHeight( OString::valueOf( TwipsToEMU( rSize.Height() ) ) ); |