update credits
[LibreOffice.git] / starmath / source / ooxmlimport.hxx
blobcd294ec9ec6a3e0c695b09eb1016d764c78aee99
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 SM_OOXMLIMPORT_HXX
11 #define SM_OOXMLIMPORT_HXX
13 #include <oox/mathml/importutils.hxx>
15 #include "node.hxx"
17 /**
18 Class implementing reading of formulas from OOXML. The toplevel element is expected
19 to be oMath (handle oMathPara outside of this code).
21 class SmOoxmlImport
23 public:
24 SmOoxmlImport( oox::formulaimport::XmlStream& stream );
25 OUString ConvertToStarMath();
26 private:
27 OUString handleStream();
28 OUString handleAcc();
29 OUString handleBar();
30 OUString handleBox();
31 OUString handleBorderBox();
32 OUString handleD();
33 OUString handleEqArr();
34 OUString handleF();
35 OUString handleFunc();
36 enum LimLowUpp_t { LimLow, LimUpp };
37 OUString handleLimLowUpp( LimLowUpp_t limlowupp );
38 OUString handleGroupChr();
39 OUString handleM();
40 OUString handleNary();
41 OUString handleR();
42 OUString handleRad();
43 OUString handleSpre();
44 OUString handleSsub();
45 OUString handleSsubsup();
46 OUString handleSsup();
47 OUString readOMathArg( int stoptoken );
48 OUString readOMathArgInElement( int token );
49 oox::formulaimport::XmlStream& stream;
52 #endif
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */