X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.h;h=8221171b1d4330987812efe3dd856a94c0d5ea8d;hb=c56d524cd6af5d0ed0d50fef51ab434ce418d1e0;hp=82ac904281ff108195348ff06ac35156ac223904;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.h b/src/mathed/InsetMathPhantom.h index 82ac904281..8221171b1d 100644 --- a/src/mathed/InsetMathPhantom.h +++ b/src/mathed/InsetMathPhantom.h @@ -23,12 +23,16 @@ public: enum Kind { phantom, vphantom, - hphantom + hphantom, + smash, + mathclap, + mathllap, + mathrlap }; /// - explicit InsetMathPhantom(Kind); + explicit InsetMathPhantom(Buffer * buf, Kind); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -37,6 +41,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;