X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.h;h=9cce40df23bf3cbaff76f079af7fcab1eb17dc06;hb=bca9a6ca73b05856eb24f38795d67fdefa939878;hp=e1fbf50e887d46506e7a9d91a91daa5c16d01cc3;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.h b/src/mathed/InsetMathPhantom.h index e1fbf50e88..9cce40df23 100644 --- a/src/mathed/InsetMathPhantom.h +++ b/src/mathed/InsetMathPhantom.h @@ -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 doClone() const; + virtual Inset * clone() const; /// Kind kind_; };