X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.h;h=63b8ea28de772844ef04f35b64132e74d3dcb258;hb=4c724a6072013247ac178f0acec06825585c6c55;hp=6bfdd08c5ea19bef0ecbf1d76732e7db78d58532;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.h b/src/mathed/InsetMathPhantom.h index 6bfdd08c5e..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; /// @@ -37,6 +43,17 @@ public: void normalize(NormalStream & ns) 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 Inset * clone() const;