]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
GuiToc::initialiseParams(): Fix list type parsing
[lyx.git] / src / BufferParams.h
index 36ab933e4cc7d41df298376b8f0a592b7b1936dd..61c8612fae4b29b631833f0786d231da6ac87687 100644 (file)
@@ -274,8 +274,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.