output: Rename a few struct members for consistency.
[pspp] / src / output / text-item.h
index 9b8345ef827f12e58dbe202a9fc7793ffa858fc5..a8f1e493e92fdb7382c91d947d1fe59b6ed62479 100644 (file)
 
 enum text_item_type
   {
-    /* Headings. */
     TEXT_ITEM_PAGE_TITLE,       /* TITLE and SUBTITLE commands. */
-    TEXT_ITEM_SUBHEAD,          /* Heading within a command's output.*/
+    TEXT_ITEM_TITLE,            /* Title. */
+    TEXT_ITEM_PARAGRAPH,        /* Normal paragraph of text. */
 
-    /* Syntax. */
+    /* Log items. */
     TEXT_ITEM_SYNTAX,           /* A single line of PSPP syntax. */
-    TEXT_ITEM_COMMENT,          /* COMMENT command. */
-    TEXT_ITEM_ECHO,             /* ECHO command. */
-
-    /* Ordinary text. */
-    TEXT_ITEM_PARAGRAPH,        /* Normal paragraph of text. */
-    TEXT_ITEM_MONOSPACE,        /* Paragraph of monospaced text. */
+    TEXT_ITEM_LOG,              /* Other logging. */
 
     /* Spacing.  Some output drivers that are not based on lines and pages
        (e.g. CSV, HTML) may ignore these. */
@@ -55,8 +50,8 @@ struct text_item
     struct output_item output_item;
     char *text;                 /* The content. */
     enum text_item_type type;   /* Type. */
-    char *font;
-    int font_size;
+    char *typeface;
+    int size;
     bool bold, italic, underline, markup;
   };