mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
884923f714
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4563 a592a061-630c-0410-9148-cb99ea01b6c8
39 lines
709 B
C++
39 lines
709 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_ENVINSET_H
|
|
#define MATH_ENVINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
#include "math_metricsinfo.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** Environtments á la \begin{something}...\end{something}
|
|
\author André Pönitz
|
|
*/
|
|
|
|
class MathEnvInset : public MathNestInset {
|
|
public:
|
|
///
|
|
MathEnvInset(string const & name_);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(MathPainterInfo &, int x, int y) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
/// write normalized content
|
|
void normalize(NormalStream & ns) const;
|
|
///
|
|
void metrics(MathMetricsInfo & mi) const;
|
|
///
|
|
void infoize(std::ostream & os) const;
|
|
|
|
private:
|
|
/// name of that environment
|
|
string name_;
|
|
};
|
|
|
|
#endif
|