lyx_mirror/src/mathed/math_deliminset.h
André Pönitz 7cccd80619 change output to uses streams instead of strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2977 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 17:30:26 +00:00

47 lines
822 B
C++

// -*- C++ -*-
#ifndef MATH_DELIMINSET_H
#define MATH_DELIMINSET_H
#include "math_nestinset.h"
#include "LString.h"
#ifdef __GNUG__
#pragma interface
#endif
/** A delimiter
\author Alejandro Aguilar Sierra
*/
class MathDelimInset : public MathNestInset {
public:
///
MathDelimInset(string const &, string const &);
///
MathInset * clone() const;
///
void draw(Painter &, int x, int y) const;
///
void write(MathWriteInfo & os) const;
/// write normalized content
void writeNormal(std::ostream &) const;
///
void metrics(MathMetricsInfo const & st) const;
///
bool isMatrix() const;
///
void octavize(OctaveStream &) const;
///
void maplize(MapleStream &) const;
private:
///
int dw() const;
///
string left_;
///
string right_;
///
static string latexName(string const & name);
};
#endif