Commit Graph

4555 Commits

Author SHA1 Message Date
1ca4e37446 Parser : map xsd:string to UnicodeString.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:25:51 +00:00
3c995d69dd Delphi compatibility fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:24:38 +00:00
f638eb928a fpspreadsheet: Write currency format codes for BIFF5 and BIFF8 (incl. "red" for negatives and "-" for zero).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 15:13:08 +00:00
aa29744538 Parser : map xsd:decimal to Currency.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 14:58:42 +00:00
69b84feae4 Another approach for updating wrong field/record because dataset scrolling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3051 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-16 08:38:55 +00:00
47d624ab46 fpspreadsheet: Improved reading of results of functions returning strings, booleans, or errors. Optional tests in test suite producing an error when Excel reads the test file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-16 08:17:49 +00:00
e21231de03 fpspreadsheet: Add controls to change number format to the fpsgrid demo program. Also, add the "brush" button to copy a format to another cell.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-15 22:41:14 +00:00
dae7caff9c fpspreadsheet: Improved format detection when reading biff files. Unit test without errors due to biff now again. Fix compilation error of other formats due to new NumFormatList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3048 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-15 12:53:56 +00:00
5cdd884f56 Avoid updating wrong field/record because dataset scrolling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-15 09:49:57 +00:00
283a28fabd fpspreadsheet: Fix crash of unit test. Still some number format detection issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3046 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-14 23:17:46 +00:00
c3f5600c0d fpspreadsheet: Read results of formulas that return strings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3045 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-14 16:30:33 +00:00
c36a5e80ce fpspreadsheet: Building a number format list which allows to drop most of the restrictions of the previous versions like number of decimal places. New number format "nfCustom" which passes the format string directly to the file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3044 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-14 15:24:02 +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
75f2a8c0a5 fpspreadsheet: Remove reading code for RK and MULTRK records from xlsbiff5 and xlsbiff8, use the xlsbiff8 versions in xlscommon. --> Formatting of RK and MULRK works now for biff5 as well.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3042 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 16:45:42 +00:00
705a7956ce fpspreadsheet: Pass visibility of gridlines and sheet headers from TsWorksheetGrid to underlying Worksheet for saving.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3041 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 16:22:48 +00:00
07824c46c1 fpspreadsheet: Add properties for direct cell font access by TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3040 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 16:16:59 +00:00
a954d389c0 fpspreadsheet: Add properties BackgroundColor(s) to TsWorksheetGrid and show usage in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 11:56:20 +00:00
afe1013755 fpspreadsheet: Add properties TextRotation(s) to TsWorksheetGrid and use in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 10:39:14 +00:00
0fe1742400 fpspreadsheet: Add properties for setting cell borders to TsWorksheetGrid. Redo border and selection painting again. Fix issues due to adjacent cells having different borders.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-11 09:20:52 +00:00
203059b3df LazEdit: when calling FileGetAttrUTF8 check for feInvalidHandle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3036 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-10 16:23:34 +00:00
ee011598e4 fpspreadsheet: Introduce HorAlignment(s) and VertAlignment(s) properties to tsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-10 12:32:05 +00:00
e00fedff8b fpspreadsheet: Add reading support for MULBLANK records (BIFF5 and BIFF8)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3034 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-09 22:37:05 +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
e1ddf966a7 fpspreadsheet: Improved painting of the selection rectangle and cell borders in TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3032 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-09 22:00:53 +00:00
568cfdc673 Copy for the 0.6 release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3031 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-09 10:36:05 +00:00
9d68a4809d fpspreadsheet: Improved painting of range-selected cells in TsWorksheetGrid, not perfect yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3030 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 22:44:52 +00:00
72bcfc3a5b fpspreadsheet: TsWorksheetGrid transfers row height and col width changes to underlying Worksheet. Automatic adjustment of row height if font changes in a chell.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3029 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 21:52:04 +00:00
666f399fb1 fpspreadsheet: ESC cancels the current edit in the TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3028 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 15:54:29 +00:00
79a4dd708f fpspreadsheet: Add some cell border buttons to the fpsgrid demo of TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3027 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 15:33:25 +00:00
8c95f13bc8 fpspreadsheet: Add vertical alignment buttons to fpsgrid demo of TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3026 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 14:53:16 +00:00
7d01cec936 Update project file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3025 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 14:19:53 +00:00
8406f95b71 Better PropertyManager string parsing, don't set empty props (Thanks to Michael Van Canneyt)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3024 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 14:16:59 +00:00
ab38ec3c50 Better transport error reporting : ETransportExecption.ExtendedErrorInfo (Thanks to Michael Van Canneyt)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 14:15:38 +00:00
8656e66511 fpspreadsheet: Call a font dialog in the fpsgrid demo to interactively change the font of a cell.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3022 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 12:12:06 +00:00
27e00db9c0 fpspreadsheet: Add font style buttons to fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3021 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 08:08:37 +00:00
6626099d71 fpspreadsheet: the worksheetgrid can be edited again. Beginning to add some cell formatting to the demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3020 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 22:44:00 +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
56c90a2f05 Ignore the RTF document.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3018 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 14:45:57 +00:00
9e4f5c5770 Compress the RTF document as it gets difficult to commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3017 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 14:33:32 +00:00
ba82f40391 Update documentation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3016 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 14:23:42 +00:00
cf03917999 Fix component alignment/Anchors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3015 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 12:57:48 +00:00
9f07522d7c Import Wizard : XML opening should use name spaces
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3014 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 12:55:34 +00:00
9a1296eeb0 * Cosmetic: comment translation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-07 10:13:38 +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
d55fda1022 fpspreadsheet: Add "WriteFontStyle" to TsWorksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-05 19:36:45 +00:00
78ad68f974 RxDBGrid - fix sum on TSQLQuery
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3009 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-05 12:18:00 +00:00
707f64e511 fpspreadsheet: Fix show/hide gridlines/headers issue of BIFF2 by adding WINDOW1 record. Move WINDOW1 record of BIFF5-BIFF8 to xlscommon. Add test cases for BIFF2. ok.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-04 20:01:21 +00:00
256d7b1fbd fpspreadsheet: Configure spreadtestgui to compile into lib folder.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3007 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-04 19:36:25 +00:00
3e6fce3a29 fpspreadsheet: Add unit test cases for pane support and showing/hiding of grid lines and sheet headers (write/read of BIFF5 and BIFF8). Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-04 19:08:17 +00:00