]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Routines to retrieve HTML style information.
[lyx.git] / src / LaTeXFeatures.h
index a381e62ef79174f9c2aa97f85bcb98b962e27691..bdb497e09fdb880572a1c0f7d42d7f903a0b3c5d 100644 (file)
@@ -26,6 +26,7 @@ namespace lyx {
 
 class Buffer;
 class BufferParams;
+class InsetLayout;
 class Language;
 
 /** The packages and commands that a buffer needs. This class
@@ -56,6 +57,10 @@ public:
        std::string const getBabelOptions() const;
        /// 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) const;
+       ///
+       docstring const getTClassHTMLPreamble() const;
        /// The sgml definitions needed by the document (docbook)
        docstring const getLyXSGMLEntities() const;
        /// The SGML Required to include the files added with includeFile();
@@ -96,6 +101,8 @@ public:
        ///
        void useLayout(docstring const & lyt);
        ///
+       void useInsetLayout(InsetLayout const & lay);
+       ///
        Buffer const & buffer() const;
        ///
        void setBuffer(Buffer const &);
@@ -111,8 +118,10 @@ public:
        OutputParams const & runparams() const { return runparams_; }
 
 private:
+       ///
        std::list<docstring> usedLayouts_;
-
+       ///
+       std::list<docstring> usedInsetLayouts_;
        /// The features that are needed by the document
        typedef std::set<std::string> Features;
        ///