Commit Graph

118 Commits

Author SHA1 Message Date
wp_xxyyzz
96ffaaa4d2 fpspreadsheet: Fix crash of db_import_export demo in virtual mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-09 22:52:49 +00:00
wp_xxyyzz
e688582c1c fpspreadsheet: Fix xlsx reader getting dimension of an empty worksheet incorrectly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-25 09:40:05 +00:00
wp_xxyyzz
05bdb8bb88 fpspreadsheet: Fix violated file formation limitations when reading some xls files (http://www.lazarusforum.de/viewtopic.php?f=18&t=10824&start=15)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5987 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-24 15:18:13 +00:00
wp_xxyyzz
3aba9136ea fpspreadsheet: Add searching in comments. Add demo for searching.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5965 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-27 09:18:34 +00:00
wp_xxyyzz
146b28a4cc fpspreadsheet: Do not add fpspreadsheet package unit to project uses section. WARNING: Might break existing code where reader/writer units are not added explicitely.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-24 15:57:15 +00:00
wp_xxyyzz
fbb376d778 fpspreadsheet: Fix changing of WorksheetGrid column width/row height by dragging with the mouse.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-21 08:29:25 +00:00
wp_xxyyzz
aa308d6bd2 fpspreadsheet: Add functions to initialize search and replace parameter records.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-17 22:16:58 +00:00
wp_xxyyzz
7d59e20f9f fpspreadsheet: Fix crash of visual controls when workbook.RemoveAllWorksheets is called. Visual controls can handle the case of active worksheet = nil.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-14 16:40:36 +00:00
wp_xxyyzz
9be1008351 fpspreadsheet: Fix compilation after odPainted (lcltype.TOwnerDrawStateType) has been renamed in lcl to odBackgroundPainted (laz r55303)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-11 21:51:10 +00:00
wp_xxyyzz
2a1ae05840 fpspreadsheet: Fix memory leak in worksheetgrid (due to FrozenBorderPen)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-07 07:02:10 +00:00
wp_xxyyzz
c823c510e5 fpspreadsheet: Add palette icons with 150% and 200% magnification. Replace the old Excel overlay image with a more neutral spreadsheet overlay (taken from FatCow icon set)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-02 10:01:06 +00:00
wp_xxyyzz
10a0476010 fpspreadsheet: Add cursor for drag-and-drop copy mode. Add script to generate the lrs file for the visual components.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-28 15:25:50 +00:00
wp_xxyyzz
c574ed921a fpspreadsheet: Initial implementation of drag and drop within WorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-28 10:17:41 +00:00
wp_xxyyzz
505b833416 fpspreadsheet: Fix formatting error of large numbers if grid column width is very narrow (TrimToCell).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-27 17:44:51 +00:00
wp_xxyyzz
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
wp_xxyyzz
89134ba0c5 fpspreadsheetgrid: Fix "Window has no parent" error if worksheetgrid is inside a TFrame (again...). Fix overflow when loading worksheetgrid from lfm if IDE is compiled with range checking on.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-18 23:28:17 +00:00
wp_xxyyzz
25da629e34 fpspreadsheet: Allow writing duplicate filler palette entries like in the built-in Excel colors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-18 15:03:20 +00:00
wp_xxyyzz
078274920d fpspreadsheet: Fill unused BIFF5 and BIFF8 palette entries by default colors to avoid Excel XP show an incomplete color dialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-18 10:50:22 +00:00
jesusr
96e463a810 fpspreadsheet: fix typo that prevent Excel from reading xlsx files with comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-17 23:43:43 +00:00
wp_xxyyzz
5c409068c2 fpspreadsheet: Fix conversion of biff palette colors for fonts in reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5860 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-17 21:43:30 +00:00
wp_xxyyzz
e1f03daa5c fpspreadsheet: Fix biff format writing non-editable palette indexes to file (Excel cannot edit the cells any more - see http://forum.lazarus.freepascal.org/index.php/topic,36903.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-17 17:26:48 +00:00
wp_xxyyzz
61a08b692e fpspreadsheet: Set default value of TsCellEdit.WantReturns to false.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-15 10:48:05 +00:00
wp_xxyyzz
9e06abcd17 fpspreadsheet: Fix incorrect grid column count if aeDefault is not in AutoExpand flags (http://forum.lazarus.freepascal.org/index.php/topic,36770.msg246192.html#msg246192).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-14 21:41:40 +00:00
wp_xxyyzz
bea0ea9d36 fpspreadsheet: Finetune position of selection rectangle in grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 20:26:44 +00:00
wp_xxyyzz
560dedba1d fpspreadsheet: Replace property FrozenPaneBorderColor by FrozenBorderPen. Adjust location of frozen border line such that full pen width is not clipped.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 17:59:17 +00:00
wp_xxyyzz
29481d9382 fpspreadsheet: Improved painting of WorksheetGrid's FocusRect (priority to stay inside the cell).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 12:41:03 +00:00
wp_xxyyzz
dbe8c84cd7 fpspreadsheet: Introduce new property FrozenPaneBorderColor of the TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 12:34:30 +00:00
wp_xxyyzz
9a2bef119c fpspreadsheet: Fix interchanged col/row indexes in relation to multiline cell editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 11:23:08 +00:00
wp_xxyyzz
82e3edbc4b fpspreadsheet: TsWorksheetGrid ignores setting DefaultColWidth and DefaultRowHeight to values < 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-13 09:46:34 +00:00
wp_xxyyzz
281b728a74 fpspreadsheet: Add multiline string cell editor, it is activated by property EditorLineMode = elmMultiline
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-12 16:30:22 +00:00
wp_xxyyzz
59f0da6d91 fpspreadsheet: Fix Excel readers updating the workbook's default font.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-21 10:38:54 +00:00
wp_xxyyzz
e9ca7a1e2d fpspreadsheet: Fix writing vertically distorted images due to incorrect row height calculation (see http://forum.lazarus.freepascal.org/index.php/topic,31740.msg243224.html#msg243224)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-11 19:59:54 +00:00
wp_xxyyzz
1a51875560 fpspreadsheet: Replace usage of AVL_Tree by avglvltree to avoid conflicts of fpc and laz AVL_Tree versions in Laz trunk after r54524
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-06 10:35:13 +00:00
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
cbc35cb1c3 fpspreadsheet: Fix exporter writing ftFloat fields as currency cells (http://forum.lazarus.freepascal.org/index.php/topic,36321.msg241946 - patch by forum user "paweld")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-26 11:23:43 +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
18965c7740 fpspreadsheet: Further integration of cell and worksheet protection in visual controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-19 23:09:01 +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
d25851c07f fpspreadsheet: Initial commit of experimental xlsx decryption support (xlsx decryptor written by forum user shobits1).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-14 21:48:29 +00:00
wp_xxyyzz
29f8b2a131 fpspreadsheet: Fix range check error in ods writer (see http://forum.lazarus.freepascal.org/index.php/topic,36059.msg240963.html#msg240963)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-14 16:55:00 +00:00
wp_xxyyzz
b8da454852 fpspreadsheet: Add utility to crack an Excel password
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-08 22:44:09 +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