]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
inactive new stuff to re-sync my tree before going on holyday
[lyx.git] / src / mathed / math_deliminset.h
index 0ffe24d3c7cd0ddd5d118d2d3493ec86abfed768..c96ffa5924cb30ce63916d5919271b66c7b54391 100644 (file)
 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;
        ///
-       string octavize() const;
+       void maplize(MapleStream &) const;
        ///
-       string maplize() const;
-private:
+       void mathmlize(MathMLStream &) const;
        ///
-       int dw() const;
+       void octavize(OctaveStream &) const;
        ///
        string left_;
        ///
        string right_;
+private:
        ///
-       static string latexName(string const & name);
+       int dw() const;
 };
 #endif