From 6d9dd703f09e4f30e68666b413bbfc2bb2467605 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Mon, 10 Apr 2023 22:13:56 +0000 Subject: [PATCH] fpspreadsheet: ex-meta files for the db_export_import and fpsspeedtest demos. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8788 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../db_import_export/db_export_import.ex-meta | 11 +++++++++++ .../examples/fpsspeedtest/fpsspeedtest.ex-meta | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 components/fpspreadsheet/examples/db_import_export/db_export_import.ex-meta create mode 100644 components/fpspreadsheet/examples/fpsspeedtest/fpsspeedtest.ex-meta diff --git a/components/fpspreadsheet/examples/db_import_export/db_export_import.ex-meta b/components/fpspreadsheet/examples/db_import_export/db_export_import.ex-meta new file mode 100644 index 000000000..d23e20eae --- /dev/null +++ b/components/fpspreadsheet/examples/db_import_export/db_export_import.ex-meta @@ -0,0 +1,11 @@ +{ "db_export_import" : { + "Category" : "FPSpreadsheet", + "Keywords" : ["Spreadsheet", "FPSpreadsheet", "Database", "dbase", "TDbf", "TBufDataset", "Import", "Export", "gui"], + "Description" : "This example program shows how a large database table can be exported to a spreadsheet using virtual mode or fpspreadsheet's fpsexport. It also shows importing a spreadsheet file into a database using virtual mode. + +First, run the section 1 to create a dBase file with random data. Then, in section 2, the dBase file can be converted to any spreadsheet format supported. Finally, in section 3, another dBase file can be created from a selected spreadsheet file. + +Export using virtual mode has the advantage that this takes less memory for the spreadsheet contents, but requires some more coding. It is also quite fast. Exporting using fpsexport needs less code but takes more memory (important for large amounts of data) and seems slower. + +Please note that this example is mainly educational to show a \"real-world\" application of virtual mode, but, strictly speaking, virtual mode would not be absolutely necessary due to the small number of columns."} +} \ No newline at end of file diff --git a/components/fpspreadsheet/examples/fpsspeedtest/fpsspeedtest.ex-meta b/components/fpspreadsheet/examples/fpsspeedtest/fpsspeedtest.ex-meta new file mode 100644 index 000000000..24e8bca24 --- /dev/null +++ b/components/fpspreadsheet/examples/fpsspeedtest/fpsspeedtest.ex-meta @@ -0,0 +1,7 @@ +{ "fpsspeedtest" : { + "Category" : "FPSpreadsheet", + "Keywords" : ["Spreadsheet", "FPSpreadsheet", "speedtest", "read", "write", "gui"], + "Description" : "This demo represents a useful tool for measuring the speed of writing to and reading from various spreadsheet file formats. It contains a gui to setup test conditions and displays test results in a memo. + +Please note that the reading test requires the files created during the writing test. The test files are created in a subfolder \"data\" of the directory containing the exe file."} +} \ No newline at end of file