diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-11-15 13:47:36 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-11-24 18:43:56 +0100 |
commit | 1acdbe4dfe0de152080992110efbb67e0639912d (patch) | |
tree | 134a06931453bb795ae48946750edcae12d159a0 /sw/inc/unotxdoc.hxx | |
parent | 49e4c3e5e139f0443e5432d99d6514038b62ce84 (diff) |
initial (very hacky) work on mathml ooxml import
This commit needs to be generally reworked for upstream, but it
more or less works.
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r-- | sw/inc/unotxdoc.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index bc21cf3350f3..a821e38cc6c3 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -78,6 +78,7 @@ #include <cppuhelper/implbase2.hxx> // helper for implementations #include <cppuhelper/implbase4.hxx> // helper for implementations #include <RefreshListenerContainer.hxx> +#include <oox/export/starmathimport.hxx> #include <viewopt.hxx> @@ -180,7 +181,8 @@ SwXTextDocumentBaseClass; class SW_DLLPUBLIC SwXTextDocument : public SwXTextDocumentBaseClass, public SvxFmMSFactory, - public SfxBaseModel + public SfxBaseModel, + public OoxmlFormulaImportBase { ActionContextArr aActionArr; SwRefreshListenerContainer aRefreshCont; @@ -252,6 +254,8 @@ public: virtual void SAL_CALL acquire( ) throw(); virtual void SAL_CALL release( ) throw(); + virtual void addFormula( com::sun::star::uno::Reference< com::sun::star::embed::XEmbeddedObject > p ); + //XWeak virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter( ) throw(css::uno::RuntimeException); |