]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Revert 23154.
[lyx.git] / src / BufferParams.h
index 36ab933e4cc7d41df298376b8f0a592b7b1936dd..5fc57aecc81d290cf2e21ebb7cd288057429f5d7 100644 (file)
@@ -165,6 +165,8 @@ public:
        std::string headsep;
        ///
        std::string footskip;
+       ///
+       std::string columnsep;
 
        /* some LaTeX options */
        /// The graphics driver
@@ -274,8 +276,20 @@ public:
        std::vector<unsigned int> author_map;
        ///
        std::string const dvips_options() const;
+       /** The return value of paperSizeName() depends on the
+        *  purpose for which the paper size is needed, since they
+        *  support different subsets of paper sizes.
+       */
+       enum Papersize_Purpose {
+               ///
+               DVIPS,
+               ///
+               DVIPDFM,
+               ///
+               XDVI
+       };
        ///
-       std::string const paperSizeName() const;
+       std::string const paperSizeName(Papersize_Purpose const & purpose) const;
        /// set up if and how babel is called
        std::string const babelCall(std::string const & lang_opts) const;
        /// handle inputenc etc.