X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.h;h=df071c671b2658419f439272d086eab7ae7167c7;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=ec807c3b1f199e38e84f8728d2865bb3f44e7f50;hpb=261e7ae9ce7e6a1ffc4932ff9c33107588a9a4ac;p=lyx.git diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index ec807c3b1f..df071c671b 100644 --- a/src/LaTeXFeatures.h +++ b/src/LaTeXFeatures.h @@ -27,7 +27,7 @@ class Buffer; class BufferParams; class InsetLayout; class Language; -class TexString; +struct TexString; /** The packages and commands that a buffer needs. This class * contains a list. Each of the LaTeX packages that a buffer needs @@ -73,7 +73,8 @@ public: /// The definitions needed by the document's textclass docstring const getTClassPreamble() const; /// The language dependent definitions needed by the document's textclass - docstring const getTClassI18nPreamble(bool use_babel, bool use_polyglossia) const; + docstring const getTClassI18nPreamble(bool use_babel, + bool use_polyglossia, bool use_minted) const; /// docstring const getTClassHTMLStyles() const; /// @@ -124,10 +125,14 @@ public: bool hasOnlyPolyglossiaLanguages() const; /// check if a language is supported only by polyglossia bool hasPolyglossiaExclusiveLanguages() const; + /// A vector of all used languages supported only by polyglossia + std::vector getPolyglossiaExclusiveLanguages() const; + /// A vector of all used languages supported only by babel + std::vector getBabelExclusiveLanguages() const; /// std::string getBabelLanguages() const; /// - std::map getPolyglossiaLanguages() const; + std::set getPolyglossiaLanguages() const; /// std::set getEncodingSet(std::string const & doc_encoding) const; ///