output: Make table_item a pivot_table, table_cell a pivot_value.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 1 Jan 2021 06:44:23 +0000 (22:44 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 2 Jan 2021 03:23:40 +0000 (19:23 -0800)
commit21f20b8cb6460fd5ac9db7fde038bc00cfa80831
tree334d5446f4bf6ba6869c5397f37d8f3b17b4a66c
parentab19e5378e9509be1beaf5c1ca837c1acf69e764
output: Make table_item a pivot_table, table_cell a pivot_value.

This greatly simplifies a lot of glue code and it brings the
internal representation of tables in output closer to the .spv
format representation, which will make better compatibility
possible in the future.

This commit gets rid of render-test, which was very specific
to the lower-level "table" representation, and replaces it
by pivot-table-test, which works in terms of the higher-level
pivot table representation.
37 files changed:
Smake
src/output/ascii.c
src/output/automake.mk
src/output/cairo-fsm.c
src/output/cairo-fsm.h
src/output/cairo-pager.c
src/output/cairo-pager.h
src/output/cairo.c
src/output/csv.c
src/output/html.c
src/output/odt.c
src/output/pivot-output.c
src/output/pivot-output.h [new file with mode: 0644]
src/output/pivot-table.c
src/output/pivot-table.h
src/output/render.c
src/output/render.h
src/output/spv/spv-dump.c
src/output/spv/spv-legacy-decoder.c
src/output/spv/spv-light-decoder.c
src/output/spv/spv-output.c
src/output/spv/spv-writer.c
src/output/table-item.c
src/output/table-item.h
src/output/table-provider.h
src/output/table.c
src/output/table.h
src/output/tex.c
src/output/text-item.c
src/ui/gui/psppire-output-view.c
tests/automake.mk
tests/output/look.stt [new file with mode: 0644]
tests/output/pivot-table-test.c [new file with mode: 0644]
tests/output/pivot-table.at [new file with mode: 0644]
tests/output/render-test.c [deleted file]
tests/output/render.at
utilities/pspp-output.c