]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroTemplate.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathMacroTemplate.h
index ddcfe4df78d2b0511c773f52540f274883cf6444..bdba22143f7f6e0fa9b33e5cca85c6f68d434b62 100644 (file)
 namespace lyx {
 
 class OutputParams;
-class XHTMLStream;
+class XMLStream;
 
 /// This class contains the macro definition.
 class InsetMathMacroTemplate : public InsetMathNest {
 public:
        ///
-       InsetMathMacroTemplate(Buffer * buf);
+       explicit InsetMathMacroTemplate(Buffer * buf);
        ///
        InsetMathMacroTemplate(Buffer * buf, docstring const & name, int nargs,
                int optional, MacroType type,
@@ -48,16 +48,15 @@ public:
        void write(std::ostream & os) const;
        ///
        void write(WriteStream & os) const;
-       /// Output LaTeX code, but assume that the macro is not definied yet
+       /// Output LaTeX code, but assume that the macro is not defined yet
        /// if overwriteRedefinition is true
        int write(WriteStream & os, bool overwriteRedefinition) const;
        /// Nothing happens. This is simply to suppress the default output.
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        int plaintext(odocstringstream &, OutputParams const &, size_t) const;
        ///
        bool inheritFont() const { return false; }
-
        ///
        docstring name() const;
        ///