]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
small up/down tweaking
[lyx.git] / src / mathed / math_deliminset.h
index 88f0fcce44fedc5fcbef0b5e2ea50c5d2b3a4f1b..786c48529c116c3c93d29cd12d14528495dd258f 100644 (file)
 #endif
 
 /** A delimiter
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
 */
 
 class MathDelimInset : public MathNestInset {
 public:
        ///
-       MathDelimInset(string const &, string const &);
+       MathDelimInset(string const & left, string const & right);
+       ///
+       MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
        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;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       bool isMatrix() const;
+       void draw(MathPainterInfo &, int x, int y) const;
+
        ///
-       void octavize(OctaveStream &) const;
+       void write(WriteStream & os) const;
+       /// write normalized content
+       void normalize(NormalStream &) const;
        ///
        void maplize(MapleStream &) const;
-private:
        ///
-       int dw() const;
+       void maximize(MaximaStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
        ///
        string left_;
        ///
        string right_;
+private:
        ///
-       static string latexName(string const & name);
+       int dw() const;
 };
 #endif