Commit Graph

163 Commits

Author SHA1 Message Date
wp_xxyyzz
51c89b10ca FPSpreadsheet: Change signature of AddChart() methods. Adapt all sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-15 21:28:40 +00:00
wp_xxyyzz
1e765d0178 FPSpreadsheet: Fix ods crashing when a series has no title.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-15 20:49:59 +00:00
wp_xxyyzz
2504540a41 fpspreadsheet: Add unit tests for defined names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-08-01 13:11:19 +00:00
wp_xxyyzz
097576284f fpspreadsheet: Fix reading named cells with error in ods. Fix usage of incorrect filename in read_definednames demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9411 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-08-01 11:32:46 +00:00
wp_xxyyzz
0269bdceff fpspreadsheet: Fix reading of defined names in ods (use correct xml attributes)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9410 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-08-01 11:08:30 +00:00
wp_xxyyzz
12ee2c0b1b fpspreadsheet: Adjust defined name ranges when rows/cols are inserted/deleted. Handle #REF! error in defined names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9409 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-31 18:30:29 +00:00
wp_xxyyzz
6a319f55b8 fpspreadsheet: support local defined names in ods (Note: scope not checked by fps, so far)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9408 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-28 18:09:09 +00:00
wp_xxyyzz
0d6a27eff3 fpspreadsheet: Fix calculation of formulas with defined names in ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-25 09:44:52 +00:00
wp_xxyyzz
a7620227c6 fpspreadsheet: Formula support for defined names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-24 22:29:17 +00:00
wp_xxyyzz
7735590b99 fpspreadsheet: Support defined names in ods files. No formula support so far.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-24 18:08:13 +00:00
wp_xxyyzz
09ab7329ef fpspreadsheet: Support also haDistributed and haFilled horizontal alignments. haJustify renamed to haJustified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-10 10:24:45 +00:00
wp_xxyyzz
611cd2c347 fpspreadsheet: Add haJustify as new horizontal alignment option.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-09 17:08:43 +00:00
wp_xxyyzz
1c088daf23 fpspreadsheet: Destroy charts along with their worksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-23 21:30:58 +00:00
wp_xxyyzz
bf4530543e fpspreadsheet: Fix default number format in ods chart writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-23 18:43:49 +00:00
wp_xxyyzz
a7c7027605 fpspreadsheet: Fix ods chart reader crashing with files created by Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-21 17:02:06 +00:00
wp_xxyyzz
162a4049ff fpspreadsheet: More reading of xlsx charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-04 23:02:45 +00:00
wp_xxyyzz
7450192040 fpspreadsheet: First pieces of the xlsx reader of spreadsheet charts (axes, legend, bar chart).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-03 22:37:34 +00:00
wp_xxyyzz
aab0f1d448 fpspreadsheet: Prepare ooxml chart reader/writer infrastructure.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-28 23:13:01 +00:00
wp_xxyyzz
4f0e2e8b83 fpspreadsheet: Add conditional define FPS_CHARTS (active by default) to compile the lib with and without chart support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9108 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-28 22:41:39 +00:00
wp_xxyyzz
9df9e002dd fpspreadsheet: ods writer supports stockseries
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9079 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-13 21:22:33 +00:00
wp_xxyyzz
e8c3dc0f7b fpspreadsheet: ods reader supports number formats in charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-12 18:12:12 +00:00
wp_xxyyzz
698204295f fpspreadsheet: ods reader supports chart title and subtitle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9018 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-08 21:54:29 +00:00
wp_xxyyzz
7c538a0c8b fpspreadsheet: ods reader supports chart legend.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9017 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-08 18:33:29 +00:00
wp_xxyyzz
476d66e34b fpspreadsheet: Initial commit of ods chart reader (not complete).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-07 17:25:03 +00:00
wp_xxyyzz
84f0bc8483 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
wp_xxyyzz
17283ba9c6 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
wp_xxyyzz
7501a92d67 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
wp_xxyyzz
fe5ee22921 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
wp_xxyyzz
b696262931 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
wp_xxyyzz
d5a6616cbe 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
wp_xxyyzz
45764b9d2a 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
wp_xxyyzz
b7f4970f76 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
wp_xxyyzz
2bdb4125dc 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
wp_xxyyzz
00d34ad2d2 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
wp_xxyyzz
e9e5974de5 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
wp_xxyyzz
e18c6409a1 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
wp_xxyyzz
1a0faa73c1 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
wp_xxyyzz
83911001be 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
wp_xxyyzz
53f59e89dc 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
wp_xxyyzz
599473f03f 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
wp_xxyyzz
03a5b6e527 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
wp_xxyyzz
d9d332c81d 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
wp_xxyyzz
86c946e4db 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
wp_xxyyzz
488c414fa5 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
wp_xxyyzz
20b6c6755e 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
wp_xxyyzz
2dfd80db3d fpspreadsheet: Add specialized reader for password-protected ods files. Temporatily add dependence on Abbrevia to crypto package (until FPC issue #40369 is 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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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