3 #ifndef PARAMETERSTRUCT_H
4 #define PARAMETERSTRUCT_H
16 struct ParameterStruct {
20 typedef unsigned int depth_type;
22 VSpace added_space_top;
24 VSpace added_space_bottom;
36 bool pagebreak_bottom;
42 bool start_of_appendix;
48 string labelwidthstring;
55 ParameterStruct::ParameterStruct()
56 : noindent(false), line_top(false), line_bottom(false),
57 pagebreak_top(false), pagebreak_bottom(false),
58 align(LYX_ALIGN_BLOCK), depth(0), start_of_appendix(false),
64 bool operator==(ParameterStruct const & ps1,
65 ParameterStruct const & ps2)
67 return ps1.added_space_top == ps2.added_space_top
68 && ps1.added_space_bottom == ps2.added_space_bottom
69 && ps1.spacing == ps2.spacing
70 && ps1.noindent == ps2.noindent
71 && ps1.line_top == ps2.line_top
72 && ps1.line_bottom == ps2.line_bottom
73 && ps1.pagebreak_top == ps2.pagebreak_top
74 && ps1.pagebreak_bottom == ps2.pagebreak_bottom
75 && ps1.align == ps2.align
76 && ps1.depth == ps2.depth
77 && ps1.start_of_appendix == ps2.start_of_appendix
78 && ps1.appendix == ps2.appendix
79 && ps1.labelstring == ps2.labelstring
80 && ps1.labelwidthstring == ps2.labelwidthstring
81 && ps1.leftindent == ps2.leftindent;