This will receive its first real user in an upcoming commit that adds
support for SPV files.
table_item_layers_destroy (layers);
}
- if (pt->caption)
+ if (pt->caption && pt->show_caption)
{
struct table_item_text *caption = pivot_value_to_table_item_text (
pt->caption, &pt->areas[PIVOT_AREA_CAPTION], footnotes,
{
struct pivot_table *table = xzalloc (sizeof *table);
table->ref_cnt = 1;
+ table->show_caption = true;
table->weight_format = (struct fmt_spec) { FMT_F, 40, 0 };
table->title = title;
table->subtype = pivot_value_new_text (subtype);
bool rotate_outer_row_labels;
bool row_labels_in_corner;
bool show_grid_lines;
+ bool show_caption;
bool omit_empty; /* Omit empty rows and columns? */
size_t *current_layer; /* axis[PIVOT_AXIS_LAYER].n_dimensions elements. */
char *table_look;