1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX
11 #define INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX
13 #include <oox/mathml/importutils.hxx>
16 Class implementing reading of formulas from OOXML. The toplevel element is expected
17 to be oMath (handle oMathPara outside of this code).
22 explicit SmOoxmlImport( oox::formulaimport::XmlStream
& stream
);
23 OUString
ConvertToStarMath();
25 OUString
handleStream();
29 OUString
handleBorderBox();
31 OUString
handleEqArr();
33 OUString
handleFunc();
34 enum LimLowUpp_t
{ LimLow
, LimUpp
};
35 OUString
handleLimLowUpp( LimLowUpp_t limlowupp
);
36 OUString
handleGroupChr();
38 OUString
handleNary();
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
;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */