]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Do not overwrite read-only files. We now move the file to the backup directory and...
[lyx.git] / src / LaTeXFeatures.h
index 9bb50f57cfa6dc00485be95e19f369657f7c343c..999c1fb460ff50544178f86453efc462f88868f8 100644 (file)
@@ -101,9 +101,13 @@ public:
        void useLanguage(Language const *);
        ///
        bool hasLanguages() const;
+       /// check if all used languages are supported by polyglossia
+       bool hasPolyglossiaLanguages() const;
        ///
        std::string getLanguages() const;
        ///
+       std::map<std::string, std::string> getPolyglossiaLanguages() const;
+       ///
        std::set<std::string> getEncodingSet(std::string const & doc_encoding) const;
        ///
        void useLayout(docstring const & lyt);
@@ -117,6 +121,8 @@ public:
        BufferParams const & bufferParams() const;
        /// the return value is dependent upon both LyXRC and LaTeXFeatures.
        bool useBabel() const;
+       ///
+       bool usePolyglossia() const;
        /// are we in a float?
        bool inFloat() const { return in_float_; }
        /// are we in a float?