class MathDelimInset : public MathNestInset {
public:
///
- MathDelimInset(string const &, string const &);
+ MathDelimInset(string const & left, string const & right);
///
MathInset * clone() const;
///
+ MathDelimInset * asDelimInset() { return this; }
+ ///
+ 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;
+ ///
void draw(Painter &, int x, int y) const;
+
///
- void write(MathWriteInfo & os) const;
+ void write(WriteStream & os) const;
/// write normalized content
- void writeNormal(std::ostream &) const;
+ void normalize(NormalStream &) const;
///
- void metrics(MathMetricsInfo const & st) const;
-private:
+ void maplize(MapleStream &) const;
///
- int dw() const;
+ void mathmlize(MathMLStream &) const;
+ ///
+ void octavize(OctaveStream &) const;
///
string left_;
///
string right_;
+private:
///
- static string latexName(string const & name);
+ int dw() const;
};
#endif