of the accessor functions defined below. */
struct table_item
{
- struct output_item output_item; /* Superclass. */
- struct table *table; /* The table to be rendered. */
- struct table_item_text *title; /* Null if there is no title. */
- struct table_item_text *caption; /* Null if there is no caption. */
+ struct output_item output_item; /* Superclass. */
+ struct table *table; /* The table to be rendered. */
+ struct table_item_text *title; /* Null if there is no title. */
+ struct table_item_text *caption; /* Null if there is no caption. */
struct table_item_layers *layers; /* Null if there is no layer info. */
+ char *notes; /* Shown as tooltip. */
struct pivot_table *pt;
};
struct table_item *table_item_create (struct table *, const char *title,
- const char *caption);
+ const char *caption, const char *notes);
const struct table *table_item_get_table (const struct table_item *);
const struct table_item *);
void table_item_set_caption (struct table_item *,
const struct table_item_text *);
+
+const char *table_item_get_notes (const struct table_item *);
+void table_item_set_notes (struct table_item *, const char *notes);
\f
/* This boilerplate for table_item, a subclass of output_item, was
autogenerated by mk-class-boilerplate. */