]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
add missing writeNormal() methods to some insets
[lyx.git] / src / LaTeXFeatures.h
index 8c3cd68b9ab81533781025c285766b17bcf7568e..be168ffef28cd6ba5f5ad573ece3e2a07217de10 100644 (file)
@@ -5,7 +5,7 @@
 *           LyX, The Document Processor
 *        
 *           Copyright 1995 Matthias Ettrich
-*           Copyright 1995-2000 the LyX Team.
+*           Copyright 1995-2001 the LyX Team.
 *
 * ====================================================== */
 
@@ -36,16 +36,20 @@ struct LaTeXFeatures {
        ///
        LaTeXFeatures(BufferParams const &, LyXTextClass::size_type n) ;
        /// The packaes needed by the document
-       string const getPackages();
+       string const getPackages() const;
        /// The macros definitions needed by the document
-       string const getMacros();
+       string const getMacros() const;
        /// The definitions needed by the document's textclass
-       string const getTClassPreamble();
+       string const getTClassPreamble() const;
+       /// The sgml definitions needed by the document (dobook/linuxdoc)
+       string const getLyXSGMLEntities() const;
        ///
-       string const getIncludedFiles(string const fname) const;
+       string const getIncludedFiles(string const & fname) const;
+       ///
+       void getFloatDefinitions(std::ostream & os) const;
 
        ///
-       void showStruct();
+       void showStruct() const;
 
        /// Provide a string name-space to the requirements
        void require(string const & name);
@@ -70,7 +74,7 @@ struct LaTeXFeatures {
        ///
        bool longtable; // longtable.sty
        ///
-       bool algorithm; // algorithm.sty
+       //bool algorithm; // algorithm.sty
        ///
        bool rotating;  // rotating.sty
        ///
@@ -91,7 +95,11 @@ struct LaTeXFeatures {
        bool prettyref; // prettyref.sty
        ///
        bool chess;     // chess.sty
-
+       ///
+       bool natbib;    // natbib.sty
+       ///
+       bool floats;    // float.sty
+       
        ///
        bool lyx;
        ///
@@ -124,7 +132,7 @@ struct LaTeXFeatures {
        std::vector<bool> layout;
 
        ///
-       bool LyXParagraphIndent;
+       bool ParagraphIndent;
        ///
        bool NeedLyXFootnoteCode;
        ///
@@ -134,9 +142,9 @@ struct LaTeXFeatures {
        ///
        LanguageList UsedLanguages;
        ///
-       typedef std::set<string> FloatList;
+       typedef std::set<string> UsedFloats;
        ///
-       FloatList usedFloats;
+       UsedFloats usedFloats;
        ///
        typedef std::map<string , string> FileMap;
        ///