Commit Graph

26 Commits

Author SHA1 Message Date
wp_xxyyzz
dc4314db8b fpspreadsheet: Fix grid painting into header cells if fixed columns are used.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-30 12:39:54 +00:00
wp_xxyyzz
fe861e4d49 fpspreadsheet: Fix WorksheetGrid painting issue with merged cells (http://forum.lazarus.freepascal.org/index.php/topic,36276.msg241563/topicseen.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-22 22:08:25 +00:00
wp_xxyyzz
b736103903 fpspreadsheet: Make WorksheetGrid respect the spSelectLockedCells and spSelectUnlockedCells flags in the worksheet's Protection set. Like in Excel, TsCellEdit displays an error message box if the user tries to focus it in case of a locked cell.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5815 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-20 11:10:02 +00:00
wp_xxyyzz
a9f7b4fc20 fpspreadsheet: Add new cell action TsCellProtectionAction.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-19 12:38:17 +00:00
wp_xxyyzz
203d1907c8 fpspreadsheet: WorksheetGrid and CellEditor respect worksheet and cell protection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-18 22:43:13 +00:00
wp_xxyyzz
59a38caa22 fpspreadsheet: Fix painting glitches of frozen pane border lines in WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-18 22:28:06 +00:00
wp_xxyyzz
932290dee9 fpspreadsheet: Fix WorksheetGrid cell painting in RTL mode being offset by 1 pixel and erasing grid lines
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-18 21:50:51 +00:00
wp_xxyyzz
06d6acfe2b fpspreadsheet: Fix painting bug in grid next to fixed header column.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-18 16:27:44 +00:00
wp_xxyyzz
4dcc147e5b fpspreadsheet: Many improvements in TsWorksheetGrid (painting of borders and images in frozen areas, fixing of clipping bugs, fixing of RTL bugs). Still some issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-18 15:19:12 +00:00
wp_xxyyzz
48d87a0caf fpspreadsheet: More efficient clipping in drawing of images on WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5802 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-08 21:36:13 +00:00
wp_xxyyzz
ea421f483d fpspreadsheet: Fix mis-positioning of images read from ods files in WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5801 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-08 15:24:00 +00:00
wp_xxyyzz
a5d8446783 fpspreadsheet: Initial version to display embedded images in the WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5800 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-08 11:50:58 +00:00
wp_xxyyzz
a729c0ee1c fpspreadsheet: Fix grid painting issue in RTL mode (incorrect left border of cliprect in InternalDrawRow)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-02 09:48:31 +00:00
wp_xxyyzz
7383d29bb7 fpspreadsheet: Fix overflowing right-align cell painting into fixed cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5762 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-20 17:19:00 +00:00
wp_xxyyzz
694b61fac2 fpspreadsheet: Experimental implementation of moving of columns (see http://forum.lazarus.freepascal.org/index.php/topic,35733.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5750 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-15 21:56:11 +00:00
wp_xxyyzz
6ac78ab6b6 fpspreadsheet: Fix default value of TsWorksheetGrid.AutoExpand.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5749 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-15 10:08:42 +00:00
wp_xxyyzz
2d45c4ca42 fpspreadsheet: Add new AutoExpand mode aeDefault to WorksheetGrid which expands a "small" worksheet to default size (see: http://forum.lazarus.freepascal.org/index.php/topic,35347.msg237128.html#msg237128)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5742 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-09 18:47:02 +00:00
wp_xxyyzz
07f9fa03df fpspreadsheet: Fix worksheetgrid initially selecting cell B1 if attached to the internal workbook source
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5738 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-03 12:09:21 +00:00
wp_xxyyzz
f481479e3f fpspreadsheet: Fix AutoRowHeight calculation in grid if numberic cell content is rotated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5737 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-01-30 21:39:14 +00:00
wp_xxyyzz
ebb8ad7ad3 fpspreadsheet: Ignore merged cells when calculating AutoColWidth (like Excel).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-01-30 21:18:56 +00:00
wp_xxyyzz
c1adce9a43 fpspreadsheet: Fix AutoColWidth calculation if cell content is wider than column
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-01-30 18:04:36 +00:00
wp_xxyyzz
2200c4879e fpspreadsheet: Fix crash when WorksheetGrid with assigned WorkbookSource is used in a frame (see http://www.lazarusforum.de/viewtopic.php?f=18&t=10428)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-01-21 21:39:20 +00:00
wp_xxyyzz
ff50ff842d fpspreadsheet: Make DEFAULT_COL_COUNT and DEFAULT_ROW_COUNT variables (instead of const).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-12-23 20:52:52 +00:00
wp_xxyyzz
e22ceab9c9 fpspreadsheet: Fix grid's Col/RowCount not being reduced if a sheet with less cols/rows than the current sheet is selected (http://forum.lazarus.freepascal.org/index.php/topic,35182.msg232477.html#msg232477). Introduce top/left cell indexes in worksheet to make sure that active cell remains at the row/col stored in the worksheet when changing worksheets.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-12-23 17:05:14 +00:00
wp_xxyyzz
a31f259f9d fpspreadsheet: Fix text overflow and merged cell not being drawn for frozen cols and rows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5294 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-25 13:46:17 +00:00
wp_xxyyzz
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