output: Add support for Pango markup of fonts and styles.
[pspp] / src / output / text-item.h
index 1bfb63689b28cd94f6cce1c14b7c8fa570456e03..9b8345ef827f12e58dbe202a9fc7793ffa858fc5 100644 (file)
@@ -57,7 +57,7 @@ struct text_item
     enum text_item_type type;   /* Type. */
     char *font;
     int font_size;
-    bool bold, italic, underline;
+    bool bold, italic, underline, markup;
   };
 
 struct text_item *text_item_create (enum text_item_type, const char *text);
@@ -68,6 +68,8 @@ struct text_item *text_item_create_format (enum text_item_type,
 
 enum text_item_type text_item_get_type (const struct text_item *);
 const char *text_item_get_text (const struct text_item *);
+
+struct table_item *text_item_to_table_item (struct text_item *);
 \f
 /* This boilerplate for text_item, a subclass of output_item, was
    autogenerated by mk-class-boilerplate. */