]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.h
* FORMAT
[features.git] / src / BufferParams.h
index 73bb9f6ff55eda89014c2a56f9c661afe352a388..2c74f7098d55cf91c76ab1e1c5ae43814183a2bc 100644 (file)
 
 #include "Citation.h"
 #include "ColorCode.h"
+#include "ColorSet.h"
 #include "DocumentClassPtr.h"
 #include "LayoutModuleList.h"
 #include "paper.h"
+#include "WordLangTuple.h"
 
 #include "support/copied_ptr.h"
 #include "support/types.h"
@@ -78,7 +80,7 @@ public:
        /// read a header token, if unrecognised, return it or an unknown class name
        std::string readToken(Lexer & lex,
                std::string const & token, ///< token to read.
-               support::FileName const & filepath);
+               support::FileName const & filename);
 
        ///
        void writeFile(std::ostream &, Buffer const *) const;
@@ -334,6 +336,12 @@ public:
        /// IndicesList:
        IndicesList & indiceslist();
        IndicesList const & indiceslist() const;
+       ///
+       typedef std::vector<WordLangTuple> IgnoreList;
+       ///
+       IgnoreList & spellignore();
+       IgnoreList const & spellignore() const;
+       bool spellignored(WordLangTuple const & wl) const;
        /**
         * The LyX name of the input encoding for LaTeX. This can be one of
         * - \c auto: find out the input encoding from the used languages
@@ -576,6 +584,15 @@ public:
        /// what format to use for table output in DocBook. present choices are above
        TableOutput docbook_table_output;
 
+       // do not change these values. we rely upon them.
+       enum MathMLNameSpacePrefix {
+               NoPrefix = 0,
+               MPrefix = 1,
+               MMLPrefix = 2
+       };
+       /// what prefix to use when outputting MathML. present choices are above
+       MathMLNameSpacePrefix docbook_mathml_prefix;
+
        /// allow the LaTeX backend to run external programs
        bool shell_escape;
        /// generate output usable for reverse/forward search