988b80b4a4
fpspreadsheet: Add column width support (reading & writing) to biff2. Add column width test cases for BIFF2 and BIFF8 -> pass.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2964 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-24 23:05:00 +00:00
887b34383a
fpspreadsheet: Add font unit test for BIFF2. Currently fails. Need to investigate...
...
Fix occasional floating point conversion error in fpsopendocument because of non-initialized format settings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-24 22:31:01 +00:00
c174566e55
fpspreadsheet: Some refinements with color handling:
...
- Add some more colors to the default palette, remove the duplicate base colors
- Introduce type TsColorvalue for the rgb color values
- At init, automatically convert big-endian color values to little-endian
- Add TsWorkbook.SetColorValue to replace a palette color
- Add testing of random palette to colortests
- Add color test for BIFF2 (font only, because background color cannot be changed by design)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-24 21:27:57 +00:00
4d5521d38c
Tests: cosmetic: remove duplicate column number to letter translation code.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-24 09:25:31 +00:00
f69a47c902
fpspreadsheet: Add/complete color support for biff2 and biff8, reading and writing. Display colors in fpspreadsheetgrid.
...
Remove parameter AData in several methods of the readers/writers and replace it by FWorkbook passed at creation.
Add unit tests for font and color support. No issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-23 22:29:32 +00:00
c61e4418b7
fpspreadsheet: Add reading and writing of font support to biff8, biff2, and fpspreadsheetgrid. Font colors in biff2 not yet working. No test cases yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-22 23:10:32 +00:00
f7f1b0f12a
fpspreadsheet: Add support for empty cells to all BIFF formats (needed for formatting of empty cells).
...
Fix painting error of cell borders in fpspreadsheetgrid.
Add/complete reading/writing support for horizontal alignment, cell background and cell borders to BIFF2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-21 21:43:43 +00:00
4f85834153
fpspreadsheet: Restructure reader/writer declarations to have in "public" only methods needed by the application
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-21 11:30:22 +00:00
b8c1cf2961
fpspreadsheet: Add support for reading background colors in biff8 and fpspreadsheetgrid.
...
Add automatic test case for colors (fails since some colors are not yet written correctly, fails also for blank cells which are not yet read).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2956 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 21:51:12 +00:00
be497cb19e
fpspreadsheet: Add support for horizontal and vertical text alignment in cells for biff8 and fpspreadsheetgrid.
...
Fix failure to reckognize file format in case of uppercase filename.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 20:31:36 +00:00
313daa2eaf
fpspreadsheet: Complete prepared read/write support for cell wordwrap in biff8 and fpspreadsheetgrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 16:07:53 +00:00
f1fcd9f1f8
fpspreadsheet: Add reading support of row heights for biff2 and biff5
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 15:10:41 +00:00
8c90f30c66
fpspreadsheet: Add reading of row heights for biff8.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 14:57:23 +00:00
d617abccca
fpspreadsheet: Major re-write of fpspreadsheetgrid:
...
- persistent storage of workbook
- inherits from TCustomDrawGrid instead of from TCustomStringGrid
- use FixedRow/Col for row/column headers
- displays cell borders as read from the file
- uses column widths as read from the file (approximate only)
- numbers are right-aligned by default.
- demo extended to display worksheets in tabs
- some visual improvements of demo
- saving not yet working in demo
More to follow...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-19 19:29:13 +00:00
0f73aed718
fpspreadsheet: Implement reading of cell borders. Delete test.xls in examples/excel8demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-19 16:58:44 +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
36cc7d1f4e
fpspreadsheet: Add support for reading/writing of column widths in biff8 (specified as multiples of the width of the character "0"). Add test case. No regressions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 13:17:22 +00:00
99872da4e3
RxDBGrid - sort marker for custom sorting - patch from zoltanleo
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 11:43:18 +00:00
9ada7c687b
RxDateEdit - fix work with new ButtonEdit
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 11:20:04 +00:00
8b688de40b
fpspreadsheet: Fix crash when destroying columns and rows.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-17 20:59:00 +00:00
89942f1bd3
fpspreadsheet: Fix memory leak (ignored format string and dyn formula array when freeing cells)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-17 20:13:38 +00:00
1f84822607
fpspreadsheet / BiffExplorer: Add info on records COLINFO, COLWIDTH, NOTE, OBJ; some cosmetics in MainForm.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-17 17:36:43 +00:00
afcb50a0be
Cosmetic: document fekOpSUM cannot be used for ranges
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-17 12:25:40 +00:00
32f6b81a6d
fpspreadsheet: Add BiffExplorer, a testing and debugging tool for xls files, to folder "reference"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-13 10:58:41 +00:00
4f0c0e5bc4
RxDBGrid - minor fix for work without sort engine. tnx zoltanleo from freepascal.ru
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-09 18:19:30 +00:00
45cdc9ae23
RxFPC - fix compile with new TEditButton from Lazarus 1.3. For old version uncomment in rx.inc DEFINE OLD_EDITBUTTON
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-09 17:33:24 +00:00
f32fa5b568
* Tests: clarify background color test only applies to BIFF8 XLS
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2935 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-09 10:49:05 +00:00
38f1612dbf
* Fix inadvertent change BIFF8=>BIFF5 tests
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-08 10:27:50 +00:00
617ba13515
* Tests: fix not writing testmanual.xls
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-08 10:26:21 +00:00
435cc15729
* Replace XLSDEBUG define for writeln debug output to FPSPREADDEBUG as it is used beyond just xls support.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-08 09:53:02 +00:00
27498ff548
+ Add support for more/easier RPN formulas in XLS
...
- Allow relative cell references in RPN formulas
- Simplify generation of RPN formulas by using nested function calls
- Add writing of cell ranges for formulas in BIFF2/BIFF5
- Simplification of code e.g. by replacing the huge case instruction in TsSpreadBiffWriter.FormulaElementKindToExcelTokenID by a look-up table.
Fixes mantis issue #25718 ; patch by wp; thanks a lot!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-08 09:48:30 +00:00
b7eb5352c0
* Tests updated to work with current code (i.e. no new RPN support yet).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2930 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-08 09:33:13 +00:00
d8c10d8668
* Tests part of patch referenced issue 25718 (actual patch on forum) for RPN formulas. Thanks wp.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-07 16:42:19 +00:00
6f2c0baee5
RxDBGrid - fix partial search in find form
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-07 08:04:42 +00:00
c9266bbd58
RxDBGrid - fix compile with fpc 2.6.2
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-02 11:44:09 +00:00
fff0dd470f
RxDBGrid - fix compile with fpc 2.6.2
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2926 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-31 11:08:07 +00:00
cebbb30307
RxDBGrid: workaround for fix navigation problem on calc footer rows
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2925 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-27 12:36:50 +00:00
f95e48563a
* OpenDocument .ods: tweaked support for reading time only fields introduced in r2908: fixes for 1899/1900/1904 date mode. Still needs more tweaks for 1904 date mode (and presumably 1900 as well)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2924 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-26 10:26:43 +00:00
eacb01bf22
mplayer: updated readme
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2923 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-26 08:49:13 +00:00
b99be4d2ab
RxMemDS - remove old style resources designer file
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2922 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-26 07:26:10 +00:00
4fe58ed1e4
mplayer: fixed default mplayer filename, less hints
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-26 01:22:03 +00:00
23207df1a1
mplayer: updated readme
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-26 01:04:52 +00:00
3bbc720e3c
* Tests: avoid test errors for unimplemented custom format ODF cells
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-25 15:46:05 +00:00
78ec763d6a
* Forgot some files
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2918 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-25 15:45:10 +00:00
8faeace234
Cosmetic: better test reporting database
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-25 14:44:04 +00:00
f05f0eae12
mplayer: Changes for Microsoft Windows Compatibility and added Events for Mouse Actions, from Michael Koecher
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-24 18:31:49 +00:00
cc13dd5c5f
OpenDocument .ods:
...
* ignore invalid times
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-24 07:34:00 +00:00
7ae183a111
* Synchronize with main VTV repository up to svn rev 220
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2914 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-24 02:58:45 +00:00
70a2c2dc34
* Synchronize with main VTV repository up to svn rev 214
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-24 02:22:09 +00:00
8e35e741ad
* Synchronize with main VTV repository up to svn rev 212
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-03-24 02:16:05 +00:00