|
8b3b74de88
|
fpspreadsheet: Add formula MATCH. Improved error detection on math formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-12-24 23:02:52 +00:00 |
|
|
74f61771c9
|
fpspreadsheet: Fix reading of repeated columns from ODS files (introduced by r6636).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-09-11 21:24:51 +00:00 |
|
|
af0d61f36d
|
fpspreadsheet: Fix formula mismatch in test suite.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-09-11 20:51:02 +00:00 |
|
|
5da4eef21a
|
fpspreadsheet: Add unit tests related to hidden cols/rows. Rename unit insertdeletetests to colrowtests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-09-11 08:29:55 +00:00 |
|
|
1b83ede288
|
fpspreadsheet: Additional IF test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-09-10 22:13:33 +00:00 |
|
|
6e2cc3fe7e
|
fpspreadsheet: Fix reading of ods files containing formulas with several arguments (separator semicolon). Update unit tests. (Still issues with files posted at https://forum.lazarus.freepascal.org/index.php/topic,42168.msg293792.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-08-09 14:28:17 +00:00 |
|
|
d71884f3e2
|
fpspreadsheet: Improve prev commit. Fix math formulas with non-numeric strings not returning result #VALUE! Add unit tests for this.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-08-05 13:35:25 +00:00 |
|
|
df88d02952
|
fpspreadsheet: Improved autodetection of file format (e.g. xls files renamed to xlsx - see https://forum.lazarus.freepascal.org/index.php/topic,41830.msg291032.html). Add corresponding test cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-07-10 08:32:50 +00:00 |
|
|
b9979977f6
|
fpspreadsheet: Fix entering new data in existing formula not erasing formula. Add corresponding unit test cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6545 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-07-05 12:51:54 +00:00 |
|
|
03d8694142
|
fpspreadsheet: Add unit tests for some of the recently fixed formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-06-26 23:08:01 +00:00 |
|
|
4517d6fc12
|
fpspreadsheet: Fix sudden fails of test suite (Why did these test cases work earlier?)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-06-05 09:33:29 +00:00 |
|
|
6c19ca21cb
|
fpspreadsheet: Fix crash when referenced worksheet does not exist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-06-03 11:07:42 +00:00 |
|
|
79f14f6143
|
fpspreadsheet: Fix 3d formulas when worksheets are renamed or deleted. Add corresponding test cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-06-01 17:58:14 +00:00 |
|
|
40fabfc201
|
fpspreadsheet: Redo storage of formulas: formulas now are stored in a separate tree independent of the cells tree. The field FormulaValue of TCell record was removed. All unit tests passed. Demos updated (issues of speedtest due to SST in BIFF8 found - not related).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-30 22:15:07 +00:00 |
|
|
fd2a79771a
|
fpspreadsheet: Update cell flag cf3dFormula after parsing of a formula.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-16 22:31:30 +00:00 |
|
|
b94ba1fac6
|
fpspreadsheet: Simplify handling of 3d references. Fix bug related to 3d reference type 'Sheet1:Sheet2!A1'.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-16 17:44:02 +00:00 |
|
|
613c96821c
|
fpspreadsheet: Ignore the order of indexes in cell ranges when parsing formulas. Add corresponding unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6420 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-16 08:45:28 +00:00 |
|
|
4ab667eb30
|
fpspreadsheet: Fix PageLayout. Separate BIFF5 and BIFF8 handling of 3d references.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-15 07:37:50 +00:00 |
|
|
eaf489ce44
|
fpspreadsheet: Multiple-sheet 3d references (Sheet1:Sheet3!A1:B3) working for xls, xlsx and ods readers and writers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6410 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-14 08:12:31 +00:00 |
|
|
28d6da64fc
|
fpspreadsheet: Fix cell ranges in ods formula parser. --> 3d single-sheet references (Sheet1!A1;B4) working for all ODS now for both reading and writing. PageLayout broken for BIFF5 at the moment.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6409 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-13 23:09:18 +00:00 |
|
|
d2351b5559
|
fpspreadsheet: Fix 3d cell references with a single other sheet (Sheet1!A1:C3), except for ODS. 3d references with several sheets prepared (not tested yet). Some more unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6408 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-13 10:15:13 +00:00 |
|
|
e98bda1717
|
fpspreadsheet: Add BIFF5 writer for 3d references. Add corresponding unit test. Some related bug fixes. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-10 14:31:37 +00:00 |
|
|
bfb8cff66e
|
fpspreadsheet/formulas with 3d references: sfExcel8 can read them now. Several bug fixes (e.g. '=Sheet1!A1' was not working). Add testcases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-05-09 17:07:59 +00:00 |
|
|
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 |
|
|
24153116a4
|
fpspreadsheet: Fix reading/writing of milliseconds. Add corresponding test cases. (NOTE: ods cannot display tenths of a second).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-03-07 22:35:19 +00:00 |
|
|
f78d780b5f
|
fpspreadsheet: Allow number formats with no leading digits. Add corresponding unit test cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-02-28 12:14:19 +00:00 |
|
|
022b837553
|
fpspreadsheet: Fix error in Round function. Add a second unit test for Round.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2018-02-27 22:21:49 +00:00 |
|
|
a8743226b7
|
fpspreadsheet: Add unit tests for HTML-to-RichText conversion (and vice versa).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-11-14 22:57:11 +00:00 |
|
|
515e7437e5
|
fpspreadsheet: Fix number format test case. Now all tests are passed again.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-11-06 08:35:25 +00:00 |
|
|
9b8e818c3c
|
fpspreadsheet: Fix max string length test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-11-03 21:04:07 +00:00 |
|
|
0310e5587e
|
fpspreadsheet: Write biff8 text cells to shared-string-table to overcome string truncation at 255 characters.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-11-03 13:39:12 +00:00 |
|
|
685581a8da
|
fpspreadsheet: Fix WorksheetGrid event OnSelectCell not firing any more. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-05-27 16:43:27 +00:00 |
|
|
078274920d
|
fpspreadsheet: Fill unused BIFF5 and BIFF8 palette entries by default colors to avoid Excel XP show an incomplete color dialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-05-18 10:50:22 +00:00 |
|
|
5c409068c2
|
fpspreadsheet: Fix conversion of biff palette colors for fonts in reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5860 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-05-17 21:43:30 +00:00 |
|
|
e1f03daa5c
|
fpspreadsheet: Fix biff format writing non-editable palette indexes to file (Excel cannot edit the cells any more - see http://forum.lazarus.freepascal.org/index.php/topic,36903.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-05-17 17:26:48 +00:00 |
|
|
a4457a850e
|
fpspreadsheet: Add writing support for xls password hashes. Add test case for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5799 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-07 22:02:09 +00:00 |
|
|
d81738d19c
|
fpspreadsheet: Complete ods writer for cell/sheet/document protection -- but ods has a so-far unsupported option to hide cell content, not just formulas ("hidden-and-protected")...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-07 10:13:18 +00:00 |
|
|
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 |
|
|
f4779f63f7
|
fpspreadsheet: Add missing unit protectiontests.pas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-05 10:54:28 +00:00 |
|
|
b3110a90cc
|
fpspreadsheet: Add support of workbook, worksheet, and cell protection for xlsx (modified patch by shobits1, see http://forum.lazarus.freepascal.org/index.php/topic,36075.0.html). Add protection unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5783 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-04 21:29:12 +00:00 |
|
|
46863f2097
|
fpspreadsheet: Fix numberformat fails in csv unit tests. A tests passed now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5779 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-02 12:17:32 +00:00 |
|
|
b9cbc1b174
|
fpspreadsheet: Fix csv unit test fails of some date/time values.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-02 11:18:27 +00:00 |
|
|
80f4f07a18
|
fpspreadsheet: Add unit tests for hidden worksheets.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5776 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-03-01 20:16:47 +00:00 |
|
|
f85d2543ba
|
fpspreadsheet: Make sure that all demos are compiled with -Xg
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2017-02-20 17:21:56 +00:00 |
|
|
5d1c8de578
|
fpspreadsheet: Fix unit reference error in spreadtestgui.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2016-11-06 08:36:37 +00:00 |
|
|
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 |
|
|
cacfb22337
|
fpspreadsheet: Ignore filler columns added by Calc when reading an Excel file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2016-10-19 09:31:06 +00:00 |
|
|
d570c75403
|
fpspreadsheet: Massive refactoring of ods cell and row writing. ods can write column and row formats now. Fix unit tests (100% ok).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5265 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2016-10-18 16:42:24 +00:00 |
|
|
c3ee25b99e
|
fpspreadsheet: Write row format to xlsx. Update colwidth test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2016-10-09 21:19:19 +00:00 |
|
|
863be778f9
|
fpspreadsheet: Add row height type to row record to distinguish custom from auto-calculated row heights. Add grid property AutoCalcRowHeights to use pre-calculated row height instead of always automatically recalculating row heights.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2016-10-01 12:20:18 +00:00 |
|