- mapping->to.s = data_out_stretchy (&v, NULL, format,
+ mapping->to.s = data_out_stretchy (&v, NULL, *format,
settings_get_fmt_settings (),
NULL);
mapping->to.width = strlen (mapping->to.s);
settings_get_fmt_settings (),
NULL);
mapping->to.width = strlen (mapping->to.s);
vme->from);
char *error = spv_map_insert (map, from, vme->to, true,
vme->from);
char *error = spv_map_insert (map, from, vme->to, true,
"source %s variable %s.",
sv->node_.id, sv->source, sv->source_name);
"source %s variable %s.",
sv->node_.id, sv->source, sv->source_name);
- dest = data_out_stretchy (&v, "UTF-8", &s->format,
+ dest = data_out_stretchy (&v, "UTF-8", s->format,
char *retval = pivot_value_from_data_value (
spv_map_lookup (&series[0]->map, dv), NULL, NULL, &cat->name);
if (retval)
char *retval = pivot_value_from_data_value (
spv_map_lookup (&series[0]->map, dv), NULL, NULL, &cat->name);
if (retval)
- free (value->footnote_indexes);
- value->footnote_indexes = NULL;
- value->n_footnotes = 0;
+ free (value->ex->footnote_indexes);
+ value->ex->footnote_indexes = NULL;
+ value->ex->n_footnotes = 0;
- value->font_style ? value->font_style : &base_area_style->font_style,
- value->cell_style ? value->cell_style : &base_area_style->cell_style,
+ ex->font_style ? ex->font_style : &base_area_style->font_style,
+ ex->cell_style ? ex->cell_style : &base_area_style->cell_style,
&area);
decode_spvdx_style_incremental (fg, bg, &area);
pivot_value_set_style (value, &area);
&area);
decode_spvdx_style_incremental (fg, bg, &area);
pivot_value_set_style (value, &area);
const struct pivot_table_look *look,
const struct spv_data *data, struct pivot_table **outp)
{
const struct pivot_table_look *look,
const struct spv_data *data, struct pivot_table **outp)
{
- struct pivot_table *table = pivot_table_create__ (NULL, subtype);
+ struct pivot_table *table = pivot_table_create__ (
+ pivot_value_new_user_text (v->name, SIZE_MAX), subtype);
pivot_table_set_look (table, look);
table->look = pivot_table_look_unshare (table->look);
pivot_table_set_look (table, look);
table->look = pivot_table_look_unshare (table->look);
&min_width, &max_width, &n)
&& v->graph->cell_style->width[n] == '\0')
{
&min_width, &max_width, &n)
&& v->graph->cell_style->width[n] == '\0')
{
- table->look->width_ranges[TABLE_HORZ][0] = min_width;
- table->look->width_ranges[TABLE_HORZ][1] = max_width;
+ table->look->col_heading_width_range[0] = min_width;
+ table->look->col_heading_width_range[1] = max_width;
error = xasprintf ("Table has %zu variables with circular or "
"unresolved references, including variable %s.",
n_nodes, nodes[0]->id);
error = xasprintf ("Table has %zu variables with circular or "
"unresolved references, including variable %s.",
n_nodes, nodes[0]->id);
{
/* Apparently, system-missing values are just empty cells? */
pivot_value_destroy (value);
{
/* Apparently, system-missing values are just empty cells? */
pivot_value_destroy (value);