3 #ifndef PARAGRAPHPARAMETERS_H
4 #define PARAGRAPHPARAMETERS_H
11 #include "ShareContainer.h"
14 #include "ParameterStruct.h"
21 class ParagraphParameters {
24 ParagraphParameters();
28 bool sameLayout(ParagraphParameters const &) const;
30 VSpace const & spaceTop() const;
32 void spaceTop(VSpace const &);
34 VSpace const & spaceBottom() const;
36 void spaceBottom(VSpace const &);
38 Spacing const & spacing() const;
40 void spacing(Spacing const &);
42 bool noindent() const;
50 bool lineBottom() const;
52 void lineBottom(bool);
54 bool pagebreakTop() const;
56 void pagebreakTop(bool);
58 bool pagebreakBottom() const;
60 void pagebreakBottom(bool);
62 LyXAlignment align() const;
64 void align(LyXAlignment);
66 typedef ParameterStruct::depth_type depth_type;
68 depth_type depth() const;
70 void depth(depth_type);
72 bool startOfAppendix() const;
74 void startOfAppendix(bool);
76 bool appendix() const;
80 string const & labelString() const;
82 void labelString(string const &);
84 string const & labelWidthString() const;
86 void labelWidthString(string const &);
88 LyXLength const & leftIndent() const;
90 void leftIndent(LyXLength const &);
93 void set_from_struct(ParameterStruct const &);
95 boost::shared_ptr<ParameterStruct> param;
97 static ShareContainer<ParameterStruct> container;
102 ParagraphParameters::depth_type ParagraphParameters::depth() const