X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=2c74f7098d55cf91c76ab1e1c5ae43814183a2bc;hb=b4e609bd691b326756e802bb16524bb837b5a10e;hp=73bb9f6ff55eda89014c2a56f9c661afe352a388;hpb=ee475b62fad9c899e80aba8543cf680fedf1c5ed;p=features.git diff --git a/src/BufferParams.h b/src/BufferParams.h index 73bb9f6ff5..2c74f7098d 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -17,9 +17,11 @@ #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 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