]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
Better mechanism for setting cell height
[lyx.git] / src / mathed / InsetMathDelim.h
index 3dbb39da00f0b3903f539d15398cfd6cefa118fa..69242d50a7e66b1d8aa5c48b6c2fc5123a22a6b5 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
@@ -24,13 +22,18 @@ namespace lyx {
 class InsetMathDelim : public InsetMathNest {
 public:
        ///
-       InsetMathDelim(docstring const & left, docstring const & right);
+       InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right);
        ///
-       InsetMathDelim(docstring const & left, docstring const & right, MathData const &);
+       InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right,
+               MathData const &);
        ///
        InsetMathDelim * asDelimInset() { return this; }
        ///
        InsetMathDelim const * asDelimInset() const { return this; }
+       ///
+       MathClass mathClass() const { return MC_INNER; }
+       ///
+       marker_type marker(BufferView const *) const { return NO_MARKER; }
        /// is it (...)?
        bool isParenthesis() const;
        /// is it [...]?
@@ -44,6 +47,8 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
 
+       ///
+       void validate(LaTeXFeatures & features) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content
@@ -57,8 +62,12 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void octave(OctaveStream &) const;
        ///
+       InsetCode lyxCode() const { return MATH_DELIM_CODE; }
+       ///
        docstring left_;
        ///
        docstring right_;