21b927cc27
fpspreadsheet: Add property Worksheet.Index.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-09 23:15:10 +00:00
8096d92b8f
fpspreadsheet: Add option to define series labels in TsWorkbookChartSource.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-22 13:58:46 +00:00
00c14b31a1
fpspreadsheet: Fix mis-named folders examples/visual/fpschart/workbookchartsource and .../worksheetchartsource to have the "deprecated" at the correct place.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-22 08:42:38 +00:00
2e252ce658
fpspreadsheet: Add new TsWorkbookTabControl property ShowAllSheets (to be used to hide sheets marked as hidden).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-10 09:25:25 +00:00
4cdb95d86c
fpspreadsheet: Set version to 1.11. Make default parameter of TsWorkbook.CopyWorksheetFrom non-default.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-09 17:27:22 +00:00
92f59fbfd1
fpspreadsheet: Prepare for release 1.10
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-06 16:15:51 +00:00
40fabfc201
fpspreadsheet: Redo storage of formulas: formulas now are stored in a separate tree independent of the cells tree. The field FormulaValue of TCell record was removed. All unit tests passed. Demos updated (issues of speedtest due to SST in BIFF8 found - not related).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-30 22:15:07 +00:00
685581a8da
fpspreadsheet: Fix WorksheetGrid event OnSelectCell not firing any more. Less hints.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-27 16:43:27 +00:00
055a4eb439
fpspreadsheet: Fix reader not found error in demos fpsctrls and fpsctrls_no_install
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-11 21:38:15 +00:00
f85d2543ba
fpspreadsheet: Make sure that all demos are compiled with -Xg
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-20 17:21:56 +00:00
c8e0dfe161
fpspreadsheet: Extend zoom demo to show all pages of the same workbook with the same predefined zoom factor
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-12-19 22:20:22 +00:00
3e6dd484f7
fpspreadsheet: Fix compilation issues when fpc version is changed: separate package units into different folders, incorporate code of fpsnumformatparser in unit fpsnumformat and code of fpsregfileformats in units fpsreaderwriter. Check and fix all demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-22 20:59:00 +00:00
531ef0432e
fpspreadsheet: Delete folder examples/visual/shared. The units were moved to (ccr)/applications/spready
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5280 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-21 21:03:08 +00:00
75492d48ea
fpspreadsheet: Replace the demo project in fpsctrls by the one created in the wiki spreadsheet tutorial. The former version has been extended and moved to the folder "applications/spready" of ccr.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5279 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-21 20:57:58 +00:00
877d097365
fpspreadsheet: Delete demo project "spready", An extended version is found in ccr folder "applications"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-21 19:38:12 +00:00
301f7034db
fpspreadsheet: Add "Auto row height" command to menu of fps_ctrls demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5259 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-12 22:40:48 +00:00
bdeef86e41
fpspreadsheet: Significantly speed up zooming of large worksheets
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-12 18:00:56 +00:00
b75e220a8d
fpspreadsheet: Update docs
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-06 21:42:16 +00:00
85187e4927
fpspreadsheet: Add zoom actions. Make worksheetgrid and spreadsheet inspector react on zoom changes. Update fpsctrls demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-03 22:00:27 +00:00
abe0de42e1
fpspreadsheet: Temporarily activate all WorksheetGrid's AutoExpand modes during file loading (see forum http://forum.lazarus.freepascal.org/index.php/topic,34276.msg224096/topicseen.html#new ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-03 17:59:08 +00:00
9eb50b81d3
fpspreadsheet: Fix zoom demo file reading error if format is unknown.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5240 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-03 17:24:59 +00:00
1257b32614
fpspreadsheet: Scroll active grid cell back into viewport if lost by zooming process.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-02 11:45:22 +00:00
b4851141c0
fpspreadsheet: Fix fpsctrls demo picking the correct file extension for saving.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5237 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-01 22:19:02 +00:00
88e48c66de
fpspreadsheet: Extend TsSpreadsheetInspector to show row records
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-01 21:46:44 +00:00
863be778f9
fpspreadsheet: Add row height type to row record to distinguish custom from auto-calculated row heights. Add grid property AutoCalcRowHeights to use pre-calculated row height instead of always automatically recalculating row heights.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-01 12:20:18 +00:00
be413db8f0
fpspreadsheet: Fix fpsctrls demo showing a thick black line when column width is changed by dragging header edge (caused by UseXORFeatures=true).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 17:39:46 +00:00
ac9245401a
fpspreadsheet: Add workbook option boWriteZoomFactor and update xls, xlsx and ods writers. Extend zoom demo by saving command. Add define CALC_ALL_ROWHEIGHTS to fpspreadsheetgrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 16:35:39 +00:00
f87e5706fb
fpspreadsheet: Add example for zooming.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 09:08:15 +00:00
0a99b97c4b
fpspreadsheet: Add zooming support to WorksheetGrid (use SHIFT+CTRL+MouseWheel in fpctrls demo).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-26 22:34:28 +00:00
f38a3f42de
fpspreadsheet: Fix WorksheetGrid.OnValidateEntry not showing OldValue and NewValue parameters (issue #30236 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 22:23:26 +00:00
d8bf9f10b7
fpspreadsheet: Fix grid autoexpanding for navigation purposes.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 08:53:01 +00:00
ff2e533d06
fpspreadsheet: Fix rewinding error of rtf memory stream when reading biff8 (see forum http://forum.lazarus.freepascal.org/index.php/topic,34150.msg223013 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-24 21:38:57 +00:00
2c01d20390
fpspreadsheet: Undo prev fix of compilation error because it is fixed in grids.pas now. Update title style of TsWorksheetGrid for Win10.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4653 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-17 11:47:17 +00:00
34025326da
fpspreadsheet: Workaround for ods rows and columns erroneously added by Libre/OpenOffice when importing an xlsx file (see forum http://forum.lazarus.freepascal.org/index.php/topic,32193.0.html )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-08 18:54:58 +00:00
233a4b43b4
fpspreadsheet: Remove/deprecate all color constants and color names exceot for the basic EGA colors.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4608 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-06 10:43:24 +00:00
7b9a56cd3e
fpspreadsheet: Add method AddColors and event OnGetColorName to TsCellCombobox. Remove ComboColors.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-06 08:37:34 +00:00
313853b6e3
fpspreadsheet: Activate i16n for translation of strings. Add German translation. Some cleanup (hints & warnings).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-24 22:37:10 +00:00
5b946b751f
fpspreadsheet: Add units (mm, cm, in, pts, lines/chars) for column width and row heights. Update all demos (some issues left).
...
NOTE: This revision breaks existing code if the worksheet's DefaultRowHeight/DefaultColWidth is changed - value must be in millimeters now. Methods for accessing individual row heiths and column widths are fine, but are marked as deprecated, they use the old units. Optionally a unit parameter can be specified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-18 19:50:40 +00:00
66201c6caa
fpspreadsheet: Add reading of ods sheet images. Update TsSpreadsheetInspector.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-16 12:24:47 +00:00
c8d5e0f95a
fpspreadsheet: Add text format. Allow leading apostrophe to prevent conversion of a cell text to numbers.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 21:17:53 +00:00
1504384e79
fpspreadsheet: Add reading of print ranges and repeated print cols/rows for xlsx. xlsx unit test for print ranges. Fix reading/writing of worksheets with spaces and special xml entities in the sheet name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-15 21:12:17 +00:00
ef7c595cf7
fpspreadsheet: Fix several painting issues of TWorksheetGrid related to merged cells. Add diagonal borders to fpsActions and demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-29 09:59:37 +00:00
9e637a3e93
fpspreadsheet: Fix compilation of spready
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4481 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 22:29:45 +00:00
7679ef468c
fpspreadsheet: Show message during writing when a formula is not supported by file format. Fix TsWorkbookSource ignoring its set options (i.e. ReadFormulas and AutoCalc working again).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 22:17:56 +00:00
58b31b09a7
fpspreadsheet: Add new property AutoExpand to the WorksheetGrid. Extend fpsgrids demo (no install version) correspondingly.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 16:23:56 +00:00
bbe063d794
fpspreadsheet: Add property SelectionPen to WorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4449 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 11:39:05 +00:00
7d731629e1
fpspreadsheet: Add method LoadFromWorkbook to WorksheetGrid and WorkbookSource. Remove "deprecated" from some overloaded workbook file access methods.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 10:55:55 +00:00
7940866bb5
fpspreadsheet: Reactivate usage of ColCount and RowCount in the WorksheetGrid. Add cell content to fpsgrid demo (designtime version).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-20 21:05:02 +00:00
a352efef12
fpspreadsheet: Add new method ShowCellBorders to TsWorksheetGrid for easier cell border creation. Replace in TsWorksheetGrid the TGridRect parameter of some public properties by the direct coordinates. WARNING: THIS CHANGE COULD BREAK EXISTING CODE.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-20 15:39:22 +00:00
2ee3d18801
fpspreadsheet: Activate html codes for Cells property of TsWorksheetGrid. Extended grid demo showing run-time generation of content.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 18:40:41 +00:00