]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathPhantom.h
index 9d21bbdeff3e2ecb5a43bbb56d266b7f2d8c86fd..63b8ea28de772844ef04f35b64132e74d3dcb258 100644 (file)
@@ -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;
        ///
@@ -39,6 +45,14 @@ public:
        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:
        ///