]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / bufferparams.h
index 8be76a23d0961713c3ac5e4b4b7e8951c3329b2b..8aa0b4a671ec8cfea82485a7a142c79f0868ef83 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();
@@ -150,13 +154,13 @@ public:
 
        /* this are for the PaperLayout */
        /// the general papersize (papersize2 or paperpackage
-       char papersize; // add apprip. signedness
+       PAPER_SIZE papersize;
        ///  the selected Geometry papersize
-       char papersize2; // add approp. signedness
+       VMARGIN_PAPER_TYPE papersize2;
        /// a special paperpackage .sty-file
-       char paperpackage; // add approp. signedness
+       PAPER_PACKAGES paperpackage;
        ///
-       PAPER_ORIENTATION orientation; // add approp. signedness
+       PAPER_ORIENTATION orientation;
        ///
        bool use_geometry;
        ///
@@ -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;