#ifndef PARAGRAPHPARAMETERS_H
#define PARAGRAPHPARAMETERS_H
-#include "ShareContainer.h"
+#ifdef __GNUG__
+#pragma interface
+#endif
+
#include "LString.h"
+#include "ShareContainer.h"
#include "layout.h"
+// Not yet... lyx 1.3.x or so
+#define NO_PEXTRA_REALLY 1
+
+#include "ParameterStruct.h"
+
class VSpace;
class Spacing;
-struct ParameterStruct;
-// Not yet... lyx 1.3.x or so
-//#define NO_PEXTRA_REALLY 1
///
class ParagraphParameters {
///
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;
///
string const & labelWidthString() const;
///
void labelWidthString(string const &);
+ ///
+ LyXLength const & leftIndent() const;
+ ///
+ void leftIndent(LyXLength const &);
+ ///
#ifndef NO_PEXTRA_REALLY
///
int pextraType() const;
///
static ShareContainer<ParameterStruct> container;
};
+
+
+inline
+ParagraphParameters::depth_type ParagraphParameters::depth() const
+{
+ return param->depth;
+}
#endif