3 #ifndef PARAGRAPHPARAMETERS_H
4 #define PARAGRAPHPARAMETERS_H
6 #include "ShareContainer.h"
12 struct ParameterStruct;
15 class ParagraphParameters {
18 ParagraphParameters();
22 bool sameLayout(ParagraphParameters const &) const;
24 void makeSame(ParagraphParameters const & pp);
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);
66 bool startOfAppendix() const;
68 void startOfAppendix(bool);
70 bool appendix() const;
74 string const & labelString() const;
76 void labelString(string const &);
78 string const & labelWidthString() const;
80 void labelWidthString(string const &);
82 int pextraType() const;
86 string const & pextraWidth() const;
88 void pextraWidth(string const &);
90 string const & pextraWidthp() const;
92 void pextraWidthp(string const &);
94 int pextraAlignment() const;
96 void pextraAlignment(int);
98 bool pextraHfill() const;
100 void pextraHfill(bool);
102 bool pextraStartMinipage() const;
104 void pextraStartMinipage(bool);
107 void set_from_struct(ParameterStruct const &);
109 boost::shared_ptr<ParameterStruct> param;
111 static ShareContainer<ParameterStruct> container;