X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayoutEnums.h;h=8bb206c6a98e46c46b4fa0b21c6970872ddbc1fa;hb=7d4292918e6bf66649229e2946e6ac0a30694494;hp=dd119960c55a47d1c809e11ae1ca0906e76870ea;hpb=cd72af583f2bae976a782c98da1c90d9026618a6;p=lyx.git diff --git a/src/LayoutEnums.h b/src/LayoutEnums.h index dd119960c5..8bb206c6a9 100644 --- a/src/LayoutEnums.h +++ b/src/LayoutEnums.h @@ -4,9 +4,9 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -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,7 @@ enum EndLabelType { /// END_LABEL_FILLED_BOX, /// - END_LABEL_STATIC, - /// - END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL, - /// - END_LABEL_ENUM_LAST = END_LABEL_STATIC + END_LABEL_STATIC }; } // namespace lyx