Commit Graph

1933 Commits

Author SHA1 Message Date
f7a7054930 fpspreadsheet: Initial commit of writing support of charts for OpenDocument. Very experimental and buggy...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-20 16:56:49 +00:00
7a096dcf83 fpspreadsheet: Increase version number to 1.17
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8966 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-15 17:47:58 +00:00
f54a1641df fpspreadsheet: Fix writing formulas with "forbidden characters" in the sheet name ('<', '>', '=').
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 23:18:59 +00:00
9a8edcf7f5 fpspreadsheet: Fix ods reader crashing when settings.xml is missing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 17:45:01 +00:00
a2350194b7 fpspreadsheet: Fix formulas with general UTF8 sheet names in xlsx
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 17:44:35 +00:00
d826f29a29 fpspreadsheet: Update readme files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-07 22:10:27 +00:00
67024b9786 fpspreadsheet: Update documentation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8935 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-07 21:51:23 +00:00
2b08e69c92 fpspreadsheet: Set version to 1.16 for next OPM release
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-07 17:32:44 +00:00
31205a2ddc fpspreadsheet: Size property cannot be changed (public in ancestor). Raise an exception now if new size is <> 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-03 20:40:56 +00:00
186e9b86a3 fpspreadsheet: Introduce a TBufStream.Clear method and make the Size property read-only to avoid issues when setting Size to arbitrary values.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8930 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-03 20:33:22 +00:00
477a3290f0 fpspreadsheet: Allow TBufStream to reset its Size to 0 (erase the contents of an existing file without deleting it).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-03 20:25:00 +00:00
9ca8cd943d fpspreadsheet: Fix evaluation of worksheet rels. Fix copying comments (sourceforge issue #61)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-02 21:53:23 +00:00
200668d5b9 fpspreadsheet: Store whether a cell is not allowed for printing (UsedFormattingFields flag uffDoNotPrint). Implemented for ODS only.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-28 21:51:20 +00:00
5464272445 fpspreadsheet: Improved password handling and format detection for the decryption readers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-05 22:20:06 +00:00
e1291123ef FPSpreadsheet: Replace fpsZipper by the unit submitted to bug tracker.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-05 10:58:53 +00:00
1c81982561 fpspreadsheet: Use patched zipper unit, remove dependence on Abbrevia.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-04 22:19:16 +00:00
36537f3875 fpspreadsheet: Add specialized reader for password-protected ods files. Temporarily add dependence on Abbrevia to crypto package (until FPC issue #40369 will be fixed). Add sample project for reading encrypted ods file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-03 12:58:43 +00:00
51984ba3b1 fpspreadsheet: Add demo for reading encrypted xlsx file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-02 21:28:45 +00:00
f0e01409ec FPSoreadsheet: Remove dependence on DCPCrypt from the crypto package (use Wolfgang-Ehrhardt units instead and add the needed ones to the package).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-02 10:37:14 +00:00
1c9d111a60 fpspreadsheet: Prepare ODS reader for supporting decryption.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-27 11:00:29 +00:00
20afe34c4b fpspreadsheet: Detect whether ods files are encrypted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8898 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-24 22:45:34 +00:00
caa791fa8e fpspreadsheet: Support node <text:s> in opendocument (https://forum.lazarus.freepascal.org/index.php/topic,64032.msg485856.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-18 20:24:20 +00:00
f1161bbdab fpspreadsheet: Improved version of the TsWorksheetDataset palette icon. By Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-17 15:14:34 +00:00
9493a0207c Image_sources: New images für TParadoxDataset and TsWorksheetdataset by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-16 14:43:12 +00:00
7940c5f9df Misc packages: Adjust to changes in Laz/main (deprecated OffsetRect), less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-15 23:33:46 +00:00
4bda2d8750 fpspreadsheet: Fix the xxxxIF formulas (COUNTIF, SUMIF, ...) to be case-insensitive (https://forum.lazarus.freepascal.org/index.php/topic,63474.msg480757.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8822 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-05-25 15:33:02 +00:00
f5af081233 fpspreadsheet: Add check for non-empty cells to stop removing of the dummy ods "repeated" rows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8821 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-05-17 12:17:58 +00:00
c5be1f5910 fpspreadsheet: Remove dummy "rows-repeated" at the end of the table from ods (https://forum.lazarus.freepascal.org/index.php/topic,63385.msg479999.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8820 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-05-17 11:21:15 +00:00
a5cdbad1bb fpspreadsheet: Fix insert row/col behaviour when insert happens at the anchor of a merged block. Issue #39051.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8819 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-05-04 11:33:18 +00:00
a89357d559 fpspreadsheet: Use cell background in TsWorksheetGrid's cell editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 20:14:36 +00:00
1184330d05 captcha, chemtext, fpspreadsheet: Fix minor issues in ex-meta files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-24 14:26:04 +00:00
88b48ad947 fpspreadsheet: Use category "CCR" in fpspreadsheet example projects' metadata files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8802 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-24 14:17:59 +00:00
6d9dd703f0 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
2023-04-10 22:13:56 +00:00
a28433388c fpspreadsheet: ex-meta files for the dataset demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-10 21:25:26 +00:00
b9a6cade84 fpspreadsheet: ex-meta files for the visual demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-10 21:08:40 +00:00
59c57fdbaf fpspreadsheet: Add some ex-meta files to support the new Examples Window of Laz/main.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8785 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-10 18:01:47 +00:00
8d0a937afc fpspreadsheet: Replace unit xlsbiff3 by xlsbiff34 which is extended to support also reading of the BIFF3 format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-23 23:57:37 +00:00
17f3ceac80 fpspreadsheet: Add unit xlsbiff4 to fpspreadsheet package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8771 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-22 23:17:22 +00:00
15876adb93 fpspreadsheet: Add reader for Excel 4.0 format (xlsbiff4).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8769 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-22 23:08:00 +00:00
9e861cf8d3 fpspreadsheet: Support reading of BIFF2 files with BOF record of BIFF8 - there seem to exist some malformed files of this kind which can be read by Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-22 08:28:17 +00:00
71b627aa59 fpspreadsheet: Fix xlsx reader bug which assumes that sheet files in the xlsx structure are always named "sheet1.xml", "sheet2.xml", etc. Issue #39050, patch by Domenico Mammola.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 18:59:12 +00:00
c6e4533d22 fpspreadsheet: Add missing {$mode objfpc}{$H+} directive to unit xlsxooxml_crypto.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-25 17:27:33 +00:00
6ec5e264f3 fpspreadsheet: Add compiler mode directive to fpscrypto.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-25 17:23:25 +00:00
0a8755d05b fpspreadsheet: Add project group (fps_all) with all fpspreadsheet packages for easier compilation and installation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 11:46:01 +00:00
3a2cfd397f fpspreadsheet: Check compilation back to Laz 1.4.4/fpc 2.6.4. Update conditional defines in fps.inc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 11:42:24 +00:00
61c7c866fb fpspreadsheet: Add demo with frozen columns and rows in a worksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8704 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-13 12:22:58 +00:00
8ab147776a fpspreadsheet: Fix typo in previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8697 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-07 19:03:25 +00:00
7905e5a72e fpspreadsheet: Support the csv reader/writer options IgnoreOuterWhiteSpace and QuoteOuterWhiteSpace (see https://forum.lazarus.freepascal.org/index.php/topic,62151.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8696 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-07 16:54:19 +00:00
75b3b0004b fpspreadsheet: Call Flush() at the end of TsWorksheetDataset.CopyFromDataset to make sure that the output file is written.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8687 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-16 18:51:24 +00:00
04a58a17c7 fpspreadsheet: Extend TsWorksheetDataset.CopyFromDataset to support codepage conversion of the source dataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8678 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-14 21:54:41 +00:00