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 SM_OOXMLIMPORT_HXX
11 #define SM_OOXMLIMPORT_HXX
13 #include <oox/mathml/importutils.hxx>
18 Class implementing reading of formulas from OOXML. The toplevel element is expected
19 to be oMath (handle oMathPara outside of this code).
24 SmOoxmlImport( oox::formulaimport::XmlStream
& stream
);
25 OUString
ConvertToStarMath();
27 OUString
handleStream();
31 OUString
handleBorderBox();
33 OUString
handleEqArr();
35 OUString
handleFunc();
36 enum LimLowUpp_t
{ LimLow
, LimUpp
};
37 OUString
handleLimLowUpp( LimLowUpp_t limlowupp
);
38 OUString
handleGroupChr();
40 OUString
handleNary();
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
;
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */