diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-16 19:38:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-17 01:16:20 +0200 |
commit | 6b5c0a5cb25fc0c7c673a9332c8d30b6efbb819b (patch) | |
tree | 0b1aad541ecdec6993e372ee680d63ad8d3de93b /include/oox | |
parent | 0d602133d627c1837eb64895855c2a7ed0144de6 (diff) |
VML export: handle textbox text
Previously, we always exported the text of the shape itself. Bring the
VML export in sync with the drawingML export, where we only do that if
the shape doesn't have an associated textbox -- if that's the case, then
export the textbox's text instead.
CppunitTest_sw_ooxmlsdrexport's testFdo69636 is a reproducer for this
problem, the VML assert failed because of the lack of this.
Change-Id: Icb236579da4e3b74e983a95aa5675fed7862d1e1
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/export/vmlexport.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx index 3a7049e65d6c..a87ed16eb90a 100644 --- a/include/oox/export/vmlexport.hxx +++ b/include/oox/export/vmlexport.hxx @@ -37,6 +37,8 @@ class OOX_DLLPUBLIC VMLTextExport public: virtual void WriteOutliner(const OutlinerParaObject& rParaObj) = 0; virtual oox::drawingml::DrawingML& GetDrawingML() = 0; + /// Write the contents of the textbox that is associated to this shape in VML format. + virtual void WriteVMLTextBox(css::uno::Reference<css::drawing::XShape> xShape) = 0; protected: VMLTextExport() {} virtual ~VMLTextExport() {} |