X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathScript.h;h=31955dd84c4dbb40a8aa27486c3204cba6f6b493;hb=ffff88e7fcd46afaa3b1823e9fcdc4aad4e2114b;hp=1b34c5c7adf073f13446d4ff8f3b12bea7bc46d9;hpb=99fb1c7003395bf08d5523d2a8367729424de047;p=features.git diff --git a/src/mathed/InsetMathScript.h b/src/mathed/InsetMathScript.h index 1b34c5c7ad..31955dd84c 100644 --- a/src/mathed/InsetMathScript.h +++ b/src/mathed/InsetMathScript.h @@ -13,6 +13,7 @@ #define MATH_SCRIPTINSET_H #include "InsetMathNest.h" +#include "FontEnums.h" namespace lyx { @@ -57,7 +58,7 @@ public: size_type lastIdx() const override { return 0; } /// write LaTeX and Lyx code - void write(WriteStream & os) const override; + void write(TeXMathStream & os) const override; /// write normalized content void normalize(NormalStream &) const override; /// write content as something readable by Maple @@ -65,7 +66,7 @@ public: /// write content as something readable by Mathematica void mathematica(MathematicaStream &) const override; /// write content as MathML - void mathmlize(MathStream &) const override; + void mathmlize(MathMLStream &) const override; /// write content as HTML void htmlize(HtmlStream &) const override; /// write content as something readable by Octave @@ -134,7 +135,7 @@ private: /// subscript to the left. int nker(BufferView const * bv) const; /// do we we have to draw the scripts above/below nucleus? - bool hasLimits(FontInfo const &) const; + bool hasLimits(MathStyle const &) const; /// clean up empty cells and return true if a cell has been deleted. bool notifyCursorLeaves(Cursor const & old, Cursor & cur) override;