Commit Graph

1902 Commits

Author SHA1 Message Date
e3ece8a30b fpspreadsheet: Write frozen panes to ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-21 12:19:19 +00:00
34bfc55a37 fpspreadsheet: Experimenting with doc-o-matic (nice tool). Beginning to standardize comments for usage by doc-o-matic. Update chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-20 23:06:29 +00:00
9b59ab3006 fpspreadsheet: Show/hide sheet grid lines and col/row headers for ods reading and writing. Incl test case (passed)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-20 19:07:35 +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
6905fc5069 fpspreadsheet: Split off currency from main ods number format building procedure.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-19 19:43:30 +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
0650a4a5b4 mplayer: playerinfos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-19 13:38:16 +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
26d5923673 fpspreadsheet: Add currency test cases to ReadString tests for biff8 and ods. Rename ReadDate tests to always show the datemode in the test name. Rename test files "testbiff8.xls" and "testodf.ods" to show datemode (1904) in file name (--> testbiff8_1904.xls, testodf_1904.ods)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-18 15:44:28 +00:00
4672d474a7 fpspreadsheet: Add write/read numbers test case for ods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-18 09:11:42 +00:00
d99cddeb90 fpspreadsheet: Fix time interval format with custom format string not being written correctly to biff.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3193 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-18 08:39:54 +00:00
5bc0898317 fpspreadsheet: Add note to examples\*read to run the *write program if input file does not exist. Activate all commented code in the examples.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3192 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-18 08:07:00 +00:00
cf4ce9f2fa fpspreadsheet: Fix regression in detection of decimal places for ods introduced by inconsistency of xml names in OpenDocument specification.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3191 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-18 07:44:02 +00:00
9157573441 fpspreadsheet: Fix navigation by keyboard not working in TsSpreadsheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-17 22:00:23 +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
631881ca39 fpspreadsheet: Fix incorrect characters in label cells read from of ods files. Partial fix of negative values forgetting the red color in case of built-in format nfCurrencyRed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3188 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-17 11:57:03 +00:00
5a04bbbdda First commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3187 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-17 09:08:16 +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
0b809fbbfd First commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-17 08:59:47 +00:00
1ca48d6cd2 First commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-17 08:53:29 +00:00
9b60ec63be fpspreadsheet: Fix writing of percentage number formats to ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 19:30:43 +00:00
4f9993b4b0 fpspreadsheet: Add workaround for number format nfSci which is not supported by Open/LibreOffice
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3178 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 16:32:39 +00:00
03ccd5323a fpspreadsheet: Infrastructure for writing of number formats to ods files. Fixed and exponential formats ok, percentage not working. Others not yet implemented.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3174 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 14:38:17 +00:00
bdeed1bcec Setting version to 1.5.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 11:37:29 +00:00
fe114b6b49 Releasing the version 1.5
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3172 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 11:33:49 +00:00
05f60addce Setting version to 1.5 and updating documentation accordingly
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 11:29:33 +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
bb44723bea patch from Michal Gawrycki - see 0026325: Proposition: RxDBGrid and AutoSort without sort engine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-14 07:16:52 +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
0083c7c510 fpspreadsheet: Add to the numformatparser test some more complicated formatting strings found in Excel files -> passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3165 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-13 14:35:36 +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
4d2ea06bfa Use LazUTF8 instead of LCLProc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-13 10:46:13 +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
e94ee856a7 fpspreadsheet: Fix selection of date/time formats in fpsgrid demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-13 08:33:41 +00:00
6895cc335e fpspreadsheet: Fix selection of short and long date formats in fpsgrid demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3160 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-13 08:22:45 +00:00
2818ec7662 fpspreadsheet: Fix fpsgrid demo showing an incorrect backgroundcolor of new spreadsheets.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-13 08:17:31 +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
8aee090396 fpspreadsheet: Remove testing code from excel8write.lpr
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3157 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-12 22:22:56 +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
885faa4ed6 * Cleanup TJvXPBarItem.GetImages
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-08 00:10:30 +00:00
12c4a4a2a2 fpspreadsheet: Read ods formula and display it in TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 15:48:02 +00:00
712e0f9f27 fpspreadsheet: Add font writing support to ods. Add font ods test cases. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 13:09:14 +00:00
20567b639c fpspreadsheet: some cosmetics to better show the file format tested in a test case
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 12:17:45 +00:00
0e675ba97d fpspreadsheet: Add units tests for ods font colors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 12:08:04 +00:00
ebf3fce852 fpspreadsheet: Write font attributes to ods file (except for font name).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 11:16:23 +00:00
d7ee2a84d8 fpspreadsheet: Fix crash of unit test application in case of missing length unit in HTMLLengthStrToPts. Rearrange code for ods font reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 09:17:52 +00:00
036383d658 fpspreadsheet: Add support for reading fonts from ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3146 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 08:48:22 +00:00
0954ad8470 * fpspreadsheet: anticipate changed messages handling in Lazarus trunk (see e.g. Lazarus revision 45363) by removing explicit messages file specification
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-06 06:14:23 +00:00