Commit Graph

3460 Commits

Author SHA1 Message Date
wp_xxyyzz
1e24a88116 fpspreadsheet: Fix string-to-integer conversion bug introduced by last commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-09 11:51:34 +00:00
wp_xxyyzz
a5495c97b5 fpspreadsheet: More robust evaluation of xf style attributes but the OOXML reader (check "applyXXXX" against "<>'0'" instead of "='1'")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-09 11:14:22 +00:00
wp_xxyyzz
83db4e3fc4 fpspreadsheet: Add proper ifdefs around "uses clocale" in fpspreadsheet.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3458 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 21:18:16 +00:00
wp_xxyyzz
755a36e055 fpspreadsheet: Write string formulas to ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3457 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 19:14:08 +00:00
wp_xxyyzz
a0a19eb380 fpspreadsheet: Write OOXML string formulas. Write biff2 dimension record.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 19:00:27 +00:00
wp_xxyyzz
8f666bec13 fpspreadsheet: Fix written oversized worksheets being defective, adapt BIFF writer's WriteDimensions method to be compatible with oversized worksheets.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 14:30:19 +00:00
alexs75
59bcbe2889 TRxDBGridPrint - fix russian resources
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3454 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 12:42:20 +00:00
alexs75
c88517cf7b TRxDBGridPrint - new option - rxpoHideZeroValues
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 12:40:55 +00:00
wp_xxyyzz
53bb7bd316 fpspreadsheet: Add "empty cell" tests having empty rows and columns before occupied cells start. Extend "empty cell" tests to OOXML format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3452 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 12:39:02 +00:00
alexs75
e8b3066a10 TRxDBGridPrint - fix AV with TfrDesigner
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 12:28:58 +00:00
wp_xxyyzz
2de7d41fef fpspreadsheet: Clear error log before starting reader/writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3450 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 12:18:17 +00:00
wp_xxyyzz
0029891176 fpspreadsheet: Fix ODS writer beginning to write rows/columns at first used row/column instead of 0. ODS error message test active now. Separate errortests and virtualmodetests from internaltests. All tests passed (Win32, Laz trunk, fpc 2.6.4).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3449 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 09:02:37 +00:00
alexs75
ac22d2958d TRxDBGridPrint - fix russian resources
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 08:01:35 +00:00
alexs75
bc8cc5acc2 TRxDBGridPrint - fix print with report title
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-08 05:32:55 +00:00
wp_xxyyzz
ff059e3420 fpspreadsheet: Move log list from reader/writer to workbook for easier access. Add unit test for error logging (in internaltests). Improve OOXML writer to begin writing rows only from the first existing row, not from 0. (The ODS writer still does this, therefore, it creates a huge file for the error logging test - this test is currently deactivated for ods).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-07 22:24:22 +00:00
wp_xxyyzz
68718a9192 fpspreadsheet: Split off common properties and methods from the custom reader/writer classes into a common TsCustomReaderWriter class. Add a logging mechanism for error messages to this common ancestor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-07 19:41:13 +00:00
wp_xxyyzz
b9dc9a801f fpspreadsheet: Fix option boBufStream writing defective ods and xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3444 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-07 12:52:26 +00:00
wp_xxyyzz
c575126fa0 fpspreadsheet: Implement writing of ODS files in virtual mode. Adapt demo_virtualmode_write, speed test, and unit test (--> passed).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3443 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-07 08:43:11 +00:00
wp_xxyyzz
2fd7d0caa1 fpspreadsheet: Reading of xlsx theme colors working (writing is not planned). xlsx reader now creates a default color palette because some xlsx files refer to colors by index although they don't contain a palette.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 21:52:20 +00:00
wp_xxyyzz
c5d2cdde62 fpspreadsheet: Fix MIME-TYPE of db_export_imprt.*
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3441 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 18:37:27 +00:00
wp_xxyyzz
c0dbb07201 fpspreadsheet: Implementing reading of xlsx theme colors which are found in many xlsx files. Not quite correct yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 15:49:04 +00:00
wp_xxyyzz
5e151d64a7 fpspreadsheet: Fix missing of some cell border lines in TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 13:45:26 +00:00
alexs75
5cfb0fdd5b TRxDBGridPrint - fix margins in setup form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 11:14:06 +00:00
alexs75
f36775184f TRxDBGridExportSpreadSheet - footer colors and lockup fields
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 10:19:42 +00:00
alexs75
2ff6da7c68 TRxDBGridPrint - russian resources and demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 10:06:26 +00:00
alexs75
9a5b89778f TRxDBGridPrint - print setup form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 09:58:37 +00:00
wp_xxyyzz
ebf59489f2 fpspreadsheet: Complete database import demo. Rename dbexport to db_export_import. Fix biff2 crashing in ReadPane because of duplicate variable FWorksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-06 08:50:36 +00:00
wp_xxyyzz
8409952071 fpspreadsheet: Add import of spreadsheet data to a database to the dbexport project (will be renamed to db_export_import). Functional, but not fully complete.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 23:13:39 +00:00
wp_xxyyzz
74f5bf26f5 fpspreadsheet: Activate virtual reading mode for OOXML reader / fpsspeedtest
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 21:49:23 +00:00
wp_xxyyzz
7e599ebd07 fpspreadsheet: Fix arithmetic overflow in ooxml writer in case of empty worksheet but existing row records. Use try-finally blocks around test cases to make sure that memory is released and temp file is deleted in case of exceptions due to failed tests. Fix memory leak in rpn formula calculation (spreadtestgui, however, still reports a lot of memory leaks).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 21:42:34 +00:00
bigchimp
d63dd1b715 fpspreadsheet: rename project1 to dbexport as it better indicates the functionaiity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 13:55:58 +00:00
bigchimp
99569c1114 fpspreadsheet: cosmetic clean up of database virtual mode demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 13:46:42 +00:00
alexs75
0027c7e2f0 RxFPC - component image for TRxDBGridPrint
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 13:05:12 +00:00
alexs75
e8fd377ff9 RxDBGrid - new tools - TRxDBGridPrint (based on TFrPrintGrid)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3427 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 12:51:26 +00:00
wp_xxyyzz
052b6a9224 fpspreadsheet: Rewrite all WriteXXXX methods of TsWorksheet depending on row and column indexes as functions to return the pointer to the cell created/modifed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 10:59:24 +00:00
wp_xxyyzz
fe4b0ab8db fpspreadsheet: Add number, string and date/time tests for xlsx reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-05 08:25:17 +00:00
blikblum
3721362ca0 * Store Columns property normally since Lazarus VFI does not have the Delphi issue storing child properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-04 19:57:50 +00:00
wp_xxyyzz
ccc593a525 fpspreadsheet: Add a new example project showing database export in virtual mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3423 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-08-04 19:46:50 +00:00
wp_xxyyzz
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
blikblum
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
blikblum
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
blikblum
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
blikblum
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
blikblum
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
blikblum
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
blikblum
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
wp_xxyyzz
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