class MathDelimInset : public MathNestInset {
public:
///
- MathDelimInset(string const &, string const &);
+ MathDelimInset(string const & left, string const & right);
///
MathInset * clone() const;
///
- void draw(Painter &, int x, int y) const;
+ MathDelimInset * asDelimInset() { return this; }
///
- void write(MathWriteInfo & os) const;
- /// write normalized content
- void writeNormal(std::ostream &) const;
+ MathDelimInset const * asDelimInset() const { return this; }
+ /// is it (...)?
+ bool isParanthesis() const;
+ /// is it [...]?
+ bool isBrackets() const;
+ /// is it |...|?
+ bool isAbs() const;
///
void metrics(MathMetricsInfo const & st) const;
///
- bool isMatrix() const;
+ void draw(Painter &, int x, int y) const;
+
+ ///
+ void write(WriteStream & os) const;
+ /// write normalized content
+ void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
-private:
- ///
- int dw() const;
///
string left_;
///
string right_;
+private:
///
- static string latexName(string const & name);
+ int dw() const;
};
#endif