]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlayout.h
minimal effort implementation of:
[lyx.git] / src / lyxlayout.h
index 25452e7a0f37957f8d0a46fa70949af0c60a97e3..88907d7aa0a13995b9ceb6a7ecf51104215a1765 100644 (file)
@@ -29,7 +29,7 @@ public:
        ///
        LyXLayout();
        ///
-       bool Read(LyXLex &, LyXTextClass const &);
+       bool read(LyXLex &, LyXTextClass const &);
        ///
        void readAlign(LyXLex &);
        ///
@@ -110,17 +110,17 @@ public:
        /// Text that dictates the width of the indentation of indented pars
        std::string parindent;
        ///
-       float parskip;
+       double parskip;
        ///
-       float itemsep;
+       double itemsep;
        ///
-       float topsep;
+       double topsep;
        ///
-       float bottomsep;
+       double bottomsep;
        ///
-       float labelbottomsep;
+       double labelbottomsep;
        ///
-       float parsep;
+       double parsep;
        ///
        Spacing spacing;
        ///
@@ -149,6 +149,8 @@ public:
        bool is_environment;
        /// show this in toc
        int toclevel;
+       /// special value of toclevel for non-section layouts
+       static const int NOT_IN_TOC;
        /// for new environment insets
        std::string latexheader;
        /// for new environment insets