Commit Graph

3107 Commits

Author SHA1 Message Date
d0be6284cf fpspreadsheet: OOXML reading/writing support for frozen panes. Simplify OOXML's cell writing strategy by omitting empty cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-04 19:11:17 +00:00
3d82a35d56 * Allow custom menu items in VTHeaderPopupMenu
* Dont show column images in VTHeaderPopupMenu since it will hide the checkmark

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3421 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-04 02:51:22 +00:00
f0b57845bb fpspreadsheet: xlsx reading/writing support for hidden grid lines and headers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3420 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 22:55:58 +00:00
b6d9f2f0f0 fpspreadsheet: Fix xlsx reader ignoring cell attributes for cells having font #1 in files not written by fps (confused by uffBold).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 21:43:08 +00:00
a7c1405be0 fpspreadsheet: Support for column widths and row heights of xlsx reader. Extend unit tests --> passed. Add "debug with heaptrc" build mode to spreadtestgui (--> there is an unfixed memory leak in fpsfunc).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 21:21:31 +00:00
f10b177f03 * Set message result in BUTTONUP event in header. Fixes issue 26388
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 15:29:36 +00:00
b23e55d39e * Synchronize with main VTV repository up to svn rev 671
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 13:16:13 +00:00
f6ce495df9 * Synchronize with main VTV repository up to svn rev 652
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3415 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 12:48:56 +00:00
1e3a8bce44 * Synchronize with main VTV repository up to svn rev 622
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3414 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 02:17:08 +00:00
e35ca23229 * Synchronize with main VTV repository up to svn rev 603
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3413 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 01:46:13 +00:00
abb674f902 * Synchronize with main VTV repository up to svn rev 587
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-03 01:09:14 +00:00
de5e05ec86 fpspreadsheet: Clean-up of demos (sometimes the default built mode was lost). Add some more overloaded methods to TsWorksheet having the cell as an argument instead of row/col index.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3411 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 22:31:19 +00:00
de9d844893 * Synchronize with main VTV repository up to svn rev 570
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3410 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 22:05:31 +00:00
b146c697be * Synchronize with main VTV repository up to svn rev 547
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3409 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 21:45:37 +00:00
70d9caa591 * Synchronize with main VTV repository up to svn rev 531
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3408 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 21:35:16 +00:00
b824d4854b fpspreadsheet: Implement text alignment, text rotation and word wrap for xlsx reader. Extend these unit tests for xlsx - passed. Some improvements in formattests (better readability of enum data, trying to guarantee deletion of temp file in case of a mismatch).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3407 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 19:21:23 +00:00
ec589355d1 * Synchronize with main VTV repository up to svn rev 512
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3406 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 00:29:27 +00:00
697c55c0ac * Synchronize with main VTV repository up to svn rev 488
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3405 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-02 00:08:05 +00:00
c72e94c749 * Synchronize with main VTV repository up to svn rev 461
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3404 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-01 23:38:38 +00:00
ead4186b6e fpspreadsheet: OOXML reading support for cell borders and diagonals. Unit tests adapted. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3403 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-31 21:05:01 +00:00
3064b8a13f fpspreadsheet: OOXML writes diagonal border lines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3402 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-31 19:34:54 +00:00
e96b16b993 fpspreadsheet: Add support for diagonal border lines. Implemented for BIFF8 and ods (BIFF2 and 5 do not support diagonal borders, OOXML reader currently does not have border support). Test cases adapted. "spready" adapted to show diagonal borders.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-30 22:51:59 +00:00
2f728bb0d0 Fixed error in SetDialogTitle
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-30 05:24:57 +00:00
9206a6e753 fpspreadsheet: OOXML reader supports background color now. Test cases passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3397 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-29 22:09:29 +00:00
f989031cf9 fpspreadsheet: Fix font color issues of xlsx reader. No fails in unit test any more.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3396 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-29 21:02:14 +00:00
827245c127 Fixed bug where Title repeated 'About'
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-29 13:31:14 +00:00
5c691c8f2f TRxDBGridExportSpreadSheet - export footer row
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3394 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-29 11:20:59 +00:00
239bc2cec1 TRxDBGridExportSpreadSheet - russian localization
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-29 06:10:27 +00:00
fa60f84556 RxDBGrid - add new event TOnRxCalcFooterValues. Issue 0026027 from freeman35
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-28 12:25:45 +00:00
0af501a361 TRxColumn.Option - enable show/hide column from grid column dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3391 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-28 10:24:14 +00:00
afce2639bd TRxDBGridExportSpreadSheet_ParamsForm - fix PageName edit box width
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3390 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-28 07:26:28 +00:00
9416bef4c7 TRxDBGridExportSpreadSheet - fix compile with fpc 2.6.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-28 06:50:07 +00:00
2544034f55 fpspreadsheet: Undo changes in package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-27 22:47:13 +00:00
8c687533cf fpspreadsheet: Support reading of font from xlsx files. Add unit tests, 3 fails related to font color.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3387 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-27 22:44:17 +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
c3d3cac3bc fpspreadsheet: Fix incorrect writing of number and date/time values in ooxlm. Only 1 fail in unit test left (related to ods).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-27 10:17:14 +00:00
565df8a3e3 fpspreadsheet: Add test cases for xlsx number and date/time formats. Two fails.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-26 21:52:59 +00:00
77d6fd704d fpspreadsheet: Consider 1900/1904 date mode for reading/writing of xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-26 21:18:49 +00:00
adb1e5c13e fpspreadsheet: Support reading of number formats in xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3382 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-26 19:43:02 +00:00
e7f10f498f fpspreadsheet: Add methods InsertRow and InsertCol to TsWorksheet and TsWorksheetGrid. Update demo "spready".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-26 17:05:21 +00:00
9f7237554d fpspreadsheet: Extend ooxml reader to read formulas and their result.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 21:05:35 +00:00
11772b0156 fpspreadsheet: Fix ooxml reader crashing for files having no shared strings table.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3379 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 16:46:39 +00:00
005434006f fpspreadsheet: Split shared code for ooxml and ods readers off into new unit fpsxmlcommon.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 16:31:34 +00:00
e3ce3e1d71 TRxDBGridExportSpreadSheet - open after export
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 12:34:38 +00:00
8a2ed380fe TRxDBGridExportSpreadSheet - create export setup form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 11:53:30 +00:00
a25af4d0b4 RxFPC - fix comment
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3375 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-25 11:20:01 +00:00
8d4572c39d fpspreadsheet: Initial implementation of an OOXML reader (some files still crashing). Add ooxmlread demo to examples folder. Fix spready demo's incorrect *.xlsx file filter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3374 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-24 22:22:26 +00:00
340efa7c8f fpspreadsheet: Implement virtual reading mode for biff2 and ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3373 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-24 15:56:03 +00:00
5a65855a48 fpspreadsheet: Implement virtual reading mode for biff8 and biff5 (activated by workbook option boVirtualMode when reading). Add demo_virtualmode_read. Update speed test (factor 2 faster than standard mode, main advantage: no significant memory usage)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-24 11:51:34 +00:00
6606f62e79 fpspreadsheet: grid fix if FWorksheet not assigned from Aleksey Lagunov, issue #26521, thank you.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-07-24 08:26:03 +00:00