62355e2d51
fpspreadsheet: Re-do rich-text format (easier, less code). Fix rich-text issues with utf8 characters.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-08 16:23:49 +00:00
a838fe2707
fpspreadsheet: A bunch of updates have run up...
...
- Activate ReadFromStream from xls5/8, xlsx, and ods readers (issue #0028389 )
- Fix ods using correct hyperlink font
- Rich text formatting runs for xls5/8, xlsx, ods (both reading and writing)
- BIFFExplorer: show details of rich-text formatting runs for SST and RSTRING records
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-26 12:40:51 +00:00
80738eec17
fpspreadsheet: Implement drag and drop of file to biffexplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-04 15:31:20 +00:00
54e0dc8d6f
fpspreadsheet: Avoid BIFFExplorer crashing in case of a biff8 SST record requiring a CONTINUE record.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-04 15:12:34 +00:00
ccf0fa6a51
fpspreadsheet: Improved syntax for mixed fraction formatting strings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4074 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-31 20:15:04 +00:00
b45156a654
fpspreadsheet: Write hyperlinks to xls files (BIFF8 only, feature not supported by others)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-27 20:23:26 +00:00
3d3c0e766f
fpspreadsheet: Extend BIFFExplorer to show details on hyperlink and hyperlink tooltip records in BIFF8.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-18 17:33:52 +00:00
8e7a3b741a
fpspreadsheet: Add unit xlsEscher for writing Microsoft Office shapes needed for cell comments in BIFF8. Writing of comments not yet working. Lots of additions to BIFFExplorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-14 22:27:49 +00:00
e50643cc13
fpspreadsheet: More details on comment-related BIFF8 records in BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 23:33:57 +00:00
38e4cf0e0b
fpspreadsheet: Fix utf8 conversion issue of BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3926 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 19:55:55 +00:00
ac387f67e4
fpspreadsheet: Improve codepage handling for biff2 and biff2 files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3924 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 18:15:19 +00:00
5808947710
fpspreadsheet: Show details of TXO record in BIFF explorer (needed for cell comments)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:23:41 +00:00
f4bf29da87
fpspreadsheet: Further improvement of file format detection. Use it in BIFFExplorer as well.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:39:01 +00:00
133bf09eb4
fpspreadsheet: Massive reconstruction: remove formatting attributes of TCell record and collect in TCellFormatList. TCell only has index into this list. Introduce record helpers to keep the old syntax. Reduction of memory consumption per cell by 50%.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-23 21:54:23 +00:00
9f014b6875
fpspreadsheet: Add reading/writing of boolean cell values for BIFF formats.
...
Add test case for boolean cell values for all formats (incl. CSV).
Extend spready demo to be able to write sfExcel2 and sfExcel5 formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3656 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-14 21:44:00 +00:00
a4c5667dc9
fpspreadsheet: Reading/writing of boolean cell values for all file formats (BIFF not complete, yet).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3655 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-14 15:56:08 +00:00
c3f65eac18
fpspreadsheet: Use fmShareDenyNone when opening files for reading (see Mantis 0026826).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3636 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-07 14:02:11 +00:00
b43fb99608
fpspreadsheet: Fix reading/writing of cell error values in biff. Insert/delete unit tests with formulas are correct now. Fix crash in BIFFExplorer related to reading of formulas.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-19 19:44:35 +00:00
02a3b17e6e
fpspreadsheet: Show info on Merge cell option in XF record by BIFF explorer. Trying to improve with of color box in spready.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-12 15:16:46 +00:00
b7efe2f644
fpspreadsheet: Show details on MERGECELLS records in BIFF Explorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-10 15:26:54 +00:00
d202dc7917
fpspreadsheet: Show details on STANDARDWIDTH and GCW records in BIFF explorer; improved mouse wheel handling in BIFF explorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-09 13:19:30 +00:00
cfb50bf064
fpspreadsheet: Read default column width and row height from biff and ooxml files
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-09 11:42:20 +00:00
c03833de40
fpspreadsheet: Add some more formulas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-01 22:37:14 +00:00
c87afdcdec
fpspreadsheet: Redo handling for formulas:
...
- Allow processing of string formulas (conversion to/from rpn formulas, calculation).
- Drop cell ContentType cctRPNFormula.
- Drop field RPNFormulaValue of TCell record.
- Remove all fekXXXX declarations for sheet functions. Function is specified by name now.
- Complete registration mechanism for user-defined formulas.
Adapt all demos
Test cases working
This commit does not yet support: shared formulas, formulas in ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3506 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-30 18:03:22 +00:00
6fa634e0a2
fpspreadsheet: Extend BIFFExplorer to display Rich-Text information attached to wide strings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-29 15:02:00 +00:00
f2338f41bb
fpspreadsheet: Functional writing support for shared formulas in BIFF5 and BIFF8.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3492 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-18 09:16:24 +00:00
72ee090ef3
fpspreadsheet: Fix absolute/relative cell reference issues when reading shared formulas. Update BIFFExplorer for shared formulas. Implement reading of shared formulas for biff5 (nothing to be done for biff2 which does not support shared formulas).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3490 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-16 23:01:32 +00:00
04e41843a2
fpspreadsheet: Show details on shared formulas in BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-14 22:18:04 +00:00
17a6cb61da
fpspreadsheet: Add more details on DEFINEDNAME record to BIFFExplorer; add details on EXTERN* records; fix compilation issue with TIpHTMLPanel.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3483 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-14 15:47:13 +00:00
826a3e4b20
fpspreadsheet: Expand (some) details on DEFINEDNAME record in BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-13 22:54:56 +00:00
03b690d834
fpspreadsheet: Fix floating point formula tests cases to give matching results even without tolerance value. Fix BIFFExplorer to show all digits of floating point cell values.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3343 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-19 23:14:53 +00:00
c82e915262
fpspreadsheet: Fix remaining utf8 issues when reading/writing rpn string formulas. Fix BIFFExplorer issues when displaying biff2 formulas. Excel complains about data loss when reading a biff2 file containing a calculated formula having a string result - not fixed yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-02 11:51:59 +00:00
421fb86dcf
fpspreadsheet: Improved display of formula result details in BIFFExplorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3240 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-25 14:05:07 +00:00
33924c97bd
fpspreadsheet: compile fix for BIFFExplorer: Excel3 & Excel4 no longer supported
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-25 12:44:02 +00:00
9eefbdaa06
fpspreadsheet: Fix bug 0026386 (in Excel, all sheets must be "active" and "selected"). New chm help file. Fix some issues with spready and fpsgrid due to range check errors. BiffExplorer shows detail info on SHEETPR record.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 22:47:15 +00:00
3e8926080b
fpspreadsheet: Add description of PAGESETUP record to BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 15:12:31 +00:00
e79bc4bb09
fpspreadsheet: Add option to BIFFExplorer to dump main info on biff records (record id, description) to a text file
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 13:58:14 +00:00
81ca0a4e41
fpspreadsheet: Fix handling of cell ranges in formulas by BIFF Explorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-24 17:41:56 +00:00
aad3342021
fpspreadsheet: Add info on DBCELL record to BIFFExplorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-23 16:22:47 +00:00
a66603ab66
fpspreadsheet: Fix crash of BIFF Explorer when viewing RK records with negative numbers. Add info page for IXFE record (BIFF2 only). Fix info page for COLWIDTH records (BIFF2).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3081 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-22 22:13:23 +00:00
ec0d54a269
fpspreadsheet: Improved/added info on RK/MULRK records in BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 17:46:28 +00:00
407b2f1288
fpspreadsheet: Show details for MULBLANK records in BIFF explorer. Fix UTF8 filename issues.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-09 22:24:57 +00:00
f0928db9f5
fpspreadsheet: Row heights now can be saved to all biff versions. Add unit test case for row heights, ok. Bug fixed in BIFFExplorer with format detection.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3019 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 18:31:27 +00:00
17fa884bcd
fpspreadsheet: Fix endless loop in BIFFExplorer reading some files. Add info on FONTCOLOR record. Improve info on BOF record.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-06 19:19:49 +00:00
2b601f687c
fpspreadsheet: Write SELECTION records (but does not fix BIFF2 frozen col/row issue). Fix issue of BIFFExplorer with BIFF2 PANE records.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3011 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-05 23:05:08 +00:00
482eac242a
fpspreadsheet: Add support for frozen panes in BIFF5/BIFF8 (BIFF2 not working at the moment), fpSpreadsheetGrid, and BIFFExplorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-04 18:07:54 +00:00
1676d31702
fpspreadsheet: Add date/time reading/writing support to BIFF2 and the corresponding "write-read" unit test cases. Passed.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-02 18:49:05 +00:00
5325f81daf
fpspreadsheet: Add some more record descriptions to BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-02 14:55:23 +00:00
adf4df6ea1
fpspreadsheet: Fix failure of reading BIFF5 files in BIFFExplorer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-25 22:17:40 +00:00
41f72fef58
fpspreadsheet: Fix some range-overflows in BIFFExplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2949 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 17:05:04 +00:00