3 * \file ParameterStruct.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
12 #ifndef PARAMETERSTRUCT_H
13 #define PARAMETERSTRUCT_H
16 #include "lyxlength.h"
20 #include "support/types.h"
24 struct ParameterStruct {
26 typedef lyx::depth_type depth_type;
30 VSpace added_space_top;
32 VSpace added_space_bottom;
42 bool start_of_appendix;
46 std::string labelstring;
48 std::string labelwidthstring;
55 ParameterStruct::ParameterStruct()
57 align(LYX_ALIGN_BLOCK), depth(0), start_of_appendix(false),
63 bool operator==(ParameterStruct const & ps1,
64 ParameterStruct const & ps2)
66 return ps1.added_space_top == ps2.added_space_top
67 && ps1.added_space_bottom == ps2.added_space_bottom
68 && ps1.spacing == ps2.spacing
69 && ps1.noindent == ps2.noindent
70 && ps1.align == ps2.align
71 && ps1.depth == ps2.depth
72 && ps1.start_of_appendix == ps2.start_of_appendix
73 && ps1.appendix == ps2.appendix
74 && ps1.labelstring == ps2.labelstring
75 && ps1.labelwidthstring == ps2.labelwidthstring
76 && ps1.leftindent == ps2.leftindent;