Commit Graph

5309 Commits

Author SHA1 Message Date
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
e0df72b82d fpspreadsheet: Make TsWorksheetGrid.UpdateRowHeights public, add optional parameter "AEnforceCalcRowHeight".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-12 10:25:19 +00:00
f05e437ba3 fpspreadsheet: Unless enforced, no row height calculation for rows without row record. Remove useless Disable/EnableControls methods of TsWorkbookSource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-12 10:14:16 +00:00
c3ee25b99e fpspreadsheet: Write row format to xlsx. Update colwidth test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-09 21:19:19 +00:00
14c57c73bc fpspreadsheet: Read/write biff2 column/row formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-09 10:50:33 +00:00
9b6a4ba327 fpspreadsheet: Write column and row formats to xlsx
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5253 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-08 20:43:47 +00:00
547331def4 fpspreadsheet: Write column and row formats to biff5/biff8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-08 17:57:29 +00:00
33f7d1b3af epiktimer: Fix compilation for fpc3.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5251 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-08 11:50:29 +00:00
db7fbe66f0 fpspreadsheet: Read column and row formats from xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5250 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-07 16:50:38 +00:00
e47b907659 fpspreadsheet: Initial commit with row and column formats. Display in grid seems to work. Reading implemented for biff8 and biff5.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5249 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-07 13:52:08 +00:00
baaf12ebfa fpspreadsheet: Improved display of row heights in TsSpreadsheetInspector
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5248 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-07 09:21:09 +00:00
3a7f7b1f0f biffexplorer: Improved display of row height records
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-07 09:20:21 +00:00
642822a08c fpspreadsheet: Fix some typos in Worksheet grid wiki article.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5246 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-06 22:16:20 +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
47a09340ee fpspreadsheet: Fix occasional rounding issue (http://www.pilotlogic.com/sitejoom/index.php/forum/pl-fpspreadsheet/3452-number-in-cell-and-formatting)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-06 08:26:22 +00:00
4df9e5dc9b fpspreadsheet: Fix reading of numbers formatted as text (@). See http://www.pilotlogic.com/sitejoom/index.php/forum/pl-fpspreadsheet/3656-pl-fpspreadsheet-wrong-reading-libre-office-calc-file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-05 22:02:41 +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
669aaf7798 fpspreadsheet: Remove new WorksheetGrid property AutoCalcRowHeights again. Row heights are recalculated only if still at initial value of 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-02 09:23:33 +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
4691888297 fpspreadsheet: Change default value of new WorksheetGrid property AutoCalcRowHeights to false
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5235 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-01 12:50:29 +00:00
1ae0540c8e fpspreadsheet: Fix worksheetgrid not recalculating row height in case of cell content or format change
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-01 12:37:30 +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
5a55a015c0 RxFPC:fix AV in RxFilterBy form. tnx naum_off
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-29 13:49:49 +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
c9fcde924c RxFPC: Translation. tnx kit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 06:09:46 +00:00
64f5eff922 fpspreadsheet: Read/write zoom factor from/to OpenDocument files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 05:56:38 +00:00
f01a005300 fpspreadsheet: Read/write zoom factor from/to xlsx file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-28 05:18:08 +00:00
c015acfa0f fpspreadsheet: Read zoom factor from BIFF8 and BIFF5 files, and write it back
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 23:03:09 +00:00
aa04c61ba3 fpspreadsheet: Fix zooming of rich-text cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 18:07:51 +00:00
048f8dd7de fpspreadsheet: Simplification of previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5223 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 17:24:48 +00:00
1f3e78f896 fpspreadsheet: Fix word wrap algorithm getting stuck if column width is smaller than the character width.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 17:16:47 +00:00
80e3ae6ef0 fpspreadsheet: Fix "row height 0" issue after one of the recent commits. Call row height calculation after scrolling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 13:22:30 +00:00
0f1c8da837 richmemo: win32 win32richmemoole should be considered as a part of the package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 03:33:00 +00:00
98caf0bcec richmemo: win32 - restoring the context menu functioning, based on the patch by Andrey Korol
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 03:32:16 +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
aed1feecaa RxFPC:fix docs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-26 11:53:51 +00:00
80bc520136 RxFPC:add component icon for RxLazReport component
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-26 10:18:31 +00:00
031a80c310 RxFPC: TFolderLister - fix Owner for menu items
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-26 07:55:49 +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
a85bda5f5d fpspreadsheet: Restore old cell content if ESC is pressed in the TsCellEdit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 21:50:51 +00:00
4a1bea77f7 fpspreadsheet: Add new grid method LoadSheetFromSpreadsheetFile (in order to be able to read a specific sheet without having to specify the file format id).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 21:36:52 +00:00
8d22d09e3f fpspreadsheet: Refactor WorksheetGrid behavior on ESC key
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 21:29:32 +00:00
7865499417 fpspreadsheet: Remove an overloaded LoadFromSpreadsheetFile method of TsWorksheetGrid to make this method compile with all levels of optional parameters used.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-25 20:26:02 +00:00