]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Compile fix.
[lyx.git] / src / BufferParams.h
index d0888406f80f3a95f62ad92d821798d288dce0a9..65e133b1a1f3e2ccd35a46a7b5c032ae0e0b7c0c 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;
        ///
@@ -304,8 +310,8 @@ 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;
        ///
        std::string const dvips_options() const;
        /** The return value of paperSizeName() depends on the