mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
fe87869cb7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
37 lines
707 B
C++
37 lines
707 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_EXFUNCINSET_H
|
|
#define MATH_EXFUNCINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
// f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
|
|
// for interfacing external programs
|
|
|
|
class MathExFuncInset : public MathNestInset {
|
|
public:
|
|
///
|
|
explicit MathExFuncInset(string const & name);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void metrics(MathMetricsInfo & st) const;
|
|
///
|
|
void draw(MathPainterInfo &, int x, int y) const;
|
|
|
|
///
|
|
void normalize(NormalStream &) const;
|
|
///
|
|
void maplize(MapleStream &) const;
|
|
///
|
|
void mathmlize(MathMLStream &) const;
|
|
///
|
|
void octavize(OctaveStream &) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
|
|
private:
|
|
///
|
|
string const name_;
|
|
};
|
|
#endif
|