Commit Graph

942 Commits

Author SHA1 Message Date
wp_xxyyzz
b51c5a33ed FPSpreadsheet: More API documention embedded in fpsChart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9767 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-31 22:21:27 +00:00
wp_xxyyzz
9d3d766fbd fpspreadsheet: Redo sizing of images and charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-30 23:09:18 +00:00
wp_xxyyzz
a882ac0508 fpspreadsheet: More help texts for the chart module.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-30 00:14:37 +00:00
wp_xxyyzz
7edd0aeb88 FPSpreadsheet: Beginning to update the help files for spreadsheet charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-28 18:25:21 +00:00
wp_xxyyzz
10b1a3881c fpspreadsheet: Simplify RegisterRawLinePattern()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9761 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-26 20:57:23 +00:00
wp_xxyyzz
dadd421d58 fpspreadsheet: Write image rotation angle to xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9760 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-24 18:01:39 +00:00
wp_xxyyzz
d05c8268ba FPSpreadsheet: Adjust patterns and major/minor grid linestyles to be similar to xlsx and ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9756 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-22 21:22:20 +00:00
wp_xxyyzz
44968d0bde git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9755 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2025-05-22 18:11:53 +00:00
wp_xxyyzz
9b1fe48c83 fpspreadsheet: Support reading of rotated images from ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9753 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-22 17:07:19 +00:00
wp_xxyyzz
9ec7cea591 fpspreadsheet: Support reading of embedded images in xlsx with one-cell-anchors and with image rotation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9752 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-22 14:16:18 +00:00
wp_xxyyzz
40c0442499 fpspreadsheet: Add zoomfactor demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9751 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-22 09:00:28 +00:00
wp_xxyyzz
70aecc45b9 fpspreadsheet: Linestyles in global list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9750 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-19 23:31:20 +00:00
wp_xxyyzz
48b6e2150c fpspreadsheet: Use a single cfsPattern now (rather than cfsPattern and cfsSolidpattern). Transparency of background determines whether pattern is clear or filled now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9749 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-18 23:12:00 +00:00
wp_xxyyzz
6cc9a90c37 fpspreadsheet: Introduce enumeration TsChartFillPatternStyle for built-in raw fill patterns.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9748 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-18 14:34:57 +00:00
wp_xxyyzz
a3bd99825a fpspreadsheet: Make RawFillPatterns global.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9747 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-18 09:00:21 +00:00
wp_xxyyzz
b8bfc3b9bd FPSpreadsheet: Rename TsChartImagelist.AddEmbeddedObj to .AddImage
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-16 23:14:33 +00:00
wp_xxyyzz
6dab14d899 fpspreadsheet: Fix incorrect position of inserted images (forum https://forum.lazarus.freepascal.org/index.php/topic,71072.msg554910.html#msg554910)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9745 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-15 21:12:42 +00:00
wp_xxyyzz
3ece65fe51 fpspreadsheet: some clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-13 22:12:39 +00:00
wp_xxyyzz
d483b6acd9 fpspreadsheet: Fix chart pattern background color issue in ods (pie series test).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-13 22:12:13 +00:00
wp_xxyyzz
c830e59c58 fpspreadsheet: Improvements in chart fill patterns.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9742 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-12 20:56:41 +00:00
wp_xxyyzz
7e0d30209a FpSpreadsheet: Fix range overflow when a cell range is copied in spready to the clipboard.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9741 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-12 15:45:56 +00:00
wp_xxyyzz
fc71c0cf31 fpspreadsheet: Fix sizing issues in xlsx pattern/image fills.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-11 17:34:15 +00:00
wp_xxyyzz
5e478d02d7 fpspreadsheet: Support image pattern scaling factors in reading/writing/displaying.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9739 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-10 13:47:21 +00:00
wp_xxyyzz
36b56fca80 fpspreadsheet: Scale size of images embedded into the worksheetgrid by the worksheet's zoom factor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9737 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-09 22:03:29 +00:00
wp_xxyyzz
92d53af0e6 fpspreadsheet: Removing some inconsistencies in the fill pattern system
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-09 09:28:53 +00:00
wp_xxyyzz
3a1e0cd00a FPSpreadsheet: Fix detection of some malformed jpg images. Forum https://forum.lazarus.freepascal.org/index.php/topic,71072.msg554199.html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-08 11:50:47 +00:00
wp_xxyyzz
38949ce5f7 fpspreadsheet: Some convenience function for line patterns
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-07 17:31:02 +00:00
wp_xxyyzz
5bb6c138fe fpspreadsheet: Support writing of image fills.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9733 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-07 17:16:43 +00:00
wp_xxyyzz
4227a4864e fpsreadsheet: Fix range overflow related to embedded objects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9732 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-05 20:05:04 +00:00
wp_xxyyzz
a817a0d65c fpspreadsheet: FillPattern list is no longer global, but a member of the workbook. Class renamed to TsRawFillPatternList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-05 17:23:46 +00:00
wp_xxyyzz
60c84126d7 fpspreadsheet: Fix drawing of pattern fills in xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9730 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-04 16:30:33 +00:00
wp_xxyyzz
4a1db9c373 FpSpreadsheet: FIx using fill pattern in multiple charts. Some cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9729 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-04 15:04:16 +00:00
wp_xxyyzz
c81b86dbdf fpspreadsheet: Redo chart pattern fills for better agreement between xlsx and ods files. INCOMPATIBLE CHANGES! Update sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9728 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-05-03 22:08:13 +00:00
wp_xxyyzz
cfe6c14a8f fpspreadsheet: Clip cell ranges at the sheet dimension limits. Add some test cases for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9651 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-26 23:27:47 +00:00
wp_xxyyzz
960402692f FPSpreadsheet: Fix misc bugs in INDEX and INDIRECT formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9646 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-25 10:49:55 +00:00
wp_xxyyzz
7c75ca5398 FPSpreadsheet: Fix INDIRECT for cell range references. Add unit tests for the INDIRECT formula.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-24 11:48:51 +00:00
wp_xxyyzz
a02dcc5c93 FPSpreadsheet: Fix worksheetgrid AutoAdvance default value (https://forum.lazarus.freepascal.org/index.php/topic,70342.msg548118)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-23 16:31:18 +00:00
wp_xxyyzz
b3fca34799 FPSpreadsheet: Fix formula MATCH support of wildcards in strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-19 18:47:36 +00:00
wp_xxyyzz
69fb5b2ea2 FPSpreadsheet: Fix compilation (issue #39106). Add unit test for ADDRESS formula.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-18 09:17:14 +00:00
wp_xxyyzz
81f20ccfdb FPSpreadsheet: Add unit tests for ACOS, ODD, POWER, RADIANS
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9640 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-17 10:58:14 +00:00
wp_xxyyzz
350efafd15 FPSpreadsheet: Handle missing argument in ROW and COLUMN formulas. Add unit tests for ROW, COLUMN, LOG, LOG10, and fix others regarding error cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9639 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-17 08:50:06 +00:00
wp_xxyyzz
ddef318478 FPSpreadsheet: Fix COUNTIF, SUMIF and AVERAGEIF formulas when they contain error values in the arguments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9624 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-11 18:18:47 +00:00
wp_xxyyzz
8959750876 FPSpreadsheet: Fix MATCH finding wrong duplicate value. See https://forum.lazarus.freepascal.org/index.php/topic,70130.0.html. Update unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9621 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-08 11:02:16 +00:00
wp_xxyyzz
016a7136bb FPSpreadsheet: Fix error in IF formula when second argument contains an error and is selected. See https://forum.lazarus.freepascal.org/index.php/topic,70117.msg546252. Update unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9620 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-06 21:26:55 +00:00
wp_xxyyzz
5c33ac9769 FPSpreadsheet: Add more unit tests for formula AVERAGEIF .
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-27 23:05:14 +00:00
wp_xxyyzz
e66040bd5c FPSpreadsheet: Add more unit test cases for COUNTIF and SUMIF.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-26 23:31:57 +00:00
wp_xxyyzz
d80948d93a FpSpreadsheet: More formula calculation unit tests. Fix some formulas for special arguments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-25 18:32:21 +00:00
wp_xxyyzz
0efab0339c FPSpreadsheet: Add more unit tests for formula calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-24 00:12:37 +00:00
wp_xxyyzz
c5b8b6077c FPSpreadsheet: Fix error propagation in ISERROR formula. Fix Excel pecularities in DATE and TIME formulas. Add formula calculation unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 00:04:07 +00:00
wp_xxyyzz
e5e12455ea FPSpreadsheet: Redo error propagation in formula engine (https://forum.lazarus.freepascal.org/index.php/topic,69893.msg544003.html#msg544003, https://forum.lazarus.freepascal.org/index.php/topic,69900.0.html). Incomplete, formula IsError is broken.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-22 12:02:41 +00:00