]> 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 43beea44d4d04aa94e443fb84da7f8356c6dd3a8..87b8713c2aa88ca09b37788005ef99b7864acb92 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/copied_ptr.h"
 
 #include <list>
+#include <map>
 #include <vector>
 
 namespace lyx {
@@ -36,6 +37,7 @@ class BranchList;
 class Bullet;
 class DocumentClass;
 class Encoding;
+class HSpace;
 class IndicesList;
 class Language;
 class LatexFeatures;
@@ -89,6 +91,10 @@ public:
        ///
        bool hasClassDefaults() const;
 
+       ///
+       HSpace const & getIndentation() const;
+       ///
+       void setIndentation(HSpace const & indent);
        ///
        VSpace const & getDefSkip() const;
        ///
@@ -151,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;
        ///
@@ -184,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
@@ -249,6 +261,8 @@ public:
        ///
        std::string master;
        ///
+       bool suppress_date;
+       ///
        std::string float_placement;
        ///
        unsigned int columns;
@@ -282,6 +296,8 @@ 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?
@@ -300,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