X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fpivot-table.h;h=e374596184889f107ba2ecdfef60f44b3be671c8;hb=cee6f0eb54144da7034566fa1bcdcee22337ae6a;hp=e7e5ad403b1b38b0cb769e404b8f1c002b131212;hpb=861528a56e8fcb470285a2ee0bb87d716f652174;p=pspp diff --git a/src/output/pivot-table.h b/src/output/pivot-table.h index e7e5ad403b..e374596184 100644 --- a/src/output/pivot-table.h +++ b/src/output/pivot-table.h @@ -177,9 +177,8 @@ enum pivot_axis_type { PIVOT_AXIS_LAYER, PIVOT_AXIS_ROW, - PIVOT_AXIS_COLUMN, - - PIVOT_N_AXES + PIVOT_AXIS_COLUMN +#define PIVOT_N_AXES 3 }; const char *pivot_axis_type_to_string (enum pivot_axis_type); @@ -489,6 +488,12 @@ struct pivot_table *pivot_table_unshare (struct pivot_table *); void pivot_table_unref (struct pivot_table *); bool pivot_table_is_shared (const struct pivot_table *); +/* Titles. */ +void pivot_table_set_title (struct pivot_table *, struct pivot_value *); +void pivot_table_set_subtype (struct pivot_table *, struct pivot_value *); +void pivot_table_set_corner_text (struct pivot_table *, struct pivot_value *); +void pivot_table_set_caption (struct pivot_table *, struct pivot_value *); + /* Axes. */ void pivot_table_swap_axes (struct pivot_table *, enum pivot_axis_type, enum pivot_axis_type);