]> git.lyx.org Git - lyx.git/blobdiff - src/FontEnums.h
Correctly set language after intitle paragraphs
[lyx.git] / src / FontEnums.h
index 9a198814e18cc4341a4dc025b95361be3a0aed2c..7c55c8cbc28bda012b540431092084b0b11c037f 100644 (file)
@@ -4,7 +4,7 @@
  * 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 Angus Leeming
  * \author Dekel Tsur
@@ -47,6 +47,10 @@ enum FontFamily {
        ///
        EUFRAK_FAMILY,
        ///
+       RSFS_FAMILY,
+       ///
+       STMARY_FAMILY,
+       ///
        WASY_FAMILY,
        ///
        ESINT_FAMILY,
@@ -67,7 +71,9 @@ enum FontSeries {
        ///
        INHERIT_SERIES,
        ///
-       IGNORE_SERIES
+       IGNORE_SERIES,
+       ///
+       NUM_SERIES = INHERIT_SERIES
 };
 
 ///
@@ -83,39 +89,43 @@ enum FontShape {
        ///
        INHERIT_SHAPE,
        ///
-       IGNORE_SHAPE
+       IGNORE_SHAPE,
+       ///
+       NUM_SHAPE = INHERIT_SHAPE
 };
 
 ///
 enum FontSize {
        ///
-       FONT_SIZE_TINY = 0,
+       TINY_SIZE = 0,
        ///
-       FONT_SIZE_SCRIPT,
+       SCRIPT_SIZE,
        ///
-       FONT_SIZE_FOOTNOTE,
+       FOOTNOTE_SIZE,
        ///
-       FONT_SIZE_SMALL,
+       SMALL_SIZE,
        ///
-       FONT_SIZE_NORMAL,
+       NORMAL_SIZE,
        ///
-       FONT_SIZE_LARGE,
+       LARGE_SIZE,
        ///
-       FONT_SIZE_LARGER,
+       LARGER_SIZE,
        ///
-       FONT_SIZE_LARGEST,
+       LARGEST_SIZE,
        ///
-       FONT_SIZE_HUGE,
+       HUGE_SIZE,
        ///
-       FONT_SIZE_HUGER,
+       HUGER_SIZE,
        ///
-       FONT_SIZE_INCREASE,
+       INCREASE_SIZE,
        ///
-       FONT_SIZE_DECREASE,
+       DECREASE_SIZE,
        ///
-       FONT_SIZE_INHERIT,
+       INHERIT_SIZE,
        ///
-       FONT_SIZE_IGNORE
+       IGNORE_SIZE,
+       ///
+       NUM_SIZE = INCREASE_SIZE
 };
 
 /// Used for emph, underbar, noun and latex toggles
@@ -132,5 +142,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