Commit Graph

4713 Commits

Author SHA1 Message Date
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
82fe17f36f further simplifies the html circle example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3593 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 12:19:43 +00:00
fae7941b10 fpvviewer: Fixes token debug for sequential pages
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 12:09:57 +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
7df1352fd1 simplifies and normalizes the new html test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 11:28:02 +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
ccb7862c6b test file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-22 09:34:29 +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
c221431bad fpspreadsheet: Shame on me - forgot to add the new files fpsstrings.pas and fpsrpn.pas...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-17 17:55:28 +00:00
eaf9341498 RxMDI: fix AV on close not active child window
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-17 12:40:46 +00:00
95e03fe87e fpspreadsheet: Fix deletion of columns/rows of base of shared formula is removed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-17 12:39:37 +00:00
b22ab8deba fpspreadsheet: Move rpn stuff from fpspreadsheet.pas to a new unit fpsRPN.pas. Move translatable strings from fpspreadsheet.pas to a new unit fpsStrings.pas. Make sure that all demos still run in the new environment.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-17 08:38:31 +00:00
10ad6b7a1a fpspreadsheet: Delete columns and rows from Worksheet and WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-16 15:03:17 +00:00
eb4dbd80e5 fpspreadsheet: Modify demos to write compiled units to the common directory "lib" within the examples folder as far as possible.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-15 21:27:57 +00:00
e07e322170 fpspreadsheet: Redo internal structure of merged cells (use MergeBase cell instead of neighbor links).
Suppress TsWorksheetGrid painting of inner grid lines of merged cells.
Fix inserting columns and rows running through merged cells. 
Silence some warnings. 
Fix ods reading merged cells incorrectly.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-15 20:54:39 +00:00
b7abdabd0b RxDBGrid - fix calc title row height. Less compiler hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-15 11:27:14 +00:00
ce34aeb405 fpspreadsheet: Fix new TsWorksheetGrid crashing without workbook.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-15 07:33:55 +00:00
f15a3c8caa RxFPC: TDualListForm - enable mouse drag & drop
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-15 06:19:02 +00:00
23e81afe48 fpspreadsheet: Add variant of the fpsgrid demo which does not require installation of the laz_fpspreadsheet_visual package. Fix incorrect centering of text in merged cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-14 22:53:45 +00:00
a3ed071349 fpspreadsheet: Fix cell range selection issue in TsWorksheetGrid if grid is in edit mode. Fix ods reporting an error due to a worksheet with empty name. Fix some bugs added when introducing text overflow cells (frozen cells incorrectly painted, failure to determine row heights correctly)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-14 20:40:58 +00:00