2003-08-19 13:00:56 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2006-09-17 09:14:18 +00:00
|
|
|
* \file MathExtern.h
|
2003-08-19 13:00:56 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author André Pönitz
|
2003-08-19 13:00:56 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
#ifndef MATH_EXTERN_H
|
|
|
|
#define MATH_EXTERN_H
|
|
|
|
|
2007-11-27 20:51:20 +00:00
|
|
|
#include "support/strfwd.h"
|
2002-06-18 15:44:30 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
class NormalStream;
|
|
|
|
class MapleStream;
|
2002-10-28 17:15:19 +00:00
|
|
|
class MaximaStream;
|
2002-07-01 11:17:14 +00:00
|
|
|
class MathematicaStream;
|
2006-10-22 10:15:23 +00:00
|
|
|
class MathStream;
|
2001-11-09 10:44:24 +00:00
|
|
|
class OctaveStream;
|
|
|
|
class WriteStream;
|
2007-04-26 16:05:57 +00:00
|
|
|
class MathData;
|
2001-11-09 10:44:24 +00:00
|
|
|
|
2007-04-26 16:05:57 +00:00
|
|
|
void write(MathData const &, WriteStream &);
|
|
|
|
void normalize(MathData const &, NormalStream &);
|
|
|
|
void maple(MathData const &, MapleStream &);
|
|
|
|
void maxima(MathData const &, MaximaStream &);
|
|
|
|
void mathematica(MathData const &, MathematicaStream &);
|
|
|
|
void mathmlize(MathData const &, MathStream &);
|
|
|
|
void octave(MathData const &, OctaveStream &);
|
2001-11-09 10:44:24 +00:00
|
|
|
|
2007-04-26 16:05:57 +00:00
|
|
|
bool extractNumber(MathData const & ar, int & i);
|
|
|
|
bool extractNumber(MathData const & ar, double & i);
|
2002-03-25 12:11:25 +00:00
|
|
|
|
2007-04-26 16:05:57 +00:00
|
|
|
MathData pipeThroughExtern(std::string const & language,
|
|
|
|
docstring const & extra, MathData const & ar);
|
2002-06-18 15:44:30 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
#endif
|