Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 : #ifndef INCLUDED_OOX_MATHML_EXPORT_HXX
10 : #define INCLUDED_OOX_MATHML_EXPORT_HXX
11 :
12 : #include <sax/fshelper.hxx>
13 : #include <rtl/strbuf.hxx>
14 : #include <oox/core/filterbase.hxx>
15 : #include <oox/dllapi.h>
16 :
17 : namespace oox
18 : {
19 :
20 : /**
21 : Interface class, StarMath will implement writeFormula*() to write out markup
22 : representing the formula.
23 : */
24 : class OOX_DLLPUBLIC FormulaExportBase
25 : {
26 : public:
27 : virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version ) = 0;
28 : virtual void writeFormulaRtf( OStringBuffer& rBuffer, rtl_TextEncoding nEncoding ) = 0;
29 :
30 : protected:
31 : FormulaExportBase();
32 :
33 634 : ~FormulaExportBase() {}
34 : };
35 :
36 : } // namespace
37 :
38 : #endif
39 :
40 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|