X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathScript.h;h=e84886b7d3bf922a8d42cae1e0beff345cc5de53;hb=c9609fe56a2deb40f001503c2fd707c990a2e0e2;hp=8d704dca9f912b338514699d90927b3469554bdb;hpb=8a0134cc8ce7de41d6d6911a1c4219ca958f2b71;p=lyx.git diff --git a/src/mathed/InsetMathScript.h b/src/mathed/InsetMathScript.h index 8d704dca9f..e84886b7d3 100644 --- a/src/mathed/InsetMathScript.h +++ b/src/mathed/InsetMathScript.h @@ -60,8 +60,10 @@ public: void maple(MapleStream &) const; /// write content as something readable by Mathematica void mathematica(MathematicaStream &) const; - /// write content as something resembling MathML - docstring mathmlize(MathStream &) const; + /// write content as MathML + void mathmlize(MathStream &) const; + /// write content as HTML + void htmlize(HtmlStream &) const; /// write content as something readable by Octave void octave(OctaveStream &) const; @@ -104,9 +106,13 @@ public: void infoize2(odocstream & os) const; /// InsetCode lyxCode() const { return MATH_SCRIPT_CODE; } - + /// + void validate(LaTeXFeatures &features) const; protected: virtual void doDispatch(Cursor & cur, FuncRequest & cmd); + /// do we want to handle this event? + bool getStatus(Cursor & cur, FuncRequest const & cmd, + FuncStatus & status) const; private: virtual Inset * clone() const; /// returns x offset for main part