Bump version to 5.0-14
[LibreOffice.git] / starmath / source / ooxmlimport.hxx
blob4207726245e9a6881e8a3a49fe37cc6f2f3f7117
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX
11 #define INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX
13 #include <oox/mathml/importutils.hxx>
15 /**
16 Class implementing reading of formulas from OOXML. The toplevel element is expected
17 to be oMath (handle oMathPara outside of this code).
19 class SmOoxmlImport
21 public:
22 explicit SmOoxmlImport( oox::formulaimport::XmlStream& stream );
23 OUString ConvertToStarMath();
24 private:
25 OUString handleStream();
26 OUString handleAcc();
27 OUString handleBar();
28 OUString handleBox();
29 OUString handleBorderBox();
30 OUString handleD();
31 OUString handleEqArr();
32 OUString handleF();
33 OUString handleFunc();
34 enum LimLowUpp_t { LimLow, LimUpp };
35 OUString handleLimLowUpp( LimLowUpp_t limlowupp );
36 OUString handleGroupChr();
37 OUString handleM();
38 OUString handleNary();
39 OUString handleR();
40 OUString handleRad();
41 OUString handleSpre();
42 OUString handleSsub();
43 OUString handleSsubsup();
44 OUString handleSsup();
45 OUString readOMathArg( int stoptoken );
46 OUString readOMathArgInElement( int token );
47 oox::formulaimport::XmlStream& stream;
50 #endif
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */