summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-16 16:58:37 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-08-18 15:33:46 +0200
commitc0bcff297b9282baa6de998804e451d66e2863b7 (patch)
tree01d741965d8741ad7667bcdb22192a82b63102ee /starmath/inc
parent1ea4a6658517d27e7d5e26fc33fca9e49af6ddf7 (diff)
hack: make msoffice 2k7 be able to read ooxml formulas
It seems that it doesn't read characters unless the font is explicitly specified as "Cambria Math"
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/document.hxx3
-rw-r--r--starmath/inc/unomodel.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index d8e042c3e230..99f0d8b4cc79 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -40,6 +40,7 @@
#include <vcl/jobset.hxx>
#include <vcl/virdev.hxx>
#include <sax/fshelper.hxx>
+#include <oox/core/filterbase.hxx>
#include <set>
@@ -173,7 +174,7 @@ class SmDocShell : public SfxObjectShell, public SfxListener
*/
void InvalidateCursor();
- bool writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer );
+ bool writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version );
public:
TYPEINFO();
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx
index 15ada7b3a152..a55cac884158 100644
--- a/starmath/inc/unomodel.hxx
+++ b/starmath/inc/unomodel.hxx
@@ -103,7 +103,7 @@ public:
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xParent ) throw( ::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException );
// OoxmlFormulaExportBase
- virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer );
+ virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version );
static ::com::sun::star::uno::Sequence< rtl::OUString > getSupportedServiceNames_Static();
static ::rtl::OUString getImplementationName_Static();