X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontEnums.h;h=0fcbd9d518321e4068b24d62cb0889832e6a2c89;hb=c9b1b46796923b0453ccaed022448b61b5be6d8a;hp=717cc399d5feff2752aa72564bd48d3dded56b82;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/FontEnums.h b/src/FontEnums.h index 717cc399d5..0fcbd9d518 100644 --- a/src/FontEnums.h +++ b/src/FontEnums.h @@ -45,8 +45,14 @@ enum FontFamily { /// MSB_FAMILY, /// + DS_FAMILY, + /// EUFRAK_FAMILY, /// + RSFS_FAMILY, + /// + STMARY_FAMILY, + /// WASY_FAMILY, /// ESINT_FAMILY, @@ -67,7 +73,9 @@ enum FontSeries { /// INHERIT_SERIES, /// - IGNORE_SERIES + IGNORE_SERIES, + /// + NUM_SERIES = INHERIT_SERIES }; /// @@ -83,39 +91,43 @@ enum FontShape { /// INHERIT_SHAPE, /// - IGNORE_SHAPE + IGNORE_SHAPE, + /// + NUM_SHAPE = INHERIT_SHAPE }; /// enum FontSize { /// - FONT_SIZE_TINY = 0, + TINY_SIZE = 0, + /// + SCRIPT_SIZE, /// - FONT_SIZE_SCRIPT, + FOOTNOTE_SIZE, /// - FONT_SIZE_FOOTNOTE, + SMALL_SIZE, /// - FONT_SIZE_SMALL, + NORMAL_SIZE, /// - FONT_SIZE_NORMAL, + LARGE_SIZE, /// - FONT_SIZE_LARGE, + LARGER_SIZE, /// - FONT_SIZE_LARGER, + LARGEST_SIZE, /// - FONT_SIZE_LARGEST, + HUGE_SIZE, /// - FONT_SIZE_HUGE, + HUGER_SIZE, /// - FONT_SIZE_HUGER, + INCREASE_SIZE, /// - FONT_SIZE_INCREASE, + DECREASE_SIZE, /// - FONT_SIZE_DECREASE, + INHERIT_SIZE, /// - FONT_SIZE_INHERIT, + IGNORE_SIZE, /// - FONT_SIZE_IGNORE + NUM_SIZE = INCREASE_SIZE }; /// Used for emph, underbar, noun and latex toggles @@ -132,5 +144,25 @@ enum FontState { FONT_IGNORE }; + +/// Math styles +enum MathStyle { + /// + SCRIPTSCRIPT_STYLE = 0, + /// + SCRIPT_STYLE, + /// + TEXT_STYLE, + /// + DISPLAY_STYLE, + /// + INHERIT_STYLE, + /// + IGNORE_STYLE, + /// the text and display fonts are the same + NUM_STYLE = DISPLAY_STYLE +}; + + } // namespace lyx #endif