Commit Graph

136 Commits

Author SHA1 Message Date
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
74d1082ccb fpspreadsheet: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-28 11:26:13 +00:00
wp_xxyyzz
21547ee284 fpspreadsheet: Unpublish property TsWorksheetGrid.AlternateColor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-07 16:54:36 +00:00
wp_xxyyzz
370c5ad6c0 fpspreadsheet: Better position for "inherited" in TsCellEdit.EditingDone (reverting previous commit).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-27 16:21:50 +00:00
wp_xxyyzz
6a91dfcf02 fpspreadsheet: Add missing "inherited" call to TsCellEdit.EditingDone method.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-27 16:15:23 +00:00
wp_xxyyzz
54fc098d03 fpspreadsheet: Write some more conditional formatting conditions to ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 10:40:36 +00:00
wp_xxyyzz
f8b9d39838 fpspreadsheet: Prepare for new release v1.12: Remove chart support. Set version number to 1.12. Update help files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-02 11:50:30 +00:00
wp_xxyyzz
085e3db4fe fpspreadsheet: Fix compilation with Laz trunk after removal of TCustomCombobox.ReadOnly property.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-05-13 05:40:13 +00:00
wp_xxyyzz
5cdb8c16c7 fpspreadsheet: Add TsWorksheetIndicator as new visual control. Donated by forum user "abcthing" (https://forum.lazarus.freepascal.org/index.php/topic,49312.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-15 22:19:20 +00:00
wp_xxyyzz
5def48c316 fpspreadsheet: Fix display of images inserted in WorksheetGrid under gtk as black areas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7331 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-11 12:34:46 +00:00
wp_xxyyzz
fa4f0c306e fpspreadsheet: Add Worksheet.TabColor support. Update biff8/ooxml/ods readers/writers for it. Add test case for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7326 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-02-10 15:23:30 +00:00
wp_xxyyzz
10a21f6ba9 fpspreadsheet: Add WorksheetGrid methods Show|HideRow|Col.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-27 20:42:54 +00:00
wp_xxyyzz
47c52465cb fpspreadsheet: Show page breaks in Worksheetgrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-26 16:29:13 +00:00
wp_xxyyzz
abe882b551 fpspreadsheet: Excel2003/XML fileformat now fully supports page breaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7070 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-24 08:23:38 +00:00
wp_xxyyzz
6fb1f76bc2 fpspreadsheet: Introduce enum field "Options" of TRow and TCol records to replace boolean "Hidden". Prepare for new "PageBreak" option.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7068 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-23 14:41:55 +00:00
wp_xxyyzz
47e9e05399 fpspreadsheet: Refactor dialects in formula parser.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-22 17:49:17 +00:00
wp_xxyyzz
de42ac0072 fpspreadsheet: Fix application of cell format to a cell range by TsNumberFormatAction.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7064 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-20 21:33:59 +00:00
wp_xxyyzz
e71408fc19 fpspreadsheet: Add worksheet option soAutoDetectCellType
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-20 10:21:39 +00:00
wp_xxyyzz
b472802603 fpspreadsheet: Support of some more features by Excel2003/XML reader. Display PrintRanges, repeated rows and columns by SpreadsheetInspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7042 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-16 15:41:29 +00:00
wp_xxyyzz
ffacd7bcca fpspreadsheet: Make TsSpreadsheetInspector support the new TsWorksheet.Index property.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-17 12:06:17 +00:00
wp_xxyyzz
dfa57b80e9 fpspreadsheet: Fix infinite loop in Worksheeet sorting when the sorted range contains an empty cell. Make Worksheetgrid.Sort public.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-20 10:13:39 +00:00
wp_xxyyzz
9369e4d3ef fpspreadsheet: Fix cells being pasted in grid from clipboard when worksheet is protected.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-13 20:21:33 +00:00
wp_xxyyzz
7faddb698f fpspreadsheet: Disable DEL key in worksheet grid when a cell is protected from being edited.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-13 08:59:45 +00:00
wp_xxyyzz
ae6b7cc7f1 fpspreadsheet: Enable/disable workbook notifications and formula recalculations in WorksheetGrid.BeginUpdate/EndUpdate. See https://forum.lazarus.freepascal.org/index.php/topic,44547.msg313254.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6825 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-05 11:32:48 +00:00
wp_xxyyzz
9a4752c2b3 fpspreadsheet: Fix compatibility of WorksheetGrid with Laz 1.8.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6823 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-02 10:36:20 +00:00
wp_xxyyzz
33d67ebcce fpspreadsheet: Add option to WorksheetGrid to show/hide formulas when AutoCalc is off (see https://forum.lazarus.freepascal.org/index.php/topic,44208.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6816 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-02-20 11:43:28 +00:00
wp_xxyyzz
07991acca5 fpspreadsheet: Read image hyperlinks for ODS (old format). Display image hyperlinks in TsSpreadsheetInspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6673 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-06 09:19:05 +00:00
wp_xxyyzz
119815fd39 fpspreadsheet: Make TsWorksheetGrid respect visibility of rows/columns by setting their width/height to zero.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6637 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-06 11:48:35 +00:00
wp_xxyyzz
8f9b01368d fpspreadsheet: Show hidden state of rows/columns in TsSpreadsheetInspector
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-06 09:41:40 +00:00
wp_xxyyzz
4ca04aed77 fpspreadsheet: Undo incidental change of fpsworksheetgrid in prev commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6633 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-06 07:19:26 +00:00
wp_xxyyzz
02787a6947 fpspreadsheet: Write row/column hidden flag to XLSX, BIFF8 and BIFF2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6632 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-09-05 23:04:49 +00:00
wp_xxyyzz
4f1ce39ac9 fpspreadsheet: Improved keyboard navigation in case of merged blocks. Requires Laz-trunk r58711 or later.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-16 13:49:34 +00:00
wp_xxyyzz
f5e6986eb7 fpspreadsheet: New behavior of DEL in WorksheetGrid: deletes only content, not format. Old behavior (delete everything) is CTRL+DEL now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-16 13:33:11 +00:00
wp_xxyyzz
f02c683315 fpspreadsheet: Add TsWorksheetGrid property "FixedColWidth" (https://forum.lazarus.freepascal.org/index.php/topic,42216.msg294518.html#msg294518).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-16 07:32:19 +00:00
wp_xxyyzz
e86f39a03c fpspreadsheet: Fix TsCellCombobox not showing a text for items not in list (https://forum.lazarus.freepascal.org/index.php/topic,42216.msg294319.html#msg294319, modified patch by Soner).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-14 15:26:19 +00:00
wp_xxyyzz
5d1ba18b74 fpspreadsheet: Fix minor bug in WorksheetGrid's row height calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 10:38:31 +00:00
wp_xxyyzz
089a63532a fpspreadsheet: Redo prev two commits in a more general way.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-08-11 08:24:08 +00:00
wp_xxyyzz
a52d81d804 fpspreadsheet: Fix captions and hints of spreadsheet actions not being changeable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-24 22:02:01 +00:00
wp_xxyyzz
8096d92b8f fpspreadsheet: Add option to define series labels in TsWorkbookChartSource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-22 13:58:46 +00:00
wp_xxyyzz
00c14b31a1 fpspreadsheet: Fix mis-named folders examples/visual/fpschart/workbookchartsource and .../worksheetchartsource to have the "deprecated" at the correct place.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-22 08:42:38 +00:00
wp_xxyyzz
8d26e4cf10 fpspreadsheet: Fix bugs in TsWorkbookTabControl related to hidden worksheets (clicking of tabs, renaming of tabs).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-13 12:50:57 +00:00
wp_xxyyzz
2e252ce658 fpspreadsheet: Add new TsWorkbookTabControl property ShowAllSheets (to be used to hide sheets marked as hidden).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-10 09:25:25 +00:00
wp_xxyyzz
4cdb95d86c fpspreadsheet: Set version to 1.11. Make default parameter of TsWorkbook.CopyWorksheetFrom non-default.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-09 17:27:22 +00:00
wp_xxyyzz
92f59fbfd1 fpspreadsheet: Prepare for release 1.10
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-06 16:15:51 +00:00
wp_xxyyzz
af5a127379 fpspreadsheet: Display formulas instead of empty cells in WorksheetGrid when AutoCalc is off
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-01 08:15:59 +00:00
wp_xxyyzz
d9488921a0 fpspreadsheet: Fix broken transfer of TsCellEdit content to the grid by clicking on the grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-26 20:39:34 +00:00