summaryrefslogtreecommitdiff
path: root/starmath/inc/document.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-14 22:40:52 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-15 13:03:08 +0100
commit80b55dcfc9754553e42625d0d6e9ebbb728200eb (patch)
tree25e34b3936cc27da5ee5358293611777c6625ef0 /starmath/inc/document.hxx
parent3e0bc5c7fe715ebd38bfa64a49b23df58d6d29a9 (diff)
starmath: only use WordProcessingML elements in DOCX files
Change-Id: I1b0f6d67bd0db0796756fd920ab92303a7ee7d79
Diffstat (limited to 'starmath/inc/document.hxx')
-rw-r--r--starmath/inc/document.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index dde99d513209..7a9c3598da43 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -31,6 +31,7 @@
#include <sax/fshelper.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/mathml/import.hxx>
+#include <oox/export/utils.hxx>
#include <memory>
#include <set>
@@ -146,7 +147,9 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener
*/
void InvalidateCursor();
- bool writeFormulaOoxml( ::sax_fastparser::FSHelperPtr pSerializer, oox::core::OoxmlVersion version );
+ bool writeFormulaOoxml(::sax_fastparser::FSHelperPtr pSerializer,
+ oox::core::OoxmlVersion version,
+ oox::drawingml::DocumentType documentType);
void writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding);
void readFormulaOoxml( oox::formulaimport::XmlStream& stream );