]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_deliminset.h
index f1fb2bf60595d12a95be8a9f8c9e36a51430988c..16ff2f20d362cc9e74ed43b64751a01b324a2675 100644 (file)
@@ -20,20 +20,37 @@ public:
        ///
        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:
+       ///
+       int dw() const;
        ///
        static string latexName(string const & name);
 };