]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
Fix #7549, due to a problem in exporting to plaintext a
[lyx.git] / src / mathed / InsetMathPhantom.h
index e1fbf50e887d46506e7a9d91a91daa5c16d01cc3..9cce40df23bf3cbaff76f079af7fcab1eb17dc06 100644 (file)
@@ -26,7 +26,7 @@ public:
                hphantom
        };
        ///
-       explicit InsetMathPhantom(Kind);
+       explicit InsetMathPhantom(Buffer * buf, Kind);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -36,10 +36,17 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_PHANTOM_CODE; }
+       /// Nothing for now
+       void mathmlize(MathStream &) const {}
+       /// Nothing for HTML
+       void htmlize(HtmlStream &) const {}
+
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        Kind kind_;
 };