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;
///
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 std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
///
Kind kind_;
};