Commit Graph

4713 Commits

Author SHA1 Message Date
b267fd7694 fpspreadsheet: Implement reading of cell comments from opendocument files. Fix cell text with manual line break in opendocument files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 16:50:23 +00:00
cca611b21b fpspreadsheet: Basic support for cell comments in fpspreadsheet.pas, fpspreadsheetgrid.pas and fpsactions.pas. Update chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 14:48:51 +00:00
6869583b9a RxFPC: TCurrencyEdit.Clear now work
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 12:27:21 +00:00
7b848b49d8 richmemo: gtk2 replacing memostrings with richmemostrings (not using timer). uninstalling selection-change handler on destruction of the widget to prevent crashes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:51:43 +00:00
5808947710 fpspreadsheet: Show details of TXO record in BIFF explorer (needed for cell comments)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:23:41 +00:00
0ecf404c0a fpspreadsheet: Fix TsWorksheetGrid showing frozen cells with black border if TitleStyle is not tsNative. Fix TsSpreadsheetInspector and spready demo crashing due to ignoring the cell content type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 12:39:52 +00:00
f4bf29da87 fpspreadsheet: Further improvement of file format detection. Use it in BIFFExplorer as well.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:39:01 +00:00
b765956574 fpspreadsheet: Fix comments in TCell declaration
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:18:49 +00:00
9ff9bc15b5 fpspreadsheet: Improved file format detection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:01:49 +00:00
8f3d5d471f fpspreadsheet: Fix buffered stream reading speed issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-27 19:31:57 +00:00
2b0276dfbc * Change parameters name in event types to avoid conflicts in $mode objfpc programs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3903 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-27 01:35:43 +00:00
e3a0d4a858 fpspreadsheet: Add missing cell record helper for "BorderStyles"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-25 23:30:15 +00:00
48db5117f5 richmemo: win32 prevent selection change on inline insert
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-25 19:28:08 +00:00
beb99b00e3 fpspreadsheet: Undo unintentional change of xlsbiff5 in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3900 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-25 18:36:37 +00:00
9b0e720b37 fpspreadsheet: Re-add copytests to test suite (they had been dropped after modification of TCell structure).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3899 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-25 18:25:57 +00:00
22a7e50170 fpspreadsheet: Put numerical data of the TCell record into a variant record --> further reduction of memory consumption per cell (now by 70% of original TCell).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3898 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-24 22:52:22 +00:00
3113794fab fpspreadsheet: Fix crash when reading a BIFF5 file written by Excel97 (it has data (the directory) beyound the workbook stream which is not expected by the BIFF5/8 readers).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3897 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-24 22:19:55 +00:00
9d89f1dcf3 fpspreadsheet: Fix missing error to be shown when a sheet containing a formula with circular reference is calculated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-24 15:44:54 +00:00
d9343190a4 fpspreadsheet: Add mission routines of the cell record helper. Some cosmetics. Clean up commented lines from previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3895 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-24 00:36:10 +00:00
133bf09eb4 fpspreadsheet: Massive reconstruction: remove formatting attributes of TCell record and collect in TCellFormatList. TCell only has index into this list. Introduce record helpers to keep the old syntax. Reduction of memory consumption per cell by 50%.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-23 21:54:23 +00:00
7793cf2063 Improve project files (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:36:07 +00:00
b5cd38509b Remove redundant casts, PtrInt -> Integer, IInterface in classes definitions (Thanks Juha) 1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:34:01 +00:00
8b22dded32 Remove redundant casts, PtrInt -> Integer, IInterface in classes definitions (Thanks Juha) 1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:31:59 +00:00
f5e5b7dc75 RxFPC: rxdbgridexportspreadsheet - fix compile with current fpspreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 05:29:35 +00:00
e0b19fe05c Fix compilation : Add unit path "..\.." to packages. (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-18 00:17:53 +00:00
4cd756e318 Interface File Generator => use qualified type name (unit.type) to disambiguate name collision.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-18 00:09:46 +00:00
2bf5464fc6 fpspreadsheet: Move type declarations from fpspreadsheet.pas to new unit fpstypes.pas. Update all examples.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-17 22:57:23 +00:00
5398384975 FPC 3.x compatibility (Thanks Oleg, initial patch)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-17 19:15:48 +00:00
80c2ec255c fpspreadsheet: Some improvements in Laz 1.0 compatibility, still issues. Fix style error in wikitable writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-14 15:34:20 +00:00
fd627c1fa1 fpspreadsheet: Introduce an include file (fps.inc) with all conditional defines. They are needed to compile the packages with older LCL/FPC versions (tested back to Laz1.0 / FPC2.4). All patched procedures are in fpspatches.pas and turned on/off by these defines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3884 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-13 19:02:57 +00:00
2ef2765646 fpspreadsheet: Better way to avoid storing of TsWorksheetgrid's ColWidths/RowHeights in lfm, thanks to Engkin. Fix compilation error in fpsvisualutils.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-12 11:42:23 +00:00
1eec58e7ae RxFPC: Rename resource for TRxDBDateEdit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-12 11:02:55 +00:00
185d4dc968 fpspreadsheet: Set default col/row headers of TsWorksheetGrid immediately after adding to form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3881 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-11 16:23:47 +00:00
c65e2b60d5 fpspreadsheet: Working solution for avoiding storing TsWorksheetGrid's colwidths and rowheights in lfm file, requires Laz trunk.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-11 15:52:30 +00:00
988c2a3d7a fpspreadsheet: Less warnings. Prepare TsWorksheetGrid to avoid storing of colwidths and rowheights (requires Mantis #0027279 in Lazarus)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3879 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-09 22:25:20 +00:00
f1bdde968a fpspreadsheet: Add some forgotten comments on xls format detection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3878 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-08 17:49:00 +00:00
f1d5a14660 fpspreadsheet: Add demo "workbookchartsource" to "fpschart" folder. Move previous content of fpschart to subfolder "worksheetchartsource". Fix old fpschart demo to show a reasonable chart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-08 17:36:41 +00:00
bf61320db8 fpspreadsheet: Fix compilation of fpspreadsheet packages back to Laz 1.2.0 / fpc 2.6.2 (Note: some "ignored" unit tests do produce a failure).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-08 12:14:59 +00:00
3ea51f22b2 fpspreadsheet: Avoid TsWorkbookChartSource ignoring series color.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-08 11:23:07 +00:00
52cb1f0bf5 Fix Binder's code generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-07 14:14:04 +00:00
b2e1e27b73 Fix comparison with invalid socket value in Synapse (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-07 14:13:05 +00:00
157a1133fb fpspreadsheet: Use interfaces in the notification mechanism of the visual controls - this avoids requiring the TAChart package even in case of non-chart-aware spreadsheet programs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-06 17:42:54 +00:00
b450c32ad3 RxFPC - version 2.7
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-06 06:47:40 +00:00
d770e2adff RxFPC - fix version number
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-06 06:47:18 +00:00
408e81b6ea RxFPC: Rename TDBDateEdit to TRxDBDateEdit. Warning - this version of RxFPC ONLY for Lazarus 1.3 and later
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-06 06:09:20 +00:00
218ee092dd RxFPC - fix version 2.2 for Lazarus 1.2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-06 05:42:18 +00:00
2c81897ffc fpspreadsheet: Avoid duplicate code in TsWorkbookChartSource. Fix crashes of the chartsource when used worksheets are renamed or deleted. More refined notification of visual controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-05 23:32:49 +00:00
41fe618242 * Implement items.GetNamePath
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-04 01:12:42 +00:00
98b35354b6 fpspreadsheet: Initial version of TsWorkbookChartSource (will replace TsWorksheetChartSource)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-03 20:03:55 +00:00
4f9cf13e5f Improve project files (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-03 13:44:46 +00:00