output: Add support for Pango markup of fonts and styles.
[pspp] / src / output / table.h
index 0a7c4b61b568e5275ac764cf4c0e1c2ad7534758..7949fedd24d4c3e986cad42e7e1ed5f4f8021b02 100644 (file)
@@ -63,19 +63,26 @@ enum
     /* These flags may be combined with any alignment. */
     TAB_EMPH       = 1 << 4,    /* Emphasize cell contents. */
     TAB_FIX        = 1 << 5,    /* Use fixed font. */
+    TAB_MARKUP     = 1 << 6,    /* Text contains Pango markup. */
 
     /* Bits with values (1 << TAB_FIRST_AVAILABLE) and higher are
        not used, so they are available for subclasses to use as
        they wish. */
-    TAB_FIRST_AVAILABLE = 6
+    TAB_FIRST_AVAILABLE = 7
   };
 
 /* Styles for the rules around table cells. */
 enum
   {
-    TAL_0,                     /* No line. */
-    TAL_1,                     /* Single line. */
-    TAL_2,                     /* Double line. */
+    TAL_NONE,                  /* No spacing. */
+#define TAL_0 TAL_NONE
+    TAL_SOLID,
+#define TAL_1 TAL_SOLID
+    TAL_DASHED,
+    TAL_THICK,
+    TAL_THIN,
+    TAL_DOUBLE,
+#define TAL_2 TAL_DOUBLE
     N_LINES
   };
 
@@ -182,7 +189,6 @@ struct table *table_paste (struct table *, struct table *,
                            enum table_axis orientation);
 struct table *table_hpaste (struct table *left, struct table *right);
 struct table *table_vpaste (struct table *top, struct table *bottom);
-struct table *table_stomp (struct table *);
 
 /* Taking subsets of tables. */
 struct table *table_select (struct table *, int rect[TABLE_N_AXES][2]);