X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutEnums.h;h=969ad1dfffef54a12da9e0129ecf2f18a8655413;hb=38c2cde0d8695ac5287bae218c4a33a2acf18ef8;hp=5c02d8ed0a6b76d19aa2f33cbe6483dcd98e6a64;hpb=0ebe0ff37ef48aba4dae19b6d39c9c891a183de6;p=lyx.git diff --git a/src/LayoutEnums.h b/src/LayoutEnums.h index 5c02d8ed0a..969ad1dfff 100644 --- a/src/LayoutEnums.h +++ b/src/LayoutEnums.h @@ -64,6 +64,17 @@ enum LyXAlignment { LYX_ALIGN_DECIMAL = 64 }; + +/// Paragraph indendation control +enum ToggleIndentation { + /// Indentation can be toggled if document uses "indent" paragraph style + ITOGGLE_DOCUMENT_DEFAULT = 1, + /// Indentation cannot be toggled + ITOGGLE_NEVER, + /// Indentation can always be toggled + ITOGGLE_ALWAYS +}; + /// inline void operator|=(LyXAlignment & la1, LyXAlignment la2) { @@ -113,18 +124,14 @@ enum LabelType { /// LABEL_BIBLIO, /// - LABEL_TOP_ENVIRONMENT, + LABEL_ABOVE, /// - LABEL_CENTERED_TOP_ENVIRONMENT, - - // the flushright labels following now must start with LABEL_STATIC + LABEL_CENTERED, /// LABEL_STATIC, /// LABEL_SENSITIVE, /// - LABEL_COUNTER, - /// LABEL_ENUMERATE, /// LABEL_ITEMIZE @@ -143,6 +150,16 @@ enum EndLabelType { END_LABEL_STATIC }; +/// +enum ArgPassThru { + /// + PT_INHERITED, + /// + PT_FALSE, + /// + PT_TRUE +}; + } // namespace lyx #endif