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 <rtl/ustring.hxx>
15 namespace oox::formulaimport
{ class XmlStream
; }
17 Class implementing reading of formulas from OOXML. The toplevel element is expected
18 to be oMath (handle oMathPara outside of this code).
23 explicit SmOoxmlImport( oox::formulaimport::XmlStream
& stream
);
24 OUString
ConvertToStarMath();
26 OUString
handleStream();
30 OUString
handleBorderBox();
32 OUString
handleEqArr();
34 OUString
handleFunc();
35 enum LimLowUpp_t
{ LimLow
, LimUpp
};
36 OUString
handleLimLowUpp( LimLowUpp_t limlowupp
);
37 OUString
handleGroupChr();
39 OUString
handleNary();
42 OUString
handleSpre();
43 OUString
handleSsub();
44 OUString
handleSsubsup();
45 OUString
handleSsup();
46 OUString
readOMathArg( int stoptoken
);
47 OUString
readOMathArgInElement( int token
);
49 oox::formulaimport::XmlStream
& m_rStream
;
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */