#include "libpspp/compiler.h"
#include "output/output-item.h"
+#include "output/table.h"
/* A table item.
of the accessor functions defined below. */
struct table_item
{
- struct output_item output_item; /* Superclass. */
- struct table *table; /* The table to be rendered. */
- char *title; /* May be null if there is no title. */
- char *caption; /* May be null if there is no caption. */
- };
-
-struct table_item *table_item_create (struct table *, const char *title,
- const char *caption);
-
-const struct table *table_item_get_table (const struct table_item *);
+ struct output_item output_item; /* Superclass. */
+ struct pivot_table *pt; /* The table to be rendered. */
-const char *table_item_get_title (const struct table_item *);
-void table_item_set_title (struct table_item *, const char *);
+ char *cached_label;
+ };
-const char *table_item_get_caption (const struct table_item *);
-void table_item_set_caption (struct table_item *, const char *);
+struct table_item *table_item_create (struct pivot_table *);
\f
/* This boilerplate for table_item, a subclass of output_item, was
autogenerated by mk-class-boilerplate. */
}
void table_item_submit (struct table_item *);
-\f
+
#endif /* output/table-item.h */