1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:27:36 +00:00

Spreadsheet: Add an import wizard, and add support for custom CSV files

Fixes the import half of #4269.
This commit is contained in:
AnotherTest 2021-03-21 20:38:08 +03:30 committed by Andreas Kling
parent 3bbcde9192
commit 3c151b3de6
7 changed files with 601 additions and 52 deletions

View file

@ -1,5 +1,7 @@
compile_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml)
compile_gml(CondView.gml CondFormattingViewGML.h cond_fmt_view_gml)
compile_gml(csv_import.gml CSVImportGML.h csv_import_gml)
compile_gml(select_format_page.gml FormatSelectionPageGML.h select_format_page_gml)
set(SOURCES
Cell.cpp
@ -14,6 +16,7 @@ set(SOURCES
CondFormattingGML.h
CondFormattingViewGML.h
HelpWindow.cpp
ImportDialog.cpp
JSIntegration.cpp
Readers/XSV.cpp
Spreadsheet.cpp
@ -24,5 +27,10 @@ set(SOURCES
main.cpp
)
set(GENERATED_SOURCES
CSVImportGML.h
FormatSelectionPageGML.h
)
serenity_app(Spreadsheet ICON app-spreadsheet)
target_link_libraries(Spreadsheet LibGUI LibJS LibWeb)