]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.h
another pesky \#warning snuck in
[lyx.git] / src / ParagraphParameters.h
index fe64dbe3cba7b87d88947b5733d14db4a788304d..82f8ddc0a714794e61673cd76a6b2e35f8587bbc 100644 (file)
@@ -6,10 +6,14 @@
 #include "ShareContainer.h"
 #include "LString.h"
 #include "layout.h"
+#include "ParameterStruct.h"
 
 class VSpace;
 class Spacing;
-struct ParameterStruct;
+
+
+// Not yet... lyx 1.3.x or so
+//#define NO_PEXTRA_REALLY 1
 
 ///
 class ParagraphParameters {
@@ -78,6 +82,7 @@ public:
        string const & labelWidthString() const;
        ///
        void labelWidthString(string const &);
+#ifndef NO_PEXTRA_REALLY
        ///
        int pextraType() const;
        ///
@@ -102,6 +107,7 @@ public:
        bool pextraStartMinipage() const;
        ///
        void pextraStartMinipage(bool);
+#endif
 private:
        ///
        void set_from_struct(ParameterStruct const &);
@@ -110,4 +116,11 @@ private:
        ///
        static ShareContainer<ParameterStruct> container;
 };
+
+
+inline
+char ParagraphParameters::depth() const
+{
+       return param->depth;
+}
 #endif