X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutEnums.h;h=969ad1dfffef54a12da9e0129ecf2f18a8655413;hb=38c2cde0d8695ac5287bae218c4a33a2acf18ef8;hp=972efda44d3354034256e9f39f022db74b2981f8;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/LayoutEnums.h b/src/LayoutEnums.h index 972efda44d..969ad1dfff 100644 --- a/src/LayoutEnums.h +++ b/src/LayoutEnums.h @@ -59,7 +59,20 @@ enum LyXAlignment { /// LYX_ALIGN_LAYOUT = 16, /// - LYX_ALIGN_SPECIAL = 32 + LYX_ALIGN_SPECIAL = 32, + /// + 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 }; /// @@ -111,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 @@ -138,11 +147,17 @@ enum EndLabelType { /// END_LABEL_FILLED_BOX, /// - END_LABEL_STATIC, + END_LABEL_STATIC +}; + +/// +enum ArgPassThru { + /// + PT_INHERITED, /// - END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL, + PT_FALSE, /// - END_LABEL_ENUM_LAST = END_LABEL_STATIC + PT_TRUE }; } // namespace lyx