Commit Graph

96 Commits

Author SHA1 Message Date
wp_xxyyzz
b977a4e676 fpspreadsheet: Fix typo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7593 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-31 15:12:49 +00:00
wp_xxyyzz
1b146107ad fpspreadsheet: Allow multiple authors in metadata.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-30 21:50:35 +00:00
wp_xxyyzz
7c09abbb51 fpspreadsheet: Add custom meta data support. Reading/writing for XLSX, Excel XML, ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 22:51:39 +00:00
wp_xxyyzz
3959cbbe45 fpspreadsheet: Add new metadata item "subject"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 21:11:36 +00:00
wp_xxyyzz
9d7457ccd4 fpspreadsheet: Add, with r/w support, conditional date formats cfcLastYear, cfcThisYear, cfcNextYear.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 17:41:00 +00:00
wp_xxyyzz
aebb067738 fpsprreadsheet: Add conditional date formats, read/write support for XLSX, ODS, ExcelXML. Add unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 16:55:45 +00:00
wp_xxyyzz
7015c9fa8c fpspreadsheet: Fix usage of UTC in ODS meta data.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7581 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 18:01:17 +00:00
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
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
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
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
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
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
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
80a3750dbd fpspreadsheet: Fix test suite crashing due to changes in ODS writer. All green again.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7528 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-08 16:59:42 +00:00
wp_xxyyzz
57fc4d5095 fpspreadsheet: Complete of conditional formatting from xlsx. Untested.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7527 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-07 21:48:03 +00:00
wp_xxyyzz
3189f58ee5 fpspreadsheet: Camelcase some unit names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7525 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-04 10:32:38 +00:00
wp_xxyyzz
6b3a74ea33 fpspreadsheet: Write conditional formats to ExcelXML files (Office 2003)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7522 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 22:36:59 +00:00
wp_xxyyzz
9bfeddaaf5 fpspreadsheet: Add writing of databar conditional formatting to XLSX and fix it for ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 13:35:01 +00:00
wp_xxyyzz
f3437814bf fpspreadsheet: Add writing of color range conditional formatting to XLSX. Support 2-color mode in color ranges.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 10:53:42 +00:00
wp_xxyyzz
006ca0de49 fpspreadsheet: Complete writing of color range conditional formatting to ODS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 09:56:11 +00:00
wp_xxyyzz
68f2d8718d fpspreadsheet: Elemental DataBars and ColorRange formatting for ODS writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 22:15:30 +00:00
wp_xxyyzz
28e834c330 fpspreadsheet: Avoid writing duplicate code for fixed and conditional formats to ODS file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 21:16:53 +00:00
wp_xxyyzz
efa8009d96 fpspreadsheet: Avoid writing duplicate conditional formatting styles to "styles.xml" of ods file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 16:08:11 +00:00
wp_xxyyzz
7f80fea142 fpspreadsheet: Support font as conditional formatting style (so far, ODS writer only)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 15:58:30 +00:00
wp_xxyyzz
724cd6ba30 fpspreadsheet: Fix usage of cell references and formulas in conditional formatting by ods and xlsx writers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 15:35:48 +00:00
wp_xxyyzz
474ce859da fpspreadsheet: Activate missing conditional formatting conditions in ODS writer (a few issues left)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 13:59:21 +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
1845d0fd8d fpspreadsheet: Some progress in writing conditional formatting to ODS files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7506 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-30 23:04:52 +00:00
wp_xxyyzz
aff774ebc9 fpspreadsheet: Add writing of conditional formats to ODS (only cfcEqual condition, so far).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-30 10:46:07 +00:00
wp_xxyyzz
5457aab56b fpspreadsheet: Fix endless loop (seen on Linux) when loading an ods file with embedded images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7330 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-07 20:04:16 +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
535ad46df3 fpspreadsheet: Fix colwidth issue causing the reader's FixCols to delete all col records.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-31 20:46:07 +00:00
wp_xxyyzz
a66ccaf563 fpspreadsheet: Fix remaining pagebreak fails of ODS reader. All tests passed now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-27 16:19:41 +00:00
wp_xxyyzz
ad4c29b027 fpspreadsheet: Add writing support of page breaks to ODS format. Related ODS tests still failing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-24 23:08:19 +00:00
wp_xxyyzz
014941827c fpspreadsheet: Add reading support of page breaks to ODS format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7072 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-24 17:10:33 +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
495fcb92eb fpspreadsheet: Redo automatic file format detection: Add method CheckFileFormat to each reader for overriding (check file header or whatever).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-18 13:08:58 +00:00
wp_xxyyzz
27d77fe114 fpspreadsheet: Make file readers/writers raise EFpSpreadsheetReader/EFpSpreadsheetWriter exceptions instead of EFpSpreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-18 09:44:46 +00:00