]> git.lyx.org Git - lyx.git/blobdiff - src/ParameterStruct.h
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / ParameterStruct.h
index 0f332b5a2a023fdf1eaadd84a690fb3a03f870fc..86d59f63d5465b6dfc59d1713edb5c1d4a2aaabb 100644 (file)
@@ -6,10 +6,7 @@
 #include "vspace.h"
 #include "Spacing.h"
 #include "layout.h"
-
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "lyxlength.h"
 
 ///
 struct ParameterStruct {
@@ -45,20 +42,8 @@ struct ParameterStruct {
        string labelstring;
        ///
        string labelwidthstring;
-#ifndef NO_PEXTRA_REALLY
-       ///
-       int pextra_type;
-       ///
-       string pextra_width;
-       ///
-       string pextra_widthp;
        ///
-       int pextra_alignment;
-       ///
-       bool pextra_hfill;
-       ///
-       bool pextra_start_minipage;
-#endif
+       LyXLength leftindent;
 };
 
 
@@ -68,10 +53,6 @@ ParameterStruct::ParameterStruct()
          pagebreak_top(false), pagebreak_bottom(false),
          align(LYX_ALIGN_BLOCK), depth(0), start_of_appendix(false),
          appendix(false)
-#ifndef NO_PEXTRA_REALLY
-       , pextra_type(0), pextra_alignment(0), pextra_hfill(false),
-       pextra_start_minipage(false)
-#endif
 {}
 
 
@@ -93,15 +74,7 @@ bool operator==(ParameterStruct const & ps1,
                && ps1.appendix == ps2.appendix
                && ps1.labelstring == ps2.labelstring
                && ps1.labelwidthstring == ps2.labelwidthstring
-#ifndef NO_PEXTRA_REALLY
-               && ps1.pextra_type == ps2.pextra_type
-               && ps1.pextra_width == ps2.pextra_width
-               && ps1.pextra_widthp == ps2.pextra_widthp
-               && ps1.pextra_alignment == ps2.pextra_alignment
-               && ps1.pextra_hfill == ps2.pextra_hfill
-               && ps1.pextra_start_minipage == ps2.pextra_start_minipage
-#endif
-       ;
+               && ps1.leftindent == ps2.leftindent;
 
 }