diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-08-16 13:52:43 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-08-18 15:33:44 +0200 |
commit | 2e5e29471f9ac61ec454bf90a985525a0ad5cb1c (patch) | |
tree | 9a242eb2f2e94bf31ff8ba2b1bb5b2ccb6af89d5 /starmath/inc | |
parent | dc03f0321b0c9b6448e516bd5740b0d920fe18e5 (diff) |
hook for calling from .docx filter to starmath for writting formulas
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/unomodel.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index 693ea3bc9b2e..15ada7b3a152 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -37,6 +37,7 @@ #include <sfx2/sfxbasemodel.hxx> #include <comphelper/propertysethelper.hxx> #include <vcl/print.hxx> +#include <filter/msfilter/ooxmlexport.hxx> class SmFormat; @@ -63,7 +64,8 @@ public: class SmModel : public SfxBaseModel, public comphelper::PropertySetHelper, public com::sun::star::lang::XServiceInfo, - public com::sun::star::view::XRenderable + public com::sun::star::view::XRenderable, + public OoxmlFormulaExportBase { SmPrintUIOptions* m_pPrintUIOptions; protected: @@ -100,6 +102,9 @@ 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 ); + static ::com::sun::star::uno::Sequence< rtl::OUString > getSupportedServiceNames_Static(); static ::rtl::OUString getImplementationName_Static(); }; |