]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.h
Handle the case of TeX fonts LuaTeX
[lyx.git] / src / insets / InsetCommandParams.h
index 219d79b27ea92ed9dd80c3ed198c6e810a18d09d..4107378487d0f8195454ea34860d3497888dc06c 100644 (file)
@@ -28,6 +28,7 @@
 namespace lyx {
 
 class Lexer;
+class Buffer;
 
 class ParamInfo {
 public:
@@ -112,11 +113,14 @@ public:
        std::string insetType() const;
        ///
        InsetCode code() const { return insetCode_; }
-       ///
-       void read(Lexer &);
        /// Parse the command
+       void read(Lexer &);
+       ///
+       void Read(Lexer &, Buffer const *);
        ///
        void write(std::ostream &) const;
+       ///
+       void Write(std::ostream & os, Buffer const * buf) const;
        /// Build the complete LaTeX command
        docstring getCommand(OutputParams const &) const;
        /// Return the command name
@@ -143,7 +147,7 @@ public:
        ///
        static bool isCompatibleCommand(InsetCode code, std::string const & s);
        /// 
-       ParamInfo const & info() const { return info_; };
+       ParamInfo const & info() const { return info_; }
        ///
        docstring prepareCommand(OutputParams const & runparams,
                docstring const & command, ParamInfo::ParamHandling handling) const;