Commit Graph

3080 Commits

Author SHA1 Message Date
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
9139f15d74 fpspreadsheet: Additions to TsSpreadsheetGrid:
- Add property Cells
- Add overloaded MergeCells and UnmergeCells methods
- Publish property CellFontColor.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 00:03:09 +00:00
d271a0a469 iphonelazext: added handling of unregistered classes and unknown properties, so the data would not be lost, even if not recognized by rtti reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-17 07:13:47 +00:00
81c4d1c7d5 iphonelazext: added support for unknown (unregistered) pbx class.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4427 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-16 07:00:58 +00:00
d59b9250ff iphonelazext: added unescaping of PBX properties values during parsing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-16 06:48:25 +00:00
76d93becf9 iphonelazext: fix pbx file reading to process escaped quote characters. Registered PBXShellScriptBuildPhase for reading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-16 06:16:32 +00:00
6b71585e4e iphonelazext: fix pbxtest compilation to use new function names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-16 05:47:34 +00:00
38f29ba1b9 TRxDateEdit - publish property Spacing (from lazarus rev. 51277)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4423 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-15 11:58:38 +00:00
cd836a393b RxLazReport controls - fix TlrRxDBLookupComboBox.Text property
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-14 12:04:08 +00:00
bda0aeb336 RxToolbar - add property CustomizeShortCut - allow change ShortCut in config dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4421 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-14 10:13:52 +00:00
91a51d1759 RxToolbar - in config dialog show shrotcut
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4420 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-14 07:28:02 +00:00
48c2e71437 lazbarcodes: Assign useful values to width and height. Fix range overflow error in "Generate".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-11 10:06:12 +00:00
8dddccd63e * Use clBtnText instead of clWindowText in header caption (trunk)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-07 10:28:05 +00:00
add0db0bee iphonelazext: changed update Xcode project. Only create info.plist, if file doesn't exist, reuse, if existing info.plist
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-07 05:22:03 +00:00