]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.h
The "I want this in now" patch.
[lyx.git] / src / bufferparams.h
index 8be76a23d0961713c3ac5e4b4b7e8951c3329b2b..02e49186d48ad0a2a2dfa465d300884afe1b4421 100644 (file)
@@ -24,6 +24,7 @@
 #include "insets/insetquotes.h"
 
 #include <boost/array.hpp>
+#include <vector>
 
 class LyXLex;
 class LatexFeatures;
@@ -115,8 +116,11 @@ public:
        ///
        void writeFile(std::ostream &) const;
 
-       ///
-       void writeLaTeX(std::ostream &, LaTeXFeatures &, TexRow &) const;
+       /** \returns true if the babel package is used (interogates
+           the BufferParams and a LyXRC variable).
+           This returned value can then be passed to the insets...
+        */
+       bool writeLaTeX(std::ostream &, LaTeXFeatures &, TexRow &) const;
 
        ///
        void setPaperStuff();
@@ -232,6 +236,9 @@ public:
        /// Time ago we agreed that this was a buffer property [ale990407]
        string parentname;
 
+       /// map of the file's author IDs to buffer author IDs
+       std::vector<int> author_map;
+
 private:
        /// the author list
        AuthorList authorlist;