|
f8f72e3847
|
fpspreadsheet: Make number format parser independent of workbook. Some cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4167 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-31 16:06:22 +00:00 |
|
|
61a55feef8
|
fpspreadsheet: Release restriction on max 21 numberformats for writing biff2 files; extra formats not read correctly by Excel although I know from Office97 that there can be more than 21 formats in a biff2 file. Add some more unit tests for number format parser.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4166 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-30 22:09:53 +00:00 |
|
|
5b0181c297
|
fpspreadsheet: Improved usability of the TsSpreadsheetInspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-30 14:01:10 +00:00 |
|
|
75b30afd0a
|
fpspreadsheet: Fix biff2 reader interpreting "general" number format as nfCustom.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-30 13:32:54 +00:00 |
|
|
3793c9bd95
|
fpspreadsheet: In numberformats with ambiguous "m" tokens ("month" or "minute") use "month" (like Excel)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-29 22:45:42 +00:00 |
|
|
e2ddc7c705
|
fpspreadsheet: Extend number format parser to accept the keyword "General" in custom formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-29 21:35:07 +00:00 |
|
|
7a1caea387
|
fpspreadsheet: Prev commit was not good, now ok. Also: Fix fraction formats with explicit denominator (such as "#/32").
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-29 17:30:43 +00:00 |
|
|
8adf987bf9
|
fpspreadsheet: Better detection of fraction format by numberformat action. Some clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-19 16:18:01 +00:00 |
|
|
e307a01d51
|
fpspreadsheet: Some simplification of number format token analysis. Add number format unit tests for the new formats (fraction, split-off thousands)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4131 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-15 21:14:19 +00:00 |
|
|
2d35913169
|
fpspreadsheet: Add support for number formats splitting off thousands, (Excel syntax "0.0,"), millions ("0.0,,"), etc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4130 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-15 17:33:24 +00:00 |
|
|
400ffe6431
|
fpspreadsheet: Fix writing of header/footer fonts to ods files. Some cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-05-12 20:51:18 +00:00 |
|
|
3a2b5f2aad
|
fpspreadsheet: Add support for fraction formats having a fixed denominator ("# ?/4" for quarters, etc.)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-29 16:23:07 +00:00 |
|
|
f5c1eb21cb
|
fpspreadsheet: Add dialog for number format selection to examples folder. Fix grid forgetting current number format after editing cell content.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4095 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-26 16:24:19 +00:00 |
|
|
c2dd60bb18
|
fpspreadsheet: Improved conversion of numbers to formatted strings, handles more special cases (e.g. integer-only fractions, optional digits, optional space digits).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4094 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-22 18:48:08 +00:00 |
|
|
c3da3fa60c
|
fpspreadsheet: More general handling of conditional colors in number format strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-21 09:35:58 +00:00 |
|
|
249c483503
|
fpspreadsheet: Remove no-longer-needed method "Localize" of TsNumFormatParser
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-20 11:20:09 +00:00 |
|
|
cd397b64d5
|
fpspreadsheet: Remove TsNumberFormatDialect, not needed by number format parser any more. Fix some issues in visual demos related to number formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-19 22:03:33 +00:00 |
|
|
03b7dedde7
|
fpspreadsheet: Improved number format parser
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4082 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-18 14:58:38 +00:00 |
|
|
389c4646f5
|
fpspreadsheet: Improved fraction format parser
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4079 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-04-08 22:43:57 +00:00 |
|
|
ccf0fa6a51
|
fpspreadsheet: Improved syntax for mixed fraction formatting strings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4074 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-31 20:15:04 +00:00 |
|
|
5c2b844bb7
|
fpspreadsheet: Add formatting of numbers as fractions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-31 19:01:16 +00:00 |
|
|
ea36d2e089
|
fpspreadsheet: Shorten fpspreadsheet.pas by putting NumFormatList and CustomReader/Writer to separate units
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-25 09:43:37 +00:00 |
|
|
2bf5464fc6
|
fpspreadsheet: Move type declarations from fpspreadsheet.pas to new unit fpstypes.pas. Update all examples.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-01-17 22:57:23 +00:00 |
|
|
a1fe949908
|
fpspreadsheet: Fix unit test for currencies, pass now for all file format (some kind of tweaking for Excel2 and fpc formatting inconsistencies though).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-10-29 22:36:03 +00:00 |
|
|
0396e0805d
|
fpspreadsheet: Registration of currency symbols. Add currency dialog to spready. Automatic detection of currencies in in worksheet.WriteCellAsNumber. Avoid redundant code in csv reader's currency detection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-10-29 16:39:49 +00:00 |
|
|
46a94e0abf
|
fpspreadsheet: Fix xlsx reader truncating strings after 255 characters due to missing $H+ directive. Check that all units use the $H+.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3637 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-10-07 22:53:52 +00:00 |
|
|
93da62030e
|
fpspreadsheet: Less hints & warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3630 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-10-03 22:02:09 +00:00 |
|
|
3ef1b5b331
|
fpspreadsheet: Fix ods writing incorrect nfTimeInterval format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-07-27 17:31:02 +00:00 |
|
|
4967d9a233
|
fpspreadsheet: Calculate the formula SUMIF.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3281 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-07-04 20:41:07 +00:00 |
|
|
13a9fb2603
|
fpspreadsheet: Remove built-in number formats nfSci (not suppored by ods and fpc) and nfAccounting/nfAccountingRed (too much display-oriented, too cumbersome to implement for reading and displaying in the grid). If needed in Excel they can still be written using nfCustom. Update all files and tests for these now no longer existing formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-23 09:15:56 +00:00 |
|
|
d0927d2d03
|
fpspreadsheet: Further reduction of hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3206 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-20 15:58:22 +00:00 |
|
|
a85adcb61a
|
fpspreadsheet: Reducing hints and warnings, still a lot...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-19 19:25:40 +00:00 |
|
|
888f605851
|
fpspreadsheet: Fix some date/time format display issues for ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-19 17:56:29 +00:00 |
|
|
9faf94ee3a
|
fpspreadsheet: Add writing of date/time formats to ods files and fix writing of time values
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-18 21:54:29 +00:00 |
|
|
0875ce96e8
|
fpspreadsheet: Reading/writing of negative currencies in red now working for ods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-17 21:56:49 +00:00 |
|
|
1e5fa19f94
|
fpspreadsheet: add support for writing currency formats to ods files. Fix "red" option for negative numbers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-17 09:06:34 +00:00 |
|
|
144f4dd25b
|
fpspreadsheet: Beginning to extend to number format parser for xml strings (for ods). Not finished, yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-15 22:27:46 +00:00 |
|
|
f4f860abc2
|
fpspreadsheet: Cleaning up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3167 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-13 20:32:58 +00:00 |
|
|
9f69ce203a
|
fpspreadsheet: Fix ods number format issues introduced with new number format parser. No regressions in test suite any more.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3166 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-13 20:11:41 +00:00 |
|
|
36765d4f9b
|
fpspreadsheet: Fix issues related to biff2 expecting localized formatting strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-13 13:33:02 +00:00 |
|
|
0abb220530
|
fpspreadsheet: Fix changing of decimal places for currency format in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-13 10:03:29 +00:00 |
|
|
95347f5d5a
|
fpspreadsheet: Fix usage of decimal places in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-13 07:59:42 +00:00 |
|
|
a4ee00f870
|
fpspreadsheet: Major reconstruction of numberformat parser to facilitate creation of xml formats for ods. Some minor regressions in unit tests and fpsgrid demo to be fixed. Removed elements "Decimals" and "CurrencySymbol" from TCell (this information is taken from the format string now). Removed the built-in format nfFmtDateTime (makes life easier, use nfCustom instead).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-12 22:20:45 +00:00 |
|
|
c275de3947
|
fpspreadsheet: Fix BIFF currency bug of previous commit. Fix UTF8 bug when reading currency symbol. No more errors in number test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 19:57:00 +00:00 |
|
|
b095079e91
|
fpspreadsheet: Fix failure of numformatparser to detect general number format (makes sample file t1s.xls in examples/fpschart usable again)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 08:07:56 +00:00 |
|
|
239633cb51
|
fpspreadsheet: Rename number format codes "nfCurrencyDash"/"nfCurrencyDashRed" to "nfAccounting"/"nfAccountingRed" and implement alignment of currency symbols as in Excel. Fix number format parser bug causing a failure in the corresponding test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 21:54:24 +00:00 |
|
|
c70b1db64f
|
fpspreadsheet: Improved detection of the ambivalent symbol "m" in format strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 10:09:35 +00:00 |
|
|
fb92d5a906
|
fpspreadsheet: Bug fixes for biff2 reading/writing for number formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3075 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 23:01:07 +00:00 |
|
|
52faebc69e
|
fpspreadsheet: Improvements in biff5/8 reading of number formats, a few date/time relatived issues left. biff2 not yet touched.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 16:23:38 +00:00 |
|
|
a9df011859
|
fpspreadsheet: More logical writing strategy for biff number formats. Still issues with reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3072 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 12:12:16 +00:00 |
|