#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
///
bool sameLayout(ParagraphParameters const &) const;
///
- void makeSame(ParagraphParameters const & pp);
- ///
VSpace const & spaceTop() const;
///
void spaceTop(VSpace const &);
///
void align(LyXAlignment);
///
- char depth() const;
+ typedef ParameterStruct::depth_type depth_type;
+ ///
+ depth_type depth() const;
///
- void depth(char);
+ void depth(depth_type);
///
bool startOfAppendix() const;
///
///
static ShareContainer<ParameterStruct> container;
};
+
+
+inline
+ParagraphParameters::depth_type ParagraphParameters::depth() const
+{
+ return param->depth;
+}
#endif