]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.h
more IU
[lyx.git] / src / mathed / formulamacro.h
index 34bfc15e9d920b762c07696897add7d448ed0f45..b13d26713e5a0b6958f2f1f7ee5aed2a6d0642ce 100644 (file)
@@ -27,9 +27,9 @@ public:
        ///
        InsetFormulaMacro();
        /// construct a macro hull from its name and the number of arguments
-       explicit InsetFormulaMacro(string const & name, int nargs, string const & t);
+       explicit InsetFormulaMacro(std::string const & name, int nargs, std::string const & t);
        /// constructs a mocro from its LaTeX definition
-       explicit InsetFormulaMacro(string const & s);
+       explicit InsetFormulaMacro(std::string const & s);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -40,14 +40,17 @@ public:
        ///
        void write(Buffer const &, std::ostream & os) const;
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
        int latex(Buffer const &, std::ostream & os,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream & os) const;
+       int linuxdoc(Buffer const &, std::ostream & os,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
 
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
@@ -61,7 +64,7 @@ private:
        ///
        void read(std::istream & is);
        /// prefix in inset
-       string prefix() const;
+       std::string prefix() const;
 };
 
 #endif