summaryrefslogtreecommitdiff
path: root/starmath/source/ooxmlexport.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/ooxmlexport.hxx')
-rw-r--r--starmath/source/ooxmlexport.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/starmath/source/ooxmlexport.hxx b/starmath/source/ooxmlexport.hxx
index a4740989d79d..5bd69bf8eeaf 100644
--- a/starmath/source/ooxmlexport.hxx
+++ b/starmath/source/ooxmlexport.hxx
@@ -14,6 +14,7 @@
#include <sax/fshelper.hxx>
#include <oox/core/filterbase.hxx>
+#include <oox/export/utils.hxx>
/**
Class implementing writing of formulas to OOXML.
@@ -21,7 +22,8 @@
class SmOoxmlExport : public SmWordExportBase
{
public:
- SmOoxmlExport( const SmNode* pIn, oox::core::OoxmlVersion version );
+ SmOoxmlExport(const SmNode* pIn, oox::core::OoxmlVersion version,
+ oox::drawingml::DocumentType documentType);
bool ConvertFromStarMath( ::sax_fastparser::FSHelperPtr m_pSerializer );
private:
virtual void HandleVerticalStack( const SmNode* pNode, int nLevel ) override;
@@ -37,6 +39,8 @@ private:
virtual void HandleBlank() override;
::sax_fastparser::FSHelperPtr m_pSerializer;
oox::core::OoxmlVersion version;
+ /// needed to determine markup for nested run properties
+ oox::drawingml::DocumentType const m_DocumentType;
};