X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-item.h;h=e4c40ab228c5ce959a90c828053cb70f24150528;hb=22203a0e0daa6b6ab247b572b191d25bb48f61a3;hp=a16c82ebb36a3ad84502cb6f516e3554bc8d5c1f;hpb=50f6ea7d66d03895020891215fb4f55bbf061003;p=pspp diff --git a/src/output/table-item.h b/src/output/table-item.h index a16c82ebb3..e4c40ab228 100644 --- a/src/output/table-item.h +++ b/src/output/table-item.h @@ -35,7 +35,7 @@ struct table_item_text char *content; const struct footnote **footnotes; size_t n_footnotes; - struct area_style *style; + struct table_area_style *style; }; struct table_item_text *table_item_text_create (const char *); @@ -57,7 +57,7 @@ struct table_item_layers { struct table_item_layer *layers; size_t n_layers; - struct area_style *style; + struct table_area_style *style; }; struct table_item_layers *table_item_layers_clone ( @@ -70,16 +70,17 @@ void table_item_layers_destroy (struct table_item_layers *); 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 *); @@ -96,6 +97,9 @@ const struct table_item_text *table_item_get_caption ( 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); /* This boilerplate for table_item, a subclass of output_item, was autogenerated by mk-class-boilerplate. */