3 #ifndef PARAGRAPHPARAMETERS_H
4 #define PARAGRAPHPARAMETERS_H
7 #include "ShareContainer.h"
10 #include "ParameterStruct.h"
17 class ParagraphParameters {
20 ParagraphParameters();
24 bool sameLayout(ParagraphParameters const &) const;
26 VSpace const & spaceTop() const;
28 void spaceTop(VSpace const &);
30 VSpace const & spaceBottom() const;
32 void spaceBottom(VSpace const &);
34 Spacing const & spacing() const;
36 void spacing(Spacing const &);
38 bool noindent() const;
46 bool lineBottom() const;
48 void lineBottom(bool);
50 bool pagebreakTop() const;
52 void pagebreakTop(bool);
54 bool pagebreakBottom() const;
56 void pagebreakBottom(bool);
58 LyXAlignment align() const;
60 void align(LyXAlignment);
62 typedef ParameterStruct::depth_type depth_type;
64 depth_type depth() const;
66 void depth(depth_type);
68 bool startOfAppendix() const;
70 void startOfAppendix(bool);
72 bool appendix() const;
76 string const & labelString() const;
78 void labelString(string const &);
80 string const & labelWidthString() const;
82 void labelWidthString(string const &);
84 LyXLength const & leftIndent() const;
86 void leftIndent(LyXLength const &);
89 void set_from_struct(ParameterStruct const &);
91 boost::shared_ptr<ParameterStruct> param;
93 static ShareContainer<ParameterStruct> container;
98 ParagraphParameters::depth_type ParagraphParameters::depth() const