Commit Graph

3293 Commits

Author SHA1 Message Date
0ceb659793 fpspreadsheet: Add functions SUMIF and AVERAGEIF
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 18:15:44 +00:00
19cfc90061 fpspreadsheet: Implementation of COUNTIF function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 17:03:15 +00:00
590c9d8a47 fpspreadsheet: More combinations of source and destination cells for copy/paste to clipboard.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 23:37:08 +00:00
07e26c4abe fpspreadsheet: Fix editing of merged cells in TWorksheetGrid: editor has same size as merged block now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 13:44:13 +00:00
cd94f9e48e fpspreadsheet: Fix position of comment marker triangle in WorksheetGrid for RTL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 12:07:56 +00:00
aa29b42ebc fpspreadsheet: Add worksheet-BiDiMode. Read/write for Excel5, Excel8, xlsx, ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 11:26:57 +00:00
85dd9bc35d fpspreadsheet: Add BiDiMode to TCell record helper.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 23:12:48 +00:00
1184e0ce26 fpspreadsheet: Fix painting of "hair" border line (densely dotted) in WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:55:31 +00:00
16e6614574 fpspreadsheet: Fix diagonal border lines in merged cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:39:37 +00:00
9e0db3722b fpspreadsheet: Fix incoomplete saving of merged cell borders if borders are assigned only to merge base cell.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:29:13 +00:00
8184c4b609 fpspreadsheet: Add cell-based BiDiMode. Read/write to/from biff8, xlsx, ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 18:55:33 +00:00
15d43e4035 richmemo: fix compilation for LCL without 9x support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4468 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 14:40:29 +00:00
4f691313d7 fpspreadsheet: Fix merged cell borders in TWorksheet being drawn as defined by the merge base.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4467 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 13:57:19 +00:00
cf95cc412c fpspreadsheet: Fix drawing of stacked text in WorksheetGrid. Some more refactoring. Cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 10:10:25 +00:00
cf1c0122b1 fpspreadsheet: Fix painting of spaces in RTL texts in TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-24 11:09:22 +00:00
566cef1ba5 fpspreadsheet: Preserve spaces when parsing html text to be used as rich-text.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4464 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 20:01:01 +00:00
8a5364b8b7 fpspeadsheet: Fix infinite loop in TsWorksheet if word-wrapped cell gets narrower than the width of a character.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 18:15:21 +00:00
b4b631c0f8 fpspreadsheet: Fix minor painting issues in RTL mode when TsWorksheet headers are off.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4462 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 17:23:39 +00:00
89c374f198 fpspreadsheet: Fix clip rect error when painting TsWorksheet fixed cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4461 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 16:10:38 +00:00
d4acf83c51 fpspreadsheet: Fix RTL text overflow painting in TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 14:26:08 +00:00
845e9d8626 fpspreadsheet: Fix RTL text alignment bug in TWorksheetGrid for Arabian text
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 13:43:03 +00:00
61db2acff8 fpspreadsheet: Fix TWorksheetGrid focus rect on merged cells in being offset (fixed by "shobits1").
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4458 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 23:24:11 +00:00
9dc3304375 fpspreadsheet: In the WorksheetGrid, adapt default HorAlignment to right-to-left mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4457 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 21:38:04 +00:00
74d6314155 fpspreadsheet: Refactor rich-text drawing for TWorksheetGrid (now blocks with same font, instead of char-by-char).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 21:22:05 +00:00
453823d8bf Minor changes so demo apps compile with FPC 3.0 on non-Windows platforms.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 14:54:35 +00:00
3611a8ccbf Minor changes so it compiles with FPC 3.0 on non-Windows platforms.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4454 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 14:53:52 +00:00
275b48e7ca fpspreadsheet: Fix bug in drawing the WorksheetGrid's extended selection rectangle in RTL mode. Some simplification of current RTL code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 09:26:10 +00:00
134f7b1e51 fpspreadsheet: Beginning to implement RTL mode for the WorksheetGrid (merged cells, borderlines, selection), code by forum user "shobits1"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4452 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 22:45:38 +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
71a97d460c RxFPC:Publish OnMouseEnter and OnMouseLeave for TRxDBGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4450 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 13:50:25 +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
f76da1c6b0 fpspreadsheet: Fix test suite not removing a particular temporay file after test,
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 23:14:43 +00:00
0030a37294 Minor change so it compiles with Laz 1.6.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4444 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 21:52:33 +00:00
0b6a62b46c fpspreadsheet: Fix painting artefacts of TsWorksheetGrid when resizing col widths or row heights by dragging with mouse.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4443 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 19:34:28 +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
1954c8dea7 fpspreadsheet: Fix WorksheetGrid's colwidths and rowheights at designtime
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4441 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 18:09:21 +00:00
d74f95b11c iphonelazext: removed the interception of project building action
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 13:59:15 +00:00
d769397eae fpspreadsheet: Fix merged cells painting into the fixed cells of TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 12:04:41 +00:00
a433fc3fce fpspreadsheet: Fix mssing transfer of ColWidths, RowHeights, DefaulColWidth and DefaultRowHeight set by the WorksheetGrid to the worksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 00:06:29 +00:00
62246a58db fpspreadsheet: Fix the WorksheetGrid method NewWorkbook to respect the column and row count parameter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 21:53:18 +00:00
cdf96e2fa2 fpspreadsheet: Fix TsWorksheet occasionally crashing in new SetCells method.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 21:26:19 +00:00
7b707a09f6 iphonelazext: update xcode projection generation. Reuse the existing file rather than recreating it everytime
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 16:55:44 +00:00
364c9a7fc6 iphonelazext: fix compilation warnings clean up the code of debugging messages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 16:55:10 +00:00
2abce47ffb fpspreadsheet: Add property NumberFormats to TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 16:09:55 +00:00
96ceb0a296 fpspreadsheet: Make sure that formulas are erased when new cell values are written by WorksheetGrid.Cells into cells containing formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 13:35:48 +00:00
638b34c693 fpspreadsheet: Add support for formulas, as well as properties for cell comments, hyperlinks and number formats to TsSpreadsheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 12:09:06 +00:00
00d14e3914 iphonelazext: started specific project updates (getting rid of rewriting the xcode project file)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 06:49:24 +00:00