Rework the spreadsheet import feature of the grapic user interface
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 10 Oct 2020 06:21:56 +0000 (08:21 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 10 Oct 2020 06:39:40 +0000 (08:39 +0200)
commit77e2017715a58c01d3e63ad90fb28b5e39eb2a31
tree8320ee4601283cdcc03ef935b647c020df6ac780
parent9fe94bb62541986ea0a0687b24ca001e2baf12fd
Rework the spreadsheet import feature of the grapic user interface

This change adds a feature where the user can preview the data from
a spreadsheet when preparing to import it.    This should make importing
spreadsheets somewhat easier.  Some rework of the other import code
was also necessary as part of this change.
38 files changed:
INSTALL
NEWS
configure.ac
src/data/gnumeric-reader.c
src/data/gnumeric-reader.h
src/data/ods-reader.c
src/data/ods-reader.h
src/data/spreadsheet-reader.c
src/data/spreadsheet-reader.h
src/ui/gui/automake.mk
src/ui/gui/psppire-import-assistant.c
src/ui/gui/psppire-import-assistant.h
src/ui/gui/psppire-import-spreadsheet.c [new file with mode: 0644]
src/ui/gui/psppire-import-spreadsheet.h [new file with mode: 0644]
src/ui/gui/psppire-import-textfile.c [new file with mode: 0644]
src/ui/gui/psppire-import-textfile.h [new file with mode: 0644]
src/ui/gui/psppire-spreadsheet-data-model.c [new file with mode: 0644]
src/ui/gui/psppire-spreadsheet-data-model.h [new file with mode: 0644]
src/ui/gui/psppire-spreadsheet-model.c
src/ui/gui/psppire-spreadsheet-model.h
src/ui/gui/spreadsheet-import.ui [new file with mode: 0644]
src/ui/gui/text-data-import.ui
tests/automake.mk
tests/data/holey.gnumeric [new file with mode: 0644]
tests/data/holey.ods [new file with mode: 0644]
tests/data/multisheet.gnumeric [new file with mode: 0644]
tests/data/multisheet.ods [new file with mode: 0644]
tests/data/one-thousand-by-fifty-three.gnumeric [new file with mode: 0644]
tests/data/one-thousand-by-fifty-three.ods [new file with mode: 0644]
tests/data/repeating.gnumeric [new file with mode: 0644]
tests/data/repeating.ods [new file with mode: 0644]
tests/data/simple.gnumeric [new file with mode: 0644]
tests/data/simple.ods [new file with mode: 0644]
tests/data/sparse.gnumeric [new file with mode: 0644]
tests/data/sparse.ods [new file with mode: 0644]
tests/data/spreadsheet-test.at [new file with mode: 0644]
tests/data/spreadsheet-test.c [new file with mode: 0644]
tests/language/data-io/get-data-spreadsheet.at