]> 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 71004be4cadc73c130b057f65e79a30ef0692209..6b1febf28bbbf1d26fb959005eff0fb582e52680 100644 (file)
@@ -55,6 +55,8 @@ public:
                      OutputParams const &);
        /// The color packages
        std::string const getColorOptions() const;
+       /// The requested package options
+       std::string const getPackageOptions() const;
        /// The packages needed by the document
        std::string const getPackages() const;
        /// The macros definitions needed by the document
@@ -86,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;
        ///
@@ -126,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);
@@ -151,12 +156,16 @@ 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; }
        ///
        docstring const & htmlTitle() const { return htmltitle_; }
 
 private:
+       ///
+       void useLayout(docstring const &, int);
        ///
        std::list<docstring> usedLayouts_;
        ///