]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Revert UI fix for two digit numbers. It actually does not work.
[lyx.git] / src / LaTeXFeatures.h
index 27edb1f6a89303f799dd3941bbe98c0a8076bb27..10f7c320f075e5cf0acd53dec48b32c75f829258 100644 (file)
 #ifndef LATEXFEATURES_H
 #define LATEXFEATURES_H
 
-#include "OutputParams.h"
-#include "support/strfwd.h"
+#include "support/docstring.h"
 
 #include <set>
 #include <list>
 #include <map>
+#include <vector>
 
 
 namespace lyx {
@@ -27,6 +27,8 @@ class Buffer;
 class BufferParams;
 class InsetLayout;
 class Language;
+class otexstream;
+class OutputParams;
 struct TexString;
 
 /** The packages and commands that a buffer needs. This class
@@ -77,10 +79,6 @@ public:
        docstring const getTClassHTMLStyles() 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();
-       docstring const getIncludedFiles(std::string const & fname) const;
        /// Include a file for use with the SGML entities
        void includeFile(docstring const & key, std::string const & name);
        /// The float definitions.
@@ -106,6 +104,10 @@ public:
        void provide(std::string const & name);
        /// Is the (required) package available?
        static bool isAvailable(std::string const & name);
+       /// Is the (required) package available at least as of version
+       /// y/m/d?
+       static bool isAvailableAtLeastFrom(std::string const & name,
+                                          int const y, int const m, int const d = 1);
        /// Has the package been required?
        bool isRequired(std::string const & name) const;
        /** Is this feature already provided
@@ -142,7 +144,7 @@ public:
        void getFontEncodings(std::vector<std::string> & encodings,
                              bool const onlylangs = false) const;
        ///
-       void useLayout(docstring const & lyt);
+       void useLayout(docstring const & layoutname);
        ///
        void useInsetLayout(InsetLayout const & lay);
        ///