diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-06-13 17:02:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-13 17:14:06 +0200 |
commit | 175d28d564ff552cd3d73c3b087216bc82a763a1 (patch) | |
tree | 8995b05476bd8dd30357437ed26695b0f7fe8eaa /include/oox | |
parent | 1f2e2563a60bfc3a4c5b81b99beb8eef674d13f2 (diff) |
fdo#58819 VML export of mso-position-*
mso-position-horizontal, mso-position-horizontal-relative,
mso-position-vertical and mso-position-vertical-relative
With this, the watermark in the bugdoc is almost in place, if you ignore
the missing rotation.
Change-Id: I8d3d834089e734654fcbbb0fb6166b4d7e01f80f
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/export/vmlexport.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx index 4e790c55f96d..31f5241b5ab6 100644 --- a/include/oox/export/vmlexport.hxx +++ b/include/oox/export/vmlexport.hxx @@ -50,6 +50,9 @@ class OOX_DLLPUBLIC VMLExport : public EscherEx /// Parent exporter, used for text callback. VMLTextExport* m_pTextExport; + /// Anchoring. + sal_Int16 m_eHOri, m_eVOri, m_eHRel, m_eVRel; + /// The object we're exporting. const SdrObject* m_pSdrObject; @@ -80,7 +83,7 @@ public: /// Export the sdr object as VML. /// /// Call this when you need to export the object as VML. - sal_uInt32 AddSdrObject( const SdrObject& rObj ); + sal_uInt32 AddSdrObject( const SdrObject& rObj, const sal_Int16 eHOri = -1, const sal_Int16 eVOri = -1, const sal_Int16 eHRel = -1, const sal_Int16 eVRel = -1 ); protected: /// Add an attribute to the generated <v:shape/> element. |