output: Rename caption to title.
[pspp] / src / output / table-item.h
index dddf846ca952a08ea0709ffc72f737b9654da175..15f5c568f37b15350363dc40a0fd29692575f2e1 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2009, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2011, 2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
 
    A table item is a subclass of an output item (see output-item.h) that
    contains a table (see table.h) and some formatting properties (currently
-   just a caption). */
+   just a title). */
 
 #include "libpspp/compiler.h"
 #include "output/output-item.h"
@@ -34,15 +34,15 @@ struct table_item
   {
     struct output_item output_item; /* Superclass. */
     struct table *table;        /* The table to be rendered. */
-    char *caption;              /* May be null if there is no caption. */
+    char *title;                /* May be null if there is no title. */
   };
 
-struct table_item *table_item_create (struct table *, const char *caption);
+struct table_item *table_item_create (struct table *, const char *title);
 
 const struct table *table_item_get_table (const struct table_item *);
 
-const char *table_item_get_caption (const struct table_item *);
-void table_item_set_caption (struct table_item *, const char *);
+const char *table_item_get_title (const struct table_item *);
+void table_item_set_title (struct table_item *, const char *);
 \f
 /* This boilerplate for table_item, a subclass of output_item, was
    autogenerated by mk-class-boilerplate. */