]> git.lyx.org Git - lyx.git/blob - src/mathed/MathExtern.h
73ddc97d0665755142b54b23d843d6bffe16b00b
[lyx.git] / src / mathed / MathExtern.h
1 // -*- C++ -*-
2 /**
3  * \file MathExtern.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_EXTERN_H
13 #define MATH_EXTERN_H
14
15 #include "support/strfwd.h"
16
17 namespace lyx {
18
19 class NormalStream;
20 class MapleStream;
21 class MaximaStream;
22 class MathematicaStream;
23 class MathStream;
24 class OctaveStream;
25 class WriteStream;
26 class MathData;
27
28 void write(MathData const &, WriteStream &);
29 void normalize(MathData const &, NormalStream &);
30 void maple(MathData const &, MapleStream &);
31 void maxima(MathData const &, MaximaStream &);
32 void mathematica(MathData const &, MathematicaStream &);
33 void mathmlize(MathData const &, MathStream &);
34 void octave(MathData const &, OctaveStream &);
35
36 bool extractNumber(MathData const & ar, int & i);
37 bool extractNumber(MathData const & ar, double & i);
38
39 MathData pipeThroughExtern(std::string const & language,
40         docstring const & extra, MathData const & ar);
41
42
43 } // namespace lyx
44
45 #endif