X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutEnums.h;h=8bb206c6a98e46c46b4fa0b21c6970872ddbc1fa;hb=10be0c43f20a27a1e6af82241ad5ec6b5cad3eca;hp=efdd5f546df2f5c141e62dfd5debe1dfa822261c;hpb=57d8b059e0c5b2c14247d3eeb9ada771fe5a502d;p=lyx.git diff --git a/src/LayoutEnums.h b/src/LayoutEnums.h index efdd5f546d..8bb206c6a9 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,11 +124,9 @@ 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, ///