Commit Graph

615 Commits

Author SHA1 Message Date
b66f052dc4 fpspreadsheet: Support number formatting in charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-03 22:36:00 +00:00
0fe9411ff3 fpspreadsheet: Support regression.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-03 18:56:15 +00:00
13ac26a52b fpspreadsheet: Fix incorrect handling of <br> tag in html cell text. Cells with line-breaks are now automatically word-wrapped.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-01 22:00:11 +00:00
3fc925936c fpspreadsheet: Support filled radar series. Add radar series demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9004 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-30 22:37:44 +00:00
7335cf0733 fpspreadsheet: Support pie and ring series. Add piechart demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-30 17:41:53 +00:00
1176d41a94 fpspreadsheet: Support radar charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-30 14:56:16 +00:00
2f80394b32 fpspreadsheet: Add writing of series labels to ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-30 14:37:53 +00:00
ceec0a7159 fpspreadsheet: Support axis position and inner/outer tick lines in ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-29 21:33:39 +00:00
6a183346ed fpspreadsheet: Support manual axis scaling in ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-29 18:36:13 +00:00
2c8dac0888 fpspreadsheet: Fix series fills and chart titles in ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8998 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-29 16:12:34 +00:00
fb8b6eef96 fpspreadsheet: Support individual fill colors of bars, bubbles, symbols. Fix dash line pattern broken after previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-29 15:52:46 +00:00
b8bff13140 fpspreadsheet: Split chart writing code off of ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-29 12:10:50 +00:00
0599bd5dcd fpspreadsheet: Add support for bubble series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-28 12:07:10 +00:00
43aa702f8e fpspreadsheet: different interpolation types for line and scatter plots.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8990 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-27 22:28:13 +00:00
1ec2d7c28c fpspreadsheet: ods writer supports scatter charts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8989 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-27 21:24:32 +00:00
87c0d8cc73 fpspreadsheet: Add TsAreaSeries. Add stack and 100%-stack modes (not working)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-27 20:44:33 +00:00
ff3ea1135b fpspreadsheet: Improved handling of rotated axis titles for horizontal bar charts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-27 20:09:03 +00:00
4fffa53722 fpspreadsheet: Simplify creation of the chart styles by the ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-27 17:45:33 +00:00
1b7bcf0ee9 fpspreadsheet: ods writer supports bar series (vertical and horizontal bars)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-26 22:00:07 +00:00
f63bc90ba7 fpspreadsheet: Support chart legend position in ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-26 21:21:51 +00:00
eded936053 fpspreadsheet: ods chart writer supports legend overlapping with plot area.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-26 11:30:36 +00:00
16944df46e fpspreadsheet: Fix chart dash patterns in ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-26 11:07:05 +00:00
b00a15e563 fpspreadsheet: More work on ods writer of charts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8978 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-25 17:15:57 +00:00
3c41492eb0 fpspreadsheet: More styles (axes, legend)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8976 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 22:18:31 +00:00
f2323fdf82 fpspreadsheet: Build styles from some chart properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8975 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 18:21:54 +00:00
6beb21eab9 fpspreadsheet: Add missing fpspreadsheet_chart.inc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 15:24:11 +00:00
240c6065b8 fpspreadsheet: Implement writing of wall and floor chart styles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8973 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 10:58:15 +00:00
ce4e36ca38 fpspreadsheet: More user-friendly chart background style.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 09:28:05 +00:00
623d0bd4c5 fpspreadsheet: Introducing ChartStyles for ods writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8971 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-23 00:03:45 +00:00
0395d4247c fpspreadsheet: Add files dropped from previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-22 08:33:55 +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
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
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
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
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