lyx_mirror/src/mathed/MathExtern.h

51 lines
1.3 KiB
C
Raw Normal View History

// -*- C++ -*-
/**
* \file MathExtern.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MATH_EXTERN_H
#define MATH_EXTERN_H
#include "support/strfwd.h"
namespace lyx {
class HtmlStream;
class NormalStream;
class MapleStream;
class MaximaStream;
class MathematicaStream;
2020-12-26 19:02:46 +00:00
class MathMLStream;
class OctaveStream;
2020-12-26 19:04:36 +00:00
class TeXMathStream;
class MathData;
2020-12-26 19:04:36 +00:00
void write(MathData const &, TeXMathStream &);
void htmlize(MathData const &, HtmlStream &);
void normalize(MathData const &, NormalStream &);
void maple(MathData const &, MapleStream &);
void maxima(MathData const &, MaximaStream &);
void mathematica(MathData const &, MathematicaStream &);
2020-12-26 19:02:46 +00:00
void mathmlize(MathData const &, MathMLStream &);
void octave(MathData const &, OctaveStream &);
bool extractNumber(MathData const & ar, int & i);
bool extractNumber(MathData const & ar, double & i);
/// Write \p s (which may contain math or text contents in LaTeX syntax) to \p os
2020-12-26 19:04:36 +00:00
void writeString(docstring const & s, TeXMathStream & os);
MathData pipeThroughExtern(std::string const & language,
docstring const & extra, MathData const & ar);
} // namespace lyx
#endif