]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
Fix bug 886 and others not reported related with the document paper size.
[lyx.git] / src / lyxtextclass.h
index a52cd7ab5973d744492793b8b1eaf492dee658fa..e602b4041b453a6238509d191a3ff56905da67f1 100644 (file)
@@ -172,6 +172,10 @@ public:
 
        ///
        int size() const;
+       /// The minimal TocLevel of sectioning layouts
+       int min_toclevel() const;
+       /// The maximal TocLevel of sectioning layouts
+       int max_toclevel() const;
 private:
        ///
        bool delete_layout(std::string const &);
@@ -242,6 +246,11 @@ private:
 
        /// Is the TeX class available?
        bool texClassAvail_;
+
+       /// The minimal TocLevel of sectioning layouts
+       int min_toclevel_;
+       /// The maximal TocLevel of sectioning layouts
+       int max_toclevel_;
 };