X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutEnums.h;h=48e849f1a44886df0a778ae13bf32d5d43c7f383;hb=124e0fc2be2446f7182cba0e5b54961dc1cfab91;hp=efdd5f546df2f5c141e62dfd5debe1dfa822261c;hpb=57d8b059e0c5b2c14247d3eeb9ada771fe5a502d;p=lyx.git diff --git a/src/LayoutEnums.h b/src/LayoutEnums.h index efdd5f546d..48e849f1a4 100644 --- a/src/LayoutEnums.h +++ b/src/LayoutEnums.h @@ -23,8 +23,6 @@ enum OutputType { /// LATEX = 1, /// - DOCBOOK, - /// LITERATE }; @@ -64,6 +62,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 +122,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, /// @@ -141,6 +148,16 @@ enum EndLabelType { END_LABEL_STATIC }; +/// +enum ArgPassThru { + /// + PT_INHERITED, + /// + PT_FALSE, + /// + PT_TRUE +}; + } // namespace lyx #endif