category->dimension->table, s);
if (format)
category->format = *format;
+
+ struct pivot_value *name = category->name;
+ if (name->type == PIVOT_VALUE_NUMERIC && !name->numeric.format.w)
+ name->numeric.format = format ? *format : *settings_get_format ();
}
static void
return rc != NULL;
}
+
+bool
+is_pivot_result_class (const char *s)
+{
+ return pivot_result_class_find (s) != NULL;
+}
\f
/* Pivot tables. */
static bool
pivot_axis_assign_label_depth (struct pivot_table *table,
- enum pivot_axis_type axis_type,
- bool dimension_labels_in_corner)
+ enum pivot_axis_type axis_type,
+ bool dimension_labels_in_corner)
{
struct pivot_axis *axis = &table->axes[axis_type];
bool any_label_shown_in_corner = false;
pivot_axis_assign_label_depth (table, PIVOT_AXIS_LAYER, false);
}
\f
-/* Footnotes. */
-
-\f
-\f
static void
indent (int indentation)
{