}
csv_output_field (csv, ds_cstr (&s));
ds_destroy (&s);
-
- if (leader)
- putc ('\n', csv->file);
}
}
csv_output_table__ (struct csv_driver *csv, const struct table *t,
const char *leader)
{
+ if (!t)
+ return;
+
for (int y = 0; y < t->n[TABLE_VERT]; y++)
{
for (int x = 0; x < t->n[TABLE_HORZ]; x++)
struct pivot_value *value = pivot_value_new_user_text_nocopy (
ds_steal_cstr (&s));
- fill_cell (layers, 0, i, 0, i,
+ fill_cell (footnotes, 0, i, 0, i,
&pt->look->areas[PIVOT_AREA_FOOTER], PIVOT_AREA_FOOTER,
value, pt->show_values, pt->show_variables, false);
}
src/libpspp-core.la \
gl/libgl.la
-check_PROGRAMS += tests/output/render-test
-tests_output_render_test_SOURCES = tests/output/render-test.c
-tests_output_render_test_LDADD = \
- src/libpspp.la \
- src/libpspp-core.la \
- $(CAIRO_LIBS)
-
+EXTRA_DIST += tests/output/render-test.c
check_PROGRAMS += tests/ui/syntax-gen-test
tests_ui_syntax_gen_test_SOURCES = tests/ui/syntax-gen-test.c
tests_ui_syntax_gen_test_LDADD = \
,Sig. (2-tailed),.017,.291,,.505
bang,Pearson Correlation,-.308,.118,-.344,1.000
,Sig. (2-tailed),.553,.824,.505,
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
Table: Correlations
,,bar,wiz
bang,Pearson Correlation,-.308,.164,-.337,1.000
,Sig. (2-tailed),.553,.725,.460,
,N,6,7,7,7
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
]])
AT_CLEANUP
var3,Pearson Correlation,.3699[a],-.0543
,Sig. (2-tailed),.000,.603
,N,95,94
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
Table: Correlations
,,var1,var2
var5,Pearson Correlation,-.0519,-.0407
,Sig. (2-tailed),.623,.698
,N,92,93
-
-Footnotes:
-a,Significant at .05 level
+Footnote: a. Significant at .05 level
]])
AT_CLEANUP
,2,9,100.0%,0,.0%,9,100.0%
,9[a],4,100.0%,0,.0%,4,100.0%
,99[a],5,100.0%,0,.0%,5,100.0%
-
-Footnotes:
-a,User-missing value.
+Footnote: a. User-missing value.
Table: Extreme Values
,g,,,Case Number,Value
,,,3,25,701
,,,4,26,801
,,,5,27,901
-
-Footnotes:
-a,User-missing value.
+Footnote: a. User-missing value.
]])
AT_CLEANUP
h
i[c][d][e]",j,
,klm,
-
-Footnotes:
-a,Approximation.
-b,This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably.
-c,One
-d,Two
-e,Three
+Footnote: a. Approximation.
+Footnote: b. This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably.
+Footnote: c. One
+Footnote: d. Two
+Footnote: e. Three
]])
AT_CLEANUP
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality
-
-Footnotes:
-a,User-missing value
+Footnote: a. User-missing value
Table: Variable and Dataset Attributes
Variable and Name,,Value
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality
-
-Footnotes:
-a,User-missing value
+Footnote: a. User-missing value
Table: Variable and Dataset Attributes
Variable and Name,,Value