e8694bcc58
fpspreadsheet: Fix rounding error in saving column widths by TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 19:34:08 +00:00
912f9979e5
fpspreadsheet: Fix TsWorksheet ignoring the workbook's default font after loading a file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:29:14 +00:00
91e22cd724
* fpspreadsheet: db export: export from beginning of dataset. Some hardening.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3627 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:22:20 +00:00
6f14b93502
fpspreadsheet: Autoadjust column width and row height in TsWorksheetGrid by double-clicking at border between header cells; update demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:09:54 +00:00
5935c3c63e
* fpspreadsheet: cosmetic
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3625 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 09:00:35 +00:00
b4b0d78d52
* fpspreadsheet: cosmetic (comments)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3624 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 06:35:48 +00:00
f8c6435689
* fpspreadsheet: use buffered streams for performance
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3623 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 06:35:21 +00:00
d4547b864b
RxFPC:fix compile
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3622 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 03:37:28 +00:00
9af675837a
* fpspreadsheet: fpsexport: overwrite existing destination files.
...
Matches behaviour of other exporters like dbfexport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3621 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 12:22:48 +00:00
66a6f32eb3
RxFPC: Add Font property for RxDBGrid.Collumn.Footer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3620 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 11:12:42 +00:00
03960e3649
RxFPC: fix compile in lazarus 1.2.4
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 05:56:55 +00:00
3b69ec270c
RxFPC: code refactor on TRxMemDataset
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3618 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 05:09:31 +00:00
359f18e6a9
+ fpspreadsheet: dbexport unit and tests. Initial version.
...
Possible future improvements:
* graphical component in export tab
* using virtual mode in case large datasets are exported
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-01 12:04:08 +00:00
70eb27893d
* fpspreadsheet: cosmetic
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-01 12:02:49 +00:00
2f8c9089ad
fpspreadsheet: Fix speed issues in saving large files due to unnecessary calculation of col/row limits.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3615 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 22:18:46 +00:00
90e0cac035
* fpspreadsheet: resource file
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3614 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 12:00:04 +00:00
04907b25bb
* fpspreadsheet: typo
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 11:59:47 +00:00
5a79fc8458
RxFPC:TCurrencyEdit - full rewrite, now working
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3612 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 04:34:09 +00:00
5b4317a706
fpspreadsheet: Fix writing non-printable characters writing to xml-like formats (xlsx, ods, wikitable). Add test case to error tests. Improve syntaxhighlighter for wikitablemaker demo (still not perfect).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-29 22:27:03 +00:00
72a9ffc042
RxFPC: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for rx controls.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-29 07:02:18 +00:00
93a756c1cc
fpspreadsheet: add new demo "wikitablemaker" which implements an editor for wiki tables and shows the generated wiki code in a SynEdit.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-28 22:50:54 +00:00
055dc7e089
fpspreadsheet: Entering an empty string in an unformatted cell of the WorksheetGrid removes the cell from the worksheet. wiki writer takes stores font name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3608 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-27 22:46:21 +00:00
408d51b845
Fix CanDefocus with proper validations
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-27 15:36:35 +00:00
e9ae26952f
fpspreadsheet: Complete writing of all cell styles to wikitables (except for text rotation). Some cleanup of compiler warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-26 13:47:47 +00:00
5e4d7d4825
fpspreadsheet: Extend wikitables writer to write cell alignment, text color, borders and merged cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-25 15:48:44 +00:00
19281ec8af
fpspreadsheet: Fix incorrect cell background painting of text-overflown cells in TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-25 10:36:17 +00:00
dcbbb0c0a1
fpspreadsheet: Cells for which the OnWriteCellData event handler returns null are skipped in virtual mode if they don't carry a format.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-24 13:59:51 +00:00
55792a75f9
fpspreadsheet: In TsWorksheetGrid, fix a minor inaccuracy of cell text overflow due to ignoring constCellPadding value so far.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-24 12:45:59 +00:00
2d7b4fc3c6
fpspreadsheet: Extend "inspector" page in "spready" demo to show information on the selected worksheet of the loaded workbook.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3601 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-24 11:17:43 +00:00
cb05f8873a
fpspreadsheet: Fix speed loss introduced by merging of cells (-> speed-up of some unit tests)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3600 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 22:24:35 +00:00
1ed35f0eb1
fpspreadsheet: Raise an exception if virtual mode is used without an event handler to provide data. Some cosmetics.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3599 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 21:51:26 +00:00
15f7f52acd
fpspreadsheet: Extend insert/delete column/row test cases to sfOpenDocument. Pass.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 19:09:41 +00:00
c8d1d8eb74
fpspreadsheet: Make sure that all test units are added to the cli test suite.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 15:49:33 +00:00
cc7ea25f46
fpspreadsheet: Complete write/read unit tests for insert/delete of columns and rows in biff8 and ooxml files having merged cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 15:42:38 +00:00
5fd5231014
fpspreadsheet: Fix insert/delete column/row issues for shared formulas. Complete shared formula test cases on insert/delete columns and rows. Duplicate these test cases for OOXML. All passed.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-23 14:15:28 +00:00
0e97c6bec0
fpspreadsheet: Fix biff8 incorrectly reading non-contiguous shared formulas. Fix biff8 writing only contiguous shared formulas.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3594 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 13:35:19 +00:00
a69f0fbdbc
RxDBGrid - try fix error on filter records in table and calc sum in footer row
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 11:28:22 +00:00
04beab04d1
fpspreadsheet: Fix ODS reader's incorrect usage of cell borders in files written by Excel.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3589 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 11:15:55 +00:00
094bb314fc
fpspreadsheet: Read non-contiguous shared formulas correctly from OOXLM (BIFF8 still faulty)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 10:51:33 +00:00
d5a1be557d
fpspreadsheet: Trying to solve the "insert column / shared formula issue" - not fixed yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-21 21:47:08 +00:00
d796b836cd
fpspreadsheet: More cosmetics
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3585 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-21 16:50:56 +00:00
270a215261
fpspreadsheet: chm file - forgotten in previous commit
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3584 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-21 00:12:41 +00:00
b2888a8042
fpspreadsheet: Lots of cosmetics. Updated version of the chm help file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3583 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-21 00:10:31 +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
4ed3b47628
fpspreadsheet: Add test cases for insert/delete rows into worksheets containing formulas. Issues remaining when cells referred to by the formula are deleted. Add detection of error values to the formula scanner.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3581 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-19 14:22:18 +00:00
738daeb4f6
fpspreadsheet: Beginning with test cases for insert/delete of columns and rows.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3580 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-18 21:51:56 +00:00
bf38e66d78
fpspreadsheet: Add missing units to spreadtestcli test suite. Now 642 tests both in cli and gui versions.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-18 18:45:16 +00:00
abb2847886
fpspreadsheet: Some bug fixes related with inserting/deleting rows through merged cells/shared formula blocks. Still buggy...
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-18 16:01:45 +00:00
4f941218df
fpspreadsheet: Fix conversion of string to date/time raising an exception in case of invalid date/time strings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-18 11:58:51 +00:00
4ecfdd0ef4
RxDBGrid - try to fix infiniti loop on paint footer row whith RxDBGrid.Scrollbars<>ssBoth
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3576 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-18 10:50:52 +00:00