Commit Graph

1834 Commits

Author SHA1 Message Date
a0993874a1 fpspreadsheet: Add chm help for unit fpsCurrency. Refine some help texts in fpsUtils.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-22 22:35:12 +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
68da1ac936 fpspreadsheet: Add demo how to create a spreadsheet by means of TsWorksheetDataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-28 22:18:11 +00:00
83268bfd02 fpspreadsheet: Add TsWorksheetDataset.Flush to write a spreadsheet file to disk.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8100 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-28 22:15:10 +00:00
db6dc4b039 fpspreadsheet: Prevent adding field defs for unsupported field types.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8099 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-28 17:17:40 +00:00
37c1130a12 fpspreadsheet: Add dataset example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8097 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-24 21:30:14 +00:00
0fce0c2ddf fpspreadsheet: Add TDataset-descendant, TsWorksheetDataset, and related unit-tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8095 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-24 09:05:05 +00:00
4585269bdb Move unit tests into folder unit-tests/common
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8094 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-24 08:45:28 +00:00
c642795086 fpspreadsheet: Fix typo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-13 07:21:00 +00:00
26b0f4f5a1 fpspreadsheet: Cosmetic typo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8082 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-31 16:58:24 +00:00
dba75889aa fpspreadsheet: Clean up searching routines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-26 13:19:10 +00:00
ac50969b7f fpspreadsheet: Catch formula errors in ODS reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-08 16:18:51 +00:00
e9fc0f2a36 fpspreadsheet: Fix ods reader crashing when the file contains an embedded chart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8066 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-08 15:24:43 +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
a7913ef0a4 fpspreadsheet: Do not unmerge cells in Worksheet.EraseCell when parameter KeepFormat is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-03 09:59:51 +00:00
ffa59aca22 fpspreadsheet: Fix xlsx and ods writers using local format settings for writing floats in conditional formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-19 21:00:50 +00:00
45fb828427 fpspreadsheet: OOXML must write conditionalFormattings node before hyperlinks node (see forum https://forum.lazarus.freepascal.org/index.php/topic,54650.msg406200.html#msg406200).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-19 17:58:08 +00:00
b18474f986 fpspreadsheet: Remove comment about to do item regarding writing of conditional fonts in xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:43:34 +00:00
7959f69879 fpspreadsheet: Unified usage of color syntax in Excel xlsx files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8036 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:38:33 +00:00
639385a707 fpspreadsheet: Fix writing of conditional fonts to xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:24:52 +00:00
e66195efeb fpspreadsheet: Remove fix for Excel's Year-1900 problem because it creates new issues... (issue #38742).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-15 21:38:39 +00:00
1efc3bc6f2 fpspreadsheet: Fixing Year-1900 date/time issue in Excel files for fps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8032 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-15 17:23:04 +00:00
c50e2a4f0a fpspreadsheet: Fix "unknown fileformat" error in fpsspeedtest; add option to test 1 million of rows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-23 07:28:06 +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
5b0b5f8f6f fpspreadsheet: Add underscore character ('_') to the list of allowed identifier characters to get a decent error message when a worksheet contains one of the (unsupported) new Excel formulas beginning with this character. Issue #38762.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-16 15:26:35 +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
00c3bdb639 fpspreadsheet: Fix ignored-formula feature.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 13:40:42 +00:00
d4a2ee4773 fpspreadsheet: Add richtext demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 13:10:15 +00:00
1cc0c3b66c fpspreadsheet: Move hyperlinkdemo to "others" folder. Make sure that "other" demos write their output in the project directory.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7995 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 12:58:58 +00:00
78348da3ef fpspreadsheet: Add batch scripts to run all console demos automatically.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7994 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 12:19:42 +00:00
860fd3ffbb fpspreadsheet: Add project groups to quickly compile all demos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 11:06:28 +00:00
15c2735e6b fpspreadsheet: Fix writing attributes with quotes to Excel XML files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7992 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-15 09:19:52 +00:00
501e848dcb fpspreadsheet: Check (and fix) compilation of all demos. Reset debugger to "automatic".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-14 23:33:18 +00:00
93f080baa1 fpspreadsheet: Fix crash in worksheetgrid when fixed column is autosized with compiler checks ON.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7990 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-14 22:51:56 +00:00
2159bd73ce fpspreadsheet: Fix test suite failures with compiler checks ON.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7989 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-14 22:17:15 +00:00
87e8e3b80f fpspreadsheet: Fix search engine crashing when search string is empty. Patch by forum user russeld (https://forum.lazarus.freepascal.org/index.php/topic,54026.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-09 20:14:29 +00:00
8f8e736b98 fpspreadsheet: Use pasdoc for api chm file generation rather than Doc-O-Matic. Adapt source file comments to pasdoc requirements.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-27 23:16:48 +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
86498e70d8 fpspreadsheet: Fix ISODateTime conversions when local time offset is given
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7967 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-24 12:59:52 +00:00
6a50fa2a4a fpspreadsheet: Remove cell content type cctFormula, it is a left-over from old formula engine. It causes incorrect reading of precalculated content in the first shared formula cell of BIFF. Tests still ok. (https://forum.lazarus.freepascal.org/index.php/topic,52811.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-09 18:54:11 +00:00
438e967c42 FPSpreadsheet: Fix detection issues with incorrect html tags
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-30 22:19:47 +00:00
042fb0fcc2 fpspreadsheet: Fix incorrect html tags disappearing from cell text.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-29 21:17:29 +00:00
78a6cffca0 fpspreadsheet: Fix (?) display issue with text cells containing incorrect html parts (such as '<'), https://forum.lazarus.freepascal.org/index.php/topic,52694.0.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-29 18:51:33 +00:00
65188478a6 fpspreadsheet: Fix reading of text cells with type "inlineStr"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-20 22:35:10 +00:00