From 2e5e29471f9ac61ec454bf90a985525a0ad5cb1c Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 16 Aug 2011 13:52:43 +0200 Subject: hook for calling from .docx filter to starmath for writting formulas --- starmath/inc/unomodel.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'starmath/inc') 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 #include #include +#include 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(); }; -- cgit