]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
That didn't really work. So revert to old CSS for gray notes.
[lyx.git] / src / BufferParams.h
index 40fee96f6090d3f6e6d686d845f3a988456bf10d..87b8713c2aa88ca09b37788005ef99b7864acb92 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/copied_ptr.h"
 
 #include <list>
+#include <map>
 #include <vector>
 
 namespace lyx {
@@ -36,6 +37,8 @@ class BranchList;
 class Bullet;
 class DocumentClass;
 class Encoding;
+class HSpace;
+class IndicesList;
 class Language;
 class LatexFeatures;
 class LayoutFile;
@@ -88,6 +91,10 @@ public:
        ///
        bool hasClassDefaults() const;
 
+       ///
+       HSpace const & getIndentation() const;
+       ///
+       void setIndentation(HSpace const & indent);
        ///
        VSpace const & getDefSkip() const;
        ///
@@ -150,7 +157,7 @@ public:
        /// returns the main font for the buffer (document)
        Font const getFont() const;
 
-       /* this are for the PaperLayout */
+       /* these are for the PaperLayout */
        /// the papersize
        PAPER_SIZE papersize;
        ///
@@ -183,6 +190,12 @@ public:
        std::string graphicsDriver;
        /// The default output format
        std::string defaultOutputFormat;
+       /// customized bibliography processor
+       std::string bibtex_command;
+       /// customized index processor
+       std::string index_command;
+       /// font encoding
+       std::string fontenc;
        /// the rm font
        std::string fontsRoman;
        /// the sf font
@@ -215,6 +228,9 @@ public:
        /// BranchList:
        BranchList & branchlist();
        BranchList const & branchlist() const;
+       /// IndicesList:
+       IndicesList & indiceslist();
+       IndicesList const & indiceslist() const;
        /**
         * The input encoding for LaTeX. This can be one of
         * - \c auto: find out the input encoding from the used languages
@@ -245,6 +261,8 @@ public:
        ///
        std::string master;
        ///
+       bool suppress_date;
+       ///
        std::string float_placement;
        ///
        unsigned int columns;
@@ -278,8 +296,12 @@ public:
        Package use_amsmath;
        /// Whether and how to load esint
        Package use_esint;
-       ///
+       /// Whether and how to load mhchem
+       Package use_mhchem;
+       /// Split bibliography?
        bool use_bibtopic;
+       /// Split the index?
+       bool use_indices;
        /// revision tracking for this buffer ?
        bool trackChanges;
        /** This param decides whether change tracking marks should be used
@@ -294,8 +316,10 @@ public:
        AuthorList & authors();
        AuthorList const & authors() const;
 
-       /// map of the file's author IDs to buffer author IDs
-       std::vector<unsigned int> author_map;
+       /// map of the file's author IDs to AuthorList indexes
+       std::map<unsigned int, int> author_map;
+       /// the buffer's font encoding
+       std::string const font_encoding() const;
        ///
        std::string const dvips_options() const;
        /** The return value of paperSizeName() depends on the