]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListingsParams.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetListingsParams.h
index dc76ed40ad1db4cd34b24582b50c1aa7bf6a37b7..76ed9613ff2c18954b0cfa714df53a4282d90c2d 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <map>
 #include <exception>
-#include "Lexer.h"
 #include "InsetCollapsable.h"
 
 namespace lyx {
@@ -37,8 +36,10 @@ public:
        /// valid parameter string
        std::string params(std::string const & sep=",") const;
 
-       /// add key=value to params_
-       void addParam(std::string const & key, std::string const & value);
+       /// add key=value to params_. key_=value will be used if key=value already exists
+       /// unless replace=true.
+       void addParam(std::string const & key, std::string const & value, 
+                       bool replace = false);
 
        /// add a few parameters
        void addParams(std::string const & par);