]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Make sure a pointer is valid before using it
[lyx.git] / src / LaTeXFeatures.h
index 097fe4cf8c425ed9d6abd3d78291cc85fe8f44b5..6b1febf28bbbf1d26fb959005eff0fb582e52680 100644 (file)
@@ -88,7 +88,8 @@ public:
        /// Print requirements to lyxerr
        void showStruct() const;
        ///
-       void addPreambleSnippet(std::string const &);
+       void addPreambleSnippet(std::string const & snippet, 
+                               bool allowdupes = false);
        ///
        std::string getPreambleSnippets() const;
        ///
@@ -128,6 +129,8 @@ public:
        ///
        std::set<std::string> getEncodingSet(std::string const & doc_encoding) const;
        ///
+       void getFontEncodings(std::vector<std::string> & encodings) const;
+       ///
        void useLayout(docstring const & lyt);
        ///
        void useInsetLayout(InsetLayout const & lay);
@@ -153,6 +156,8 @@ public:
        OutputParams const & runparams() const { return runparams_; }
        /// Resolve alternatives like "esint|amsmath|wasysym"
        void resolveAlternatives();
+       /// Expand multiple requirements like "textcomp,lyxmathsym,amstext"
+       void expandMultiples();
        ///
        void setHTMLTitle(docstring const & t) { htmltitle_ = t; }
        ///