]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathComment.h
index 9f0b494301de12c742c95cdbf2cb98e1c0f55dab..8cfe1368d7cb01cbf7465b8d096af8776194cdf0 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -23,11 +23,13 @@ class latexkeys;
 class InsetMathComment : public InsetMathNest {
 public:
        ///
-       InsetMathComment();
+       InsetMathComment(Buffer * buf);
        ///
-       explicit InsetMathComment(docstring const &);
+       InsetMathComment(MathData const & ar);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       explicit InsetMathComment(Buffer * buf, docstring const &);
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -40,13 +42,17 @@ public:
        ///
        void maple(MapleStream &) const;
        ///
-       void mathematica(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const {}
        ///
-       void octave(OctaveStream &) const;
+       void octave(OctaveStream &) const {}
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_COMMENT_CODE; }
 private:
        virtual Inset * clone() const;
 };