X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.h;h=63b8ea28de772844ef04f35b64132e74d3dcb258;hb=ba3ff646db52efc8faaa735107c5580eae82b29d;hp=e1fbf50e887d46506e7a9d91a91daa5c16d01cc3;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.h b/src/mathed/InsetMathPhantom.h index e1fbf50e88..63b8ea28de 100644 --- a/src/mathed/InsetMathPhantom.h +++ b/src/mathed/InsetMathPhantom.h @@ -23,10 +23,16 @@ public: enum Kind { phantom, vphantom, - hphantom + hphantom, + smash, + smasht, + smashb, + mathclap, + mathllap, + mathrlap }; /// - explicit InsetMathPhantom(Kind); + explicit InsetMathPhantom(Buffer * buf, Kind); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// @@ -36,10 +42,21 @@ 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 {} + /// request "external features" + void validate(LaTeXFeatures & features) const; + /// Does the contents appear in LaTeX output? + bool visibleContents() const; + private: /// - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// Kind kind_; };