b38a85d511
spkToolbar: Revert the timer introduced in r2882, 2784, 2784, 2786 - it causes slow repainting of the toolbar when form is resized
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3651 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 19:18:37 +00:00
966611fcfe
spkToolbar: Fix too large checkboxes and radiobuttons in Ubuntu or Windows at >= 120 ppi (issue #0026037 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3650 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 19:04:19 +00:00
ff5dba6c66
spktoolbar: Fix memory leak when using actions on buttons in SpkToolbar (issue 0025732). Patch by Jorge Turiel.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 18:46:12 +00:00
ce54f48dc3
spktoolbar: Fix crash when resizing form
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 18:22:38 +00:00
c47e9ce450
fpspreadsheet: Fix compilation error in Linux (fpszipper.pp)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3647 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 18:21:39 +00:00
70c18e73c3
+ fpspreadsheet: add spreadsheet dataset export visual package laz_fpspreadsheetexport_visual.lpk
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3646 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 14:00:46 +00:00
6c9c5f0215
KControls: Fix some problems with TKDBGrid. Issue #26374 , patch from codiest.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 11:00:41 +00:00
d5b45e145a
fpspreadsheet: Add unit "fpscsv.pas" to package
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-10 09:12:25 +00:00
904ce59e5c
fpspreadsheet: Initial version of reader/writer for csv files
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-10 09:10:43 +00:00
3b1687153b
RxFPC: fix get value TCurrencyEdit.DisplayText on editing data
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-09 05:26:47 +00:00
c98ddb84d2
fpspreadsheet: Add wikitable_pipes demo file. Extend wikitable simple_pipes reader to show all background colors. Some cosmetics in wikitable.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-08 14:21:13 +00:00
390b0539f1
fpspreadsheet: Move some more translatable strings to fpsStrings unit. Some clean-up & cosmetics.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3640 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-08 09:23:34 +00:00
9826c957cf
fpspreadsheet: Raise an exception when the ODS and OOXML readers call ReadFromStream (see Mantis 0026830)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3639 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-08 08:13:45 +00:00
9c77709e77
fpspreadsheet: Add reminder to header of fpszipper what is to be checked before the unit can be replaced by the official one.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-08 07:59:44 +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
c3f65eac18
fpspreadsheet: Use fmShareDenyNone when opening files for reading (see Mantis 0026826).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3636 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-07 14:02:11 +00:00
f9e295540f
RxFPC: TRxCloseFormValidator call owner form event OnCloseQuery before validate
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3635 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-07 04:29:19 +00:00
2be57b3dd5
fpspreadsheet: TsWorksheetGrid - Fix text-overflown cells being erased when mouse leaves them.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-06 13:37:24 +00:00
4dfa60673d
fpspreadsheet: Remove some unnecessary calls to lo() (no idea why I introduced them...). Fix range check errors in the test suite.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3633 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-06 12:55:28 +00:00
af452001d4
fpspreadsheet: Greatly reduce hints and warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3632 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-06 10:43:10 +00:00
e2a302b8e6
RxFPC:fix error in priperty Value
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3631 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-06 06:51:05 +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
e8694bcc58
fpspreadsheet: Fix rounding error in saving column widths by TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 19:34:08 +00:00
912f9979e5
fpspreadsheet: Fix TsWorksheet ignoring the workbook's default font after loading a file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:29:14 +00:00
91e22cd724
* fpspreadsheet: db export: export from beginning of dataset. Some hardening.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3627 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:22:20 +00:00
6f14b93502
fpspreadsheet: Autoadjust column width and row height in TsWorksheetGrid by double-clicking at border between header cells; update demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 16:09:54 +00:00
5935c3c63e
* fpspreadsheet: cosmetic
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3625 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 09:00:35 +00:00
b4b0d78d52
* fpspreadsheet: cosmetic (comments)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3624 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 06:35:48 +00:00
f8c6435689
* fpspreadsheet: use buffered streams for performance
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3623 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 06:35:21 +00:00
d4547b864b
RxFPC:fix compile
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3622 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-03 03:37:28 +00:00
9af675837a
* fpspreadsheet: fpsexport: overwrite existing destination files.
...
Matches behaviour of other exporters like dbfexport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3621 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 12:22:48 +00:00
66a6f32eb3
RxFPC: Add Font property for RxDBGrid.Collumn.Footer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3620 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 11:12:42 +00:00
03960e3649
RxFPC: fix compile in lazarus 1.2.4
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 05:56:55 +00:00
3b69ec270c
RxFPC: code refactor on TRxMemDataset
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3618 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-02 05:09:31 +00:00
359f18e6a9
+ fpspreadsheet: dbexport unit and tests. Initial version.
...
Possible future improvements:
* graphical component in export tab
* using virtual mode in case large datasets are exported
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-01 12:04:08 +00:00
70eb27893d
* fpspreadsheet: cosmetic
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-01 12:02:49 +00:00
2f8c9089ad
fpspreadsheet: Fix speed issues in saving large files due to unnecessary calculation of col/row limits.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3615 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 22:18:46 +00:00
90e0cac035
* fpspreadsheet: resource file
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3614 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 12:00:04 +00:00
04907b25bb
* fpspreadsheet: typo
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 11:59:47 +00:00
5a79fc8458
RxFPC:TCurrencyEdit - full rewrite, now working
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3612 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-30 04:34:09 +00:00
5b4317a706
fpspreadsheet: Fix writing non-printable characters writing to xml-like formats (xlsx, ods, wikitable). Add test case to error tests. Improve syntaxhighlighter for wikitablemaker demo (still not perfect).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-29 22:27:03 +00:00
72a9ffc042
RxFPC: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for rx controls.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-29 07:02:18 +00:00
93a756c1cc
fpspreadsheet: add new demo "wikitablemaker" which implements an editor for wiki tables and shows the generated wiki code in a SynEdit.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-28 22:50:54 +00:00
055dc7e089
fpspreadsheet: Entering an empty string in an unformatted cell of the WorksheetGrid removes the cell from the worksheet. wiki writer takes stores font name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3608 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-27 22:46:21 +00:00
408d51b845
Fix CanDefocus with proper validations
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-27 15:36:35 +00:00
e9ae26952f
fpspreadsheet: Complete writing of all cell styles to wikitables (except for text rotation). Some cleanup of compiler warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-26 13:47:47 +00:00
5e4d7d4825
fpspreadsheet: Extend wikitables writer to write cell alignment, text color, borders and merged cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-25 15:48:44 +00:00
19281ec8af
fpspreadsheet: Fix incorrect cell background painting of text-overflown cells in TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-25 10:36:17 +00:00
dcbbb0c0a1
fpspreadsheet: Cells for which the OnWriteCellData event handler returns null are skipped in virtual mode if they don't carry a format.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-24 13:59:51 +00:00
55792a75f9
fpspreadsheet: In TsWorksheetGrid, fix a minor inaccuracy of cell text overflow due to ignoring constCellPadding value so far.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-09-24 12:45:59 +00:00