diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-08-16 16:58:37 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-08-18 15:33:46 +0200 |
commit | c0bcff297b9282baa6de998804e451d66e2863b7 (patch) | |
tree | 01d741965d8741ad7667bcdb22192a82b63102ee /filter | |
parent | write formula to the proper place inside ooxml document (diff) | |
download | core-c0bcff297b9282baa6de998804e451d66e2863b7.tar.gz core-c0bcff297b9282baa6de998804e451d66e2863b7.zip |
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 'filter')
-rw-r--r-- | filter/inc/filter/msfilter/ooxmlexport.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/inc/filter/msfilter/ooxmlexport.hxx b/filter/inc/filter/msfilter/ooxmlexport.hxx index b8a59e73d8a4..c9de21a9172a 100644 --- a/filter/inc/filter/msfilter/ooxmlexport.hxx +++ b/filter/inc/filter/msfilter/ooxmlexport.hxx @@ -29,6 +29,7 @@ #define _OOXMLEXPORT_HXX #include <sax/fshelper.hxx> +#include <oox/core/filterbase.hxx> #include "filter/msfilter/msfilterdllapi.h" /** @@ -38,7 +39,7 @@ class MSFILTER_DLLPUBLIC OoxmlFormulaExportBase { public: - virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer ) = 0; + virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version ) = 0; }; #endif |