text-item: Merge "title" and "subtitle" items into a new "page title".
[pspp] / src / output / text-item.h
index da1b208a5ea8cfd40ec5c27339cd2c8307d814a3..e09d06badc4da4f3ff11d8b626f72a393c9f4eee 100644 (file)
@@ -39,8 +39,7 @@ enum text_item_type
     TEXT_ITEM_COMMAND_CLOSE,    /* Command completed. */
 
     /* Headings. */
-    TEXT_ITEM_TITLE,            /* TITLE command. */
-    TEXT_ITEM_SUBTITLE,         /* SUBTITLE command. */
+    TEXT_ITEM_PAGE_TITLE,       /* TITLE and SUBTITLE commands. */
     TEXT_ITEM_SUBHEAD,          /* Heading within a command's output.*/
 
     /* Syntax. */
@@ -64,6 +63,9 @@ struct text_item
     struct output_item output_item;
     char *text;                 /* The content. */
     enum text_item_type type;   /* Type. */
+    char *font;
+    int font_size;
+    bool bold, italic, underline;
   };
 
 struct text_item *text_item_create (enum text_item_type, const char *text);