]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.h
de.po
[lyx.git] / src / mathed / InsetMathUnknown.h
index daae372557c4244ec2c1fe0f10608c5dd1d9c331..3d66df7555ebb4227157583396dd66f3c3eb4751 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.
  */
@@ -14,8 +14,6 @@
 
 #include "InsetMath.h"
 
-#include "support/docstring.h"
-
 
 namespace lyx {
 
@@ -24,7 +22,7 @@ class InsetMathUnknown : public InsetMath {
 public:
        ///
        explicit InsetMathUnknown(docstring const & name,
-               docstring const & selection = docstring(),
+               docstring const & selection = empty_docstring(),
                bool final = true, bool black = false);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -37,7 +35,7 @@ public:
 
        ///
        docstring const & selection() const { return selection_; }
-       
+
        /// identifies UnknownInsets
        InsetMathUnknown const * asUnknownInset() const { return this; }
        /// identifies UnknownInsets
@@ -52,6 +50,8 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void octave(OctaveStream &) const;
        ///
        void finalize();
@@ -59,6 +59,8 @@ public:
        bool final() const;
        ///
        int kerning(BufferView const *) const { return kerning_; }
+       ///
+       InsetCode lyxCode() const { return MATH_UNKNOWN_CODE; }
 
 private:
        ///