]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTabular.h
Check path of Qt tools if qtchooser is detected
[lyx.git] / src / mathed / InsetMathTabular.h
index 1d591924a53d23a32d7032a651ba060613580e3d..a4aa50f1b9137874e4d7f8c7c40dfe686a28e017 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.
  */
@@ -22,14 +22,14 @@ namespace lyx {
 class InsetMathTabular : public InsetMathGrid {
 public:
        ///
-       InsetMathTabular(docstring const &, int m, int n);
+       InsetMathTabular(Buffer * buf, docstring const &, int m, int n);
        ///
-       InsetMathTabular(docstring const &, int m, int n,
+       InsetMathTabular(Buffer * buf, docstring const &, int m, int n,
                char valign, docstring const & halign);
        ///
-       InsetMathTabular(docstring const &, char valign, docstring const & halign);
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       Dimension const dimension(BufferView const &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -45,9 +45,11 @@ public:
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_TABULAR_CODE; }
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       Inset * clone() const;
        ///
        docstring name_;
 };