Commit Graph

2018 Commits

Author SHA1 Message Date
e36050c80c RxDateEdit - fix change date when press +/- key
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-17 06:28:07 +00:00
ed197af6c1 fpspreadsheet: Add another set of unit tests for virtual mode, now with SaveMemory options.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3326 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 21:31:59 +00:00
4c723b9fc3 fpspreadsheet: Convert some more biff methods such records are written in a single block (biff2: WriteLabel, WriteNumber, all: WriteFormat, WriteBlank, WriteColInfo).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3325 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 21:00:49 +00:00
3374315c8b mplayer: Added Image Grab functionality, Rate, FindMPlayerPath, fixed Screen painting when playing an audio file, by Mike Thompson
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3324 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 20:15:14 +00:00
7db78ca670 fpspreadsheet: Add first unit test cases for virtual mode (all biff, ooxml /writing only)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 15:49:58 +00:00
6d4175c72a fpspreadsheet: Writing of date/time values to xlsx files. Date/time formats working.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3322 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 15:16:46 +00:00
be3e5d16ac fpspreadsheet: Speed up biff writing for number and label cells in woSaveMemory mode by a factor of 4 (writing complete records instead of single bytes and words)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3321 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 14:59:48 +00:00
e3c0eb2dc0 fpspreadsheet: Write custom row heights and column widths to xlsx files. Works in virtual mode also.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3320 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 13:31:45 +00:00
32a5a26fe8 RxDateEdit - fix popup position
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3319 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-15 12:33:10 +00:00
3f292f5e99 fpspreadsheet: Writing of number formats for xlsx (date/time not working yet)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3318 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-14 20:47:53 +00:00
9607fc8e88 fpspreadsheet: Extend the event OnNeedCellData by a template cell which can be used for formatting when saving a file in virtual mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-14 15:04:04 +00:00
dc1d5d038a fpspreadsheet: Add wordwrap to writing of xlsx. Fix some minor issues forgotten with xlsx border and background color.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3316 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-14 07:58:45 +00:00
f596a181b3 fpspreadsheet: Support for writing cell border (on/off, linestyle, color) and background color to xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3315 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-13 22:09:27 +00:00
3d7c3d06e3 fpspreadsheet: Implement writing of vertical and horizontal text alignment for xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3314 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-13 15:23:07 +00:00
89ffb05a1c fpspreadsheet: Implement writing of text rotation for xlsx files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3313 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-13 14:58:12 +00:00
9d2d62542b fpspreadsheet: Implement font support for the OOXML writer (font type, size, style, color).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-12 22:12:38 +00:00
8d6ec7316c fpspreadsheet: Remove string-based writing code of ods files --> significant speed improvement particularly for large grids (20000x100 cells 120 sec (old) --> 7 sec (new)).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3311 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-12 21:51:44 +00:00
36658107bc fpspreadsheet: Fix regression in previous commit (usage of nil in WriteCellCallback). Write font list to styles.xml.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3310 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-11 22:43:00 +00:00
e6e961d51f fpspreadsheet: Add WriteBlank to TsSpreadOOXMLWriter to standardize code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3309 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-11 20:00:49 +00:00
4143334384 fpspreadsheet: Fix spans typo in xlsxooxml.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3308 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-11 19:36:17 +00:00
231b127041 fpspreadsheet: Implement virtual mode for all biff file formats. Add record limitations with writer-specific max row and col counts: a file is not written to a particular file format if it exceeds the limitations of the file format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3307 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-11 13:20:14 +00:00
e2391c142b fpsreadsheet: Introduce "virtual writing mode" where the writer does not get its data from the spreadsheet, but from an event ("OnNeedCellData"). Introduce stream switching for xlsxooxml. Both feature allow to write HUGE spreadsheet files. Add example "test_virtualmode".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3306 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-10 20:43:46 +00:00
ddd6902edf fpspreadsheet: Significantly improve speed of the ooxml writer, by rvk (see discussion in http://forum.lazarus.freepascal.org/index.php/topic,25110.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3305 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-10 15:55:40 +00:00
de36e9419b RxDBGrid - fix column width in columns dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3304 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-10 07:33:19 +00:00
db24ac3a9b fpspreadsheet: Fix "rows-repeated" error in ods introduced in prev commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-09 21:53:41 +00:00
63283c100a fpspreadsheet: Caching the result of the worksheet's GetLastColIndex and GetLastRowIndex for better writing performance of large ods files (which query these data in the row loop). Has no significant effect, though.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3302 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-09 14:56:09 +00:00
1979ed4e77 fpspreadsheet: document reason for r3299
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3301 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-08 22:02:13 +00:00
d1ef94451a fpspreadsheet: Fix invalid xml characters issue in writing xlsx files (see http://forum.lazarus.freepascal.org/index.php/topic,25110.msg152030.html#msg152030).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3300 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-08 20:52:59 +00:00
a884bedf92 fpspreadsheet: Fix zip/xml path delimiter issue for ooxml making fps-written xlsx files unreadable by Libre/OpenOffice (see //forum.lazarus.freepascal.org/index.php/topic,25110.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3299 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-08 19:03:58 +00:00
3020ad9261 fpspreadsheet: Fix reverse order of rpn tokens when reading an xls file. Fix string formula reconstruction routine. Unit test passed again.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3298 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-08 18:58:22 +00:00
428bf6bd93 fpspreadsheet: Add option to construct rpn token array in reverse order for correct reading of rpn formulas in xls files (current reading code is not correct)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3297 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-08 15:28:11 +00:00
7e22f0e6ad fpspreadsheet: Complete rpn calculations (COUNTA). Remaining missing function probably will not be implemented because calculation is beyond units (math, strutils, dateutils; if needed they can still be implemented at application level by registering the corresponding function).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3296 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-07 21:29:00 +00:00
328cce376e fpspreadsheet: Delete test_formula_func.lps
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3295 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-07 14:07:54 +00:00
9f226d94bd fpspreadsheet: Add interest rate calculation to complete financial functions supported by fpspreadsheet. Extract financial stuff into separate unit "financemath.pas" which will be proposed as a fpc feature request.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3294 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-07 12:04:33 +00:00
c30222aac7 * update issues notes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3293 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 22:48:27 +00:00
e2e615c140 * Synchronize with main VTV repository up to svn rev 297
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3292 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 22:32:53 +00:00
803c910ac6 fpspreadsheet: Add formula financial function NPER to user-defined formula demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3291 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 19:13:05 +00:00
486e6b630c * Synchronize with main VTV repository up to svn rev 285
* Add file with v5 upgrade issues

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 16:49:24 +00:00
9ac30f010f * Synchronize with main VTV repository up to svn rev 274
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3289 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 14:27:04 +00:00
878363e736 * Synchronize with main VTV repository up to svn rev 259
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3288 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 14:02:51 +00:00
bf4cf60042 * Synchronize with main VTV repository up to svn rev 245
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3287 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-06 13:49:23 +00:00
aad8798b82 fpspreadsheet: Remove unused unit from excel8read project
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3286 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-05 21:51:04 +00:00
a62bba2b72 fpspreadsheet: Add financial function PV and PMT to test_formula_func demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3285 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-05 21:48:12 +00:00
9fb1a96f20 fpspreadsheet: Fix bug #026451 ("Wrong {$IFDEF} in xlsxooxml.pas and fpsopendocument.pas")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3284 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-05 18:11:41 +00:00
827734cabe fpspreadsheet: Extend compare functions (=, <, etc) to cell values (for calculation of formulas)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3283 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 22:11:34 +00:00
bab574b3b4 fpspreadsheet: rename the Create* funtions needed for for formula calculation to Create*Arg
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 21:17:15 +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
ad1bf2a46a fpspreadsheet: Fix manualtest crashing if started a second time from the same gui session.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3280 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 15:19:35 +00:00
336a1cf581 fpspreadsheet: Implement calculation of COUNTIF, several test cases passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3279 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-04 14:38:20 +00:00
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