]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlayout.h
the toc fix plus layout stuff
[lyx.git] / src / lyxlayout.h
index 661d7fb6bfab16641becfdf0bf90b1b0652e0548..f2a87f895f0c7fef2b85cbe51bd52422d5baa84f 100644 (file)
@@ -17,7 +17,7 @@
 #include "lyxfont.h"
 #include "layout.h"
 #include "Spacing.h"
-#include "LString.h"
+#include "support/std_string.h"
 
 class LyXLex;
 class LyXTextClass;
@@ -140,6 +140,8 @@ public:
        bool pass_thru;
        ///
        bool is_environment;
+       /// show this in toc
+       int toclevel;
        /// for new environment insets
        string latexheader;
        /// for new environment insets
@@ -173,6 +175,8 @@ public:
        bool intitle;
        /// Does this layout allow for an optional parameter?
        int optionalargs;
+       /// Which counter to step
+       string counter;
 
 private:
        /// Name of the layout/paragraph environment