Commit Graph

181 Commits

Author SHA1 Message Date
fb4abdab4d fpspreadsheet: Adjust chart link to new percentage-sized bubble series radii. No longer ignore font of series labels.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9062 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-30 23:20:34 +00:00
5926c10883 fpspreadsheet: Fix border when drawing data point marks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-29 16:47:46 +00:00
7394833a30 fpspreadsheet: Show regression formula in chart with number format specified in file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-29 12:33:37 +00:00
8be0fe4703 fpspreadsheet: Fix visibility of chart legend and axis labels
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9058 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-29 12:23:09 +00:00
1a1da84fc8 fpspreadsheet: Fix Brush.Bitmap not being cleared in next redraw of the chart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9057 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-29 11:41:16 +00:00
f14558000b fpspreadsheet: Remove requirement to call chart.AddSeries.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-29 00:09:59 +00:00
22e45acc19 fpspreadsheet: Reset TChart.Proportional to false when a new chart is created (distorts axes after drawing a radar series).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-28 23:29:59 +00:00
e041a4109e fpspreadsheet: Extended chart display demo. Rework TsWorkbookSource's ListenerNotification to avoid crash when chart destroy a listening chartsource. Chart link can display pie series now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-28 23:04:27 +00:00
8b51f30e14 fpspreadsheet: Add ods writer demo for TsBubbleSeries. Chart link supports reading TsBubbleSeries (but: size issues to be fixed in TAChart).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-28 21:22:46 +00:00
97d7919d6a fpspreadsheet: Chart link respects y axis label format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9051 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-27 23:33:26 +00:00
2df3e382a2 fpspreadsheet: Chart link supports 100%-stacking for bar, area and line series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-27 22:41:30 +00:00
bdd483000f fpspreadsheet: Chart link supports stacked area and line series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-27 21:37:13 +00:00
114d89432d fpspreadsheet: Chart link supports stackable series (not fully complete).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9048 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-27 19:22:02 +00:00
2c6fbd54c5 fpspreadsheet: Fix cooperation of changed TsWorkbookChartSource with TsWorkbookChartLink.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-27 18:17:22 +00:00
baf8abdc40 fpspreadsheet: Update workbookchartsource demo to show multiple-y-values feature.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9046 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-26 23:04:52 +00:00
f2d3b35380 fpspreadsheet: Fix TsWorkbookChartSource to respect multiple y values.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9045 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-26 18:09:17 +00:00
d83922c334 fpspreadsheet: Chart links supports a very basic radar series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9044 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-26 00:30:18 +00:00
e8f17bc390 fpspreadsheet: Rough conversion of ods line pattern to TPenStyle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-25 23:53:40 +00:00
279874d2c0 fpspreadsheet: chart link supports hatched fills.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9042 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-23 23:40:36 +00:00
cb2cb5ef60 fpspreadsheet: ods reader and chart link support bitmap fill patterns.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9040 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-23 18:49:41 +00:00
49b6486be7 fpspreadsheet: Chart link supports regression curve in scatter plot.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-23 00:08:33 +00:00
6946f27d34 fpspreadsheet: Chart link supports series marks, and pie series. Add related missing properties to ods reader/writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-22 22:08:47 +00:00
71f5985598 fpspreadsheet: Chart link supports bar, line and area series.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-22 14:23:55 +00:00
be1d7e73f6 fpspreadsheet: Chart link supports background colors, legend and axes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-21 21:59:26 +00:00
33589941fc fpspreadsheet: Add TsWorkbookChartLink linking TsChart to TAChart, initial version, not complete.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9034 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-21 15:18:51 +00:00
9ced830ecc fpspreadsheet: Remove deprecated TsWorksheetChartSource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-21 11:16:16 +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
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
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
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
fcb139c902 fpspreadsheet: Fix LCLScaling of comment marker in grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8625 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-16 19:04:36 +00:00
d2467e166d fpspreadsheet: Fix worksheetgrid crashing when drawing cell borders due to range overflow when frozencols = 0 or frozenrows = 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 18:04:44 +00:00
aba1fc911f fpspreadsheet: Clarify Rich-text output in TsSpreadsheetInspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-17 22:45:23 +00:00
e8d8973789 fpspreadsheet: Improved painting of embedded images in worksheetgrid in case of scaling factor 1.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8329 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-06-26 17:39:07 +00:00
8e8d070239 fpspreadsheet: Fix drag and drop in worksheet grid to move cells and formulas correctly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-04-22 22:10:06 +00:00
b5c5632668 fpspreadsheet: Fix incorrect row height when row switches from hidden to visible (https://forum.lazarus.freepascal.org/index.php?topic=58792.msg438138#msg438138).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-22 10:11:23 +00:00
fcb02822e2 fpspreadsheet: More detailed font conversion routines, needed for RichMemo integration.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-13 22:10:10 +00:00
1626e8ab2f fpspreadsheet: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 16:14:40 +00:00
c0a1aade9a fpspreadsheet: Add new properties to grid: CellFormula, CellProtection, CellProtections. Grid cell editor uses cell font. Expose the upper-left grid corner pixel coordinates as LeftTopPx property. Patch by milesyou (https://forum.lazarus.freepascal.org/index.php/topic,56548.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-02 20:57:03 +00:00
0f89af8cd7 fpspreadsheet: Simplify setting borders in neighboring cells of the worksheetgrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8061 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-11 19:24:56 +00:00
a0801dd183 fpspreadsheet: Another attempt to fix overwriting of frozencols borderline by cells with borders.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-11 14:04:46 +00:00
4bbe58f7cf fpspreadsheet: Fix cell borders painting over frozencols border line (https://forum.lazarus.freepascal.org/index.php/topic,55317.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-11 08:32:08 +00:00
3f87df497d fpspreadsheet: Fix grid column headers being overwritten when ShowHeaders is false.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8058 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-09 21:42:36 +00:00
f190ffd0b5 Update chm help (add help for fpspreadsheetctrls and fpspreadsheetgrid).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-16 23:02:30 +00:00
de1ecc0a8e fpspreadsheet: Put conditional define REGISTER_ALL_FILE_FORMATS around file format registration in fpsvisualreg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-16 11:42:23 +00:00
3fc88c42b6 fpspreadsheet: Avoid having unit fpCSV in the uses list of fpspreadsheetctrls because this would register the CSV reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7998 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-16 11:20:05 +00:00
dbe26c3b9b fpspreadsheet: Fix grid crashing in frame when Handle is not yet available.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-23 12:26:43 +00:00
8b5cc6b3d9 fpspreadsheet: second attempt to fix worksheetgrid writing edited cell to wrong cell when grid is on MDI form (issue #37596).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-05 22:33:26 +00:00
96dc6b9939 fpspreadsheet: clean up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-04 09:05:50 +00:00
872c04e07a fpspreadsheet: Fix worksheetgrid writing edited cell to wrong cell when grid is on MDI form (issue #37596, https://forum.lazarus.freepascal.org/index.php/topic,51066.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-03 20:35:33 +00:00