]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Finds formatted matches in the middle of paragraphs, when no regular expressions...
[lyx.git] / src / LaTeXFeatures.h
index bc666ff34be99627867d3e314c9d015287c739cf..9bb50f57cfa6dc00485be95e19f369657f7c343c 100644 (file)
@@ -52,8 +52,12 @@ public:
        std::string const getPackages() const;
        /// The macros definitions needed by the document
        docstring const getMacros() const;
-       ///
-       std::string const getBabelOptions() const;
+       /// Extra preamble code before babel is called
+       std::string const getBabelPresettings() const;
+       /// Extra preamble code after babel is called
+       std::string const getBabelPostsettings() const;
+       /// Do we need to pass the languages to babel directly? 
+       bool needBabelLangOptions() const;
        /// The definitions needed by the document's textclass
        docstring const getTClassPreamble() const;
        /// The language dependent definitions needed by the document's textclass
@@ -74,6 +78,8 @@ public:
        void showStruct() const;
        ///
        void addPreambleSnippet(std::string const &);
+       ///
+       std::string getPreambleSnippets() const;
        /// Add a feature name requirements
        void require(std::string const & name);
        /// Add a set of feature names requirements
@@ -117,6 +123,10 @@ public:
        void inFloat(bool const b) { in_float_ = b; }
        /// Runparams that will be used for exporting this file.
        OutputParams const & runparams() const { return runparams_; }
+       ///
+       void setHTMLTitle(docstring const & t) { htmltitle_ = t; }
+       ///
+       docstring const & htmlTitle() const { return htmltitle_; }
 
 private:
        ///
@@ -127,7 +137,7 @@ private:
        typedef std::set<std::string> Features;
        ///
        Features features_;
-       /// Static preamble bits from the external material insets
+       /// Static preamble bits, from external templates, or anywhere else
        typedef std::list<std::string> SnippetList;
        ///
        SnippetList preamble_snippets_;
@@ -161,6 +171,8 @@ private:
        OutputParams const & runparams_;
        ///
        bool in_float_;
+       ///
+       docstring htmltitle_;
 };