Commit Graph

47 Commits

Author SHA1 Message Date
wp_xxyyzz
35fecc8c8d FPSpreadsheet: Fix writing of meta data containing special xml characters (sourceforge issue #46)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-11-21 11:33:02 +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
c902c41997 fpspreadsheet: Add meta data reader for Excel XML.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 21:10:32 +00:00
wp_xxyyzz
ea91b7fca5 fpspreadsheet: Add metadata writer for Excel XML. Fix usage of UTC in the Excel metadata.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7580 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 17:57:32 +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
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
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
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
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
b54250ef50 fpspreadsheet: Avoid writing unnecessary row indexes to by Excel 2003/xml writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-08-13 23:00: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
aece082d53 fpspreadsheet: Read/write PageBreaks in xlsx format, write in Excel2003/xml format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7069 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-23 23:10:20 +00:00
wp_xxyyzz
cb76d86aff fpspreadsheet: Done - Excel2003/XML format passes all tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7058 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-19 22:42:59 +00:00
wp_xxyyzz
4fc6f4949a fpspreadsheet: Support virtual mode for Excel2003/XML format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7057 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-19 21:15:54 +00:00
wp_xxyyzz
658415ee23 fpspreadsheet: Fix font test fails for Excel 2003/XML file format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-19 20:28:42 +00:00
wp_xxyyzz
bd75fd6cfe fpspreadsheet: More bug fixes for Excel 2003/XML files, down to 9 test failures from 66.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-19 19:58:07 +00:00
wp_xxyyzz
7cabba34eb fpspreadsheet: Fix some missing page layout values not being written to Excel2003/XML files (not finished yet).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-18 22:43:54 +00:00
wp_xxyyzz
476d4d795a fpspreadsheet: Fix hyperlink tooltip not being written for Excel2003/XML format
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-18 21:53:58 +00:00
wp_xxyyzz
a9ba71c6f0 fpspreadsheet: Fix 3d formulas crashing when reading Excel2003/XML files because target sheets have not yet been loaded.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-18 21:38:01 +00:00
wp_xxyyzz
8e50105ca0 fpspreadsheet: Fix formula parser crashing with an R1C1 formula subtracting cells with a negative relative address.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7051 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-18 21:02:44 +00:00
wp_xxyyzz
3b0e46b92c fpspreadsheet: Fix Excel2003/XML format tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-18 15:58:16 +00:00
wp_xxyyzz
f534927e0e fpspreadsheet: Add test cases for Excel 2003/XML format. Not complete yet, some test failures.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7048 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-17 22:33:22 +00:00
wp_xxyyzz
900f88ccf2 fpspreadsheet: Avoid unnecessary "ss:index" attribute when writing Excel 2003/XML files. Minor refactoring of writer code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7045 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-17 19:16:34 +00:00
wp_xxyyzz
4b1c9b09d1 fpspreadsheet: Excel 2003/XML reader supports rich-text formatting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7044 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-17 17:22:43 +00:00
wp_xxyyzz
347c7328d1 fpspreadsheet: Fix localized AM/PM string appearing in time format strings (https://forum.lazarus.freepascal.org/index.php/topic,46069.msg327309.html#msg327309).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-16 22:11:00 +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
0051d96af6 fpspreadsheet: Read PageLayout/PrintSettings in Excel2003/XML files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7040 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-15 22:56:15 +00:00
wp_xxyyzz
18afbfdd84 fpspreadsheet: Excel2003/XML reader supports formulas now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-15 21:00:47 +00:00
wp_xxyyzz
a601573459 fpspreadsheet: Support comments and hyperlinks in Excel2003/XML reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-14 21:03:54 +00:00
wp_xxyyzz
5aff5d6d37 fpspreadsheet: Fix writing of RichText in Excel2003/XML format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7034 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-14 20:37:29 +00:00
wp_xxyyzz
73f87c6979 fpspreadsheet: Support merged cells in Excel 2003/xml reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-14 18:01:39 +00:00
wp_xxyyzz
2683b34e2f fpspreadsheet: Support column and row formats as well as column widths and row heights in Excel2003-xml reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7032 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-14 17:55:00 +00:00
wp_xxyyzz
3713bed892 fpspreadsheet: Style support in Excel2003-xml reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7031 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-14 14:59:32 +00:00
wp_xxyyzz
c05c5ff9eb fpspreadsheet: Add support for DefaultRowHeight and DefaultColumnWidth to Excel2003xml reader
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7030 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-13 22:13:45 +00:00
wp_xxyyzz
28fc3e19c4 fpspreadsheet: Support "ss:Data" nodes in Excell2003-xml reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7029 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-13 21:49:31 +00:00
wp_xxyyzz
b09e7d069b fpspreadsheet: Add basic Excel2003 xml reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7028 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-07-13 20:53:15 +00:00
wp_xxyyzz
d5e5df7485 fpspreadsheet: Rearrange units to better avoid circular unit references. General idea: no unit of the package must "use" fpspreadsheet.pas in the interface section.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6444 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-22 22:21:15 +00:00
wp_xxyyzz
0e4645f9bf fpspreadsheet: Check (and fix) compilation of all demo projects (changed handling of include files in fpc 3.0.4)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-18 11:42:22 +00:00
wp_xxyyzz
cc891712d0 fpspreadsheet: Introduce fpspreadsheet exceptions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-10-26 08:11:58 +00:00
wp_xxyyzz
4505fb76cd fpspreadsheet: Add writing support for cell, sheet and workbook protection in xls files (biff2, biff5, biff8), opendocument and Excel XML files. Not complete, yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5795 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-06 23:30:59 +00:00
wp_xxyyzz
3e6dd484f7 fpspreadsheet: Fix compilation issues when fpc version is changed: separate package units into different folders, incorporate code of fpsnumformatparser in unit fpsnumformat and code of fpsregfileformats in units fpsreaderwriter. Check and fix all demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-22 20:59:00 +00:00