Commit Graph

7579 Commits

Author SHA1 Message Date
wp_xxyyzz
ed025ddea4 fpspreadsheet: Add ODS reader/writer for metadata.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 15:49:42 +00:00
wp_xxyyzz
dd3f0611a0 fpspreadsheet: Better names for some MetaData properties.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 14:28:33 +00:00
wp_xxyyzz
bbf4b2b092 fpspreadsheet: Add metadata support. Add metadata reader/writer for XLSX.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 12:34:50 +00:00
wp_xxyyzz
31e4100446 fpspreadsheet: Fix compilation of spreadtestgui with Laz < 2.2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7576 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-27 20:32:49 +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
866b232fa8 fpspreadsheet: Add some comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 21:43:23 +00:00
wp_xxyyzz
edfd9698ca fpspreadsheet: Typo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 21:39:38 +00:00
wp_xxyyzz
f3543bdda8 fpspreadsheet: Fix Excel XML writing of percent numberformat.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 21:39:01 +00:00
skalogryz
d8ab6b738e richmemo: fix font matching logic, preventing infinite loop. updating GetTextAttribute policy for cases when there's no text
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 17:50:22 +00:00
wp_xxyyzz
8f9163c3b8 fpspreadsheet: Refactor ODS styles writing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 16:53:10 +00:00
wp_xxyyzz
2f11c78071 fpspreadsheet: Clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 12:28:57 +00:00
wp_xxyyzz
cbfea142d0 fpspreadsheet: Refactor ODS number format writing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 12:25:06 +00:00
wp_xxyyzz
390c7b935a fpspreadsheet: Fix XLSX reader for conditional number format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 12:20:59 +00:00
wp_xxyyzz
4fc0ea6045 fpspreadsheet: Add proper log error message when XLSX writer tries to write a conditional font format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 10:09:04 +00:00
wp_xxyyzz
f53c6649f5 fpspreadsheet: Put conditional font handling in place for XLSX writer. Commented out, however, because Excel refuses to load such files (although syntactially correct).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 09:56:24 +00:00
wp_xxyyzz
ee32147ee4 fpspreadsheet: More conservative handling of conditional font formatting by the ODS writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-26 09:53:26 +00:00
wp_xxyyzz
ea07a82dbf fpspreadsheet: Fix CF background test case for ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-24 20:54:10 +00:00
wp_xxyyzz
5a5883a156 fpspreadsheet: Refactor ODS style reading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-24 15:21:23 +00:00
wp_xxyyzz
175cf1f290 fpspreadsheet: Refactor ODS style reading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-24 15:00:01 +00:00
wp_xxyyzz
16ba7692c2 fpspreadsheet: Refactor style reading in ODS reader
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-24 14:45:30 +00:00
wp_xxyyzz
e191dd00e5 fpspreadsheet: Support conditional icon set format in worksheet, and in XLSX and ODS file access. Add unit tests for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-23 22:25:24 +00:00
alexs75
481e50d840 RxFPC:fix mouse drag listbox items in dual list dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7557 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-23 06:22:09 +00:00
wp_xxyyzz
64b69c2893 fpspreadsheet: Fix compilation issue due to stupid 64-bit fpc not being able to pick correct overload of MinValue. Less hints on 64 bit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-22 17:55:17 +00:00
wp_xxyyzz
901b92fa72 fpspreadsheet: Some clean-up: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-22 09:07:59 +00:00
wp_xxyyzz
d0fe6490d8 fpspreadsheet: ODS reader supports conditional DataBar format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-21 21:34:39 +00:00
wp_xxyyzz
43b9050b3b fpspreadsheet: ODS reader supports conditional ColorRange format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7553 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-21 21:12:39 +00:00
wp_xxyyzz
faf6f72ab8 fpspreadsheet: Rearrange ODS reading code for conditional formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-21 17:53:20 +00:00
wp_xxyyzz
7b2c2c3d4c TParadoxDataset: Set version number to 0.2.1 for OPM.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-19 22:12:55 +00:00
wp_xxyyzz
acb49d9590 fpspreadsheet: Add Excel XML reading support for missing cell-based conditional formats. Fix lost "max compatibility" flag of packages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-18 15:57:19 +00:00
wp_xxyyzz
2793744bf7 fpspreadsheet: Add reading and writing support for conditional formats in Excel XML files (not yet complete).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-17 19:50:40 +00:00
wp_xxyyzz
6aa2860020 fpspreadsheet: Split more code off of fpspreadsheet.pas to separate include files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-16 23:40:11 +00:00
wp_xxyyzz
1339faac5a fpspreadsheet: Fix inconsistencies in test suite introduced by FPC 3.2.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-16 20:47:01 +00:00
wp_xxyyzz
52e4cccf80 fpspreadsheet: XLSX reader supports expression conditional format. Add test case for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-16 20:46:21 +00:00
wp_xxyyzz
c8a4e5bf9f fpspreadsheet: Split cell format code off into separate include file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7545 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 21:17:33 +00:00
wp_xxyyzz
a3e2c6c8a3 fpspreadsheet: Facilitate using cell borders and cell border styles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 21:03:54 +00:00
wp_xxyyzz
001fc5ecce fpspreadsheet: Remove expression error in CF demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 17:05:12 +00:00
wp_xxyyzz
0e392dfcaa fpspreadsheet: Add exception handling for CF expressions writing to the workbook's error log.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 17:00:21 +00:00
wp_xxyyzz
269c684533 fpspreadsheet: Support expression conditional cell formatting by XLSX, Excel-XML and ODS writers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 16:39:05 +00:00
wp_xxyyzz
4a9dced270 rxnew: Set "Maximize compatibility of package file" in package option to make the package usable in all Laz versions before 2.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-13 09:37:22 +00:00
wp_xxyyzz
0d868c09da LazStats: Fix crash in ANOVA due to Format() argument type error.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-12 09:17:02 +00:00
wp_xxyyzz
9ee2e2202f fpspreadsheet: Add unit test for ColorRange and DataBars conditional formatting (xlsx only, so far).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-11 15:57:18 +00:00
wp_xxyyzz
da18ee1785 richmemo: Check "max compatibility" flag for designtime package. Remove obsolete .lrs file from runtime package file list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-11 14:56:03 +00:00
wp_xxyyzz
d26c738b03 jvcllaz: Check and fix compilation and examples for Laz 2.0.10/FPC 3.2.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-10 18:11:22 +00:00
wp_xxyyzz
d3b5ba9322 LazStats: Refactoring away some GOTOs in unit FunctionsLib.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7535 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-10 13:11:56 +00:00
wp_xxyyzz
8db8946955 fpspreadsheet: Add format check to CF unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7534 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-09 17:22:24 +00:00
wp_xxyyzz
222e4fc640 spktoolbar: Fix not being able to control caption color of checked buttons by Appearance Editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-09 16:29:57 +00:00
wp_xxyyzz
e14818039f fpspreadsheet: Add more conditional formatting unit tests covering all conditions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-09 11:04:37 +00:00
wp_xxyyzz
b4154727a1 fpspreadsheet: Add a few test cases for conditional formatting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-08 22:01:09 +00:00
wp_xxyyzz
178e0e9214 fpspreadsheet: CopyWorksheetFrom now copies also the DefaultRowHeight. Remove deprecated properties DefaultRowHeight and DefaultColWidth (the corresponding Read/Write procedures must be used instead).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-08 20:06:56 +00:00