Commit Graph

1969 Commits

Author SHA1 Message Date
5718a5c120 fpspreadsheet: Some more extreme test cases for column name bug (#26447)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 09:17:31 +00:00
0b6819fe83 fpspreadsheet: Some more rpn functions calculated (info, lookup/reference category)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 09:03:49 +00:00
fb2b3159ea fpspreadsheet:
- test for bug 26447: fpspreadsheet columns >26 wrong with ooxml (patch) as fixed in r3273
- fix typo in documentation rfRow=>rfRelRow
- cosmetic changes



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3276 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 08:48:12 +00:00
78af234614 fpspreadsheet: Implement calculation of COUNTBLANK formula. Some formatting cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-03 21:04:58 +00:00
20645fb0c4 fpspreadsheet: Fix calculation of cells destroying number formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3274 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-03 19:28:42 +00:00
81ff33e7d6 fpspreadsheet: Fix incorrect column names left in ooxml format (issue #0026447)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3273 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-03 16:12:43 +00:00
359ddca7b8 fpspreadsheet: Support cell ranges in calculation of rpn formulas. Tune fpfunc unit. Update test cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3272 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-03 15:38:15 +00:00
4741c857a8 fpspreadsheet: Introduce recursive calculation of cells depending on non-yet calculated cells. Add demo "test_recursive" in folder "other".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3271 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-03 08:52:12 +00:00
b15721dd9b fpspreadsheet: Allow to register user-provided functions for calculation of rpn formulas for which fpspreadsheet does not have a built-in calculation method (example: financial functions). Add example "test_formula_func" in folder "other".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3270 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-02 22:03:03 +00:00
4bd85f70fd fpspreadsheet: Overload methods FindCell and GetCell to TsWorksheet to accept an Excel "A1" address string. Update chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-02 19:38:21 +00:00
8a41c46316 fpspreadsheet: Fix compilation issues introduced in last commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-02 19:25:37 +00:00
2f338a50a8 fpspreadsheet: Beginning to add cells to calculation of rpn formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3267 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-02 15:14:58 +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
9dc234ae22 fpspreadsheet: Unified writing code for rpn formulas. Calculation results of rpn formulas are now stored correctly for all biff versions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3265 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 22:47:10 +00:00
b76ff60882 fpspreadsheet: Beginning to generalize writing of rpn formulas for biff
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 15:31:11 +00:00
24f4023486 fpspreadsheet: Fix utf8 issues in rpn formulas (biff8)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3263 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 14:55:27 +00:00
0aaff39316 fpspreadsheet: Implement calculation of rnp date/time and info formulas. Partial implementation of SUBSTITUTE calculation is back. Add corresponding unit tests, passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3262 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 12:55:02 +00:00
c6817250ed TRxDateRangeEdit - russian resources
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3261 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 09:44:53 +00:00
02149f72bc TRxDateRangeEdit - add Quarter and HalfYear
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3260 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 09:42:54 +00:00
688eab0099 fpspreadsheet: Remove rpn calculation support for the Excel functions PROPER and SUBSTITUTE - there are no adequate function available in Lazarus.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3259 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 07:51:52 +00:00
f1223bfea4 fpspreadsheet: Rename unit fpsMath to fpsFunc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-01 07:39:06 +00:00
734c816bd1 fpspreadsheet: (Almost) complete calculation of built-in rpn string function of fpspreadsheet (PROPER and SUBSTITUTE missing)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-30 22:30:23 +00:00
57036aa680 fpspreadsheet: Calculate most statistical and some string functions in rpn formulas. Beginning to handle missing arguments correctly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-30 15:49:49 +00:00
c2a5a2dd5d fpspreadsheet: Implement fpn formula calculation of all math functions available in fps. Test cases passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-30 13:21:04 +00:00
7b9110ba74 fpspreadsheet: Complete calculation of logical function for rpn formulas, incl unit tests (passed)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-30 10:39:49 +00:00
2621b0d028 fpspreadsheet: Calculation of rpn formulas with variable parameter count works.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3253 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-30 08:41:29 +00:00
b5f465ac84 fpspreadsheet: Fix compare operations when calculating rpn formula
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3250 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-29 09:55:47 +00:00
cd9e686804 fpspreadsheet: More calculation of rpn formulas, add TestCalcRPNFormulas cases to formulatests. Boolean results not working yet. And implementation only for BIFF8, so far.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3249 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-28 19:40:28 +00:00
9bcb71a1fc fpspreadsheet: Beginning to calculate rpn formulas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3248 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-27 14:24:23 +00:00
47e01cf753 TRxDateRangeEdit - new property- Flat
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-27 08:45:29 +00:00
8a1b12a9ec RxDBGrid - RxColumn.Footer.DisplayText make public
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3246 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-27 07:50:55 +00:00
37ab39c47d TRxCustomDateRangeEdit - fix set month, add new events
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-27 05:35:30 +00:00
42c3fcce2b Rx - new component - TRxDateRangeEdit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-26 12:09:27 +00:00
08bef44aac fpspreadsheet: add readme
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-26 07:28:22 +00:00
30569b00c0 fpspreadsheet:
- laz_fpspreadsheet packages does not need to be designtime, so do not register it
- cosmetic: example projects are .lpr not .dpr; reflect in comments



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-26 07:15:51 +00:00
62d65e8569 fpspreadsheet: author, description, version and license info for visual and non-visual packages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-25 15:07:41 +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
114d29d65a Drop sfExcel3 and sfExcel4 from list of file formats. Update demos, chm help file and wiki.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-25 08:38:39 +00:00
b6051c8785 fpspreadsheet: Complete missing doc-o-matic comments in fpspreadsheetgrid.pas. Update the chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3237 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-25 08:22:37 +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
92ed17a049 * fpspreadsheet: documentation fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3235 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 16:10:01 +00:00
42a0431063 * fpspreadsheet: wikitable demo: clarify read/write interoperability problems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 15:27:32 +00:00
d80d5427d4 * fpspreadsheet: standardize debug output to console/writeln: remove SHOWUNSUPPORTED define and replace with IFDEF for FPSPREADDEBUG
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 15:22:28 +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
bc0575cd77 fpspreadsheet: Add demos for wikitables. Reader not working (Rainier, could you have a look?)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 12:06:20 +00:00
2692b9beb6 fpspreadsheet: Rename TsWorksheetGrid method NewWorksheet to NewWorkbook (because that's what it does). Add doc-o-matic comments to fpspreadsheetgrid.pas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-24 11:45:16 +00:00
517bdca8fb fpspreadsheet: Include unit fpsutils in doc-o-matic project. Update fpspreadsheet.chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-23 21:49:20 +00:00
0553425233 fpspreadsheet: Complete doc-o-matic comments in fpspreadsheet.pas, now also with reader/writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-23 15:16:30 +00:00