|
072efe0a95
|
fpspreadsheet: Fix hyperlinks tests under Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-08 17:27:52 +00:00 |
|
|
d16e0915f5
|
fpspreadsheet: Fix hyperlink unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4007 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-08 17:04:25 +00:00 |
|
|
7c169b576f
|
fpspreadsheet: Forgot to add hyperlinktests.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-08 00:51:39 +00:00 |
|
|
2d76afb541
|
fpspreadsheet: Unit tests for hyperlinks. Some issues left.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-08 00:50:10 +00:00 |
|
|
9365a1dff2
|
fpspreadsheet: Reduce support for shared formulas (too many problems...), only reading from xls and xlsx files supported.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3998 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-06 12:12:45 +00:00 |
|
|
7dc4fd2a7e
|
fpspreadsheet: Fix 2nd parameter of formula HYPERLINK
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-05 21:47:27 +00:00 |
|
|
52515073d2
|
fpspreadsheet: Add spreadsheet function "=HYPERLINK(link, cell_text)"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3995 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-05 20:07:15 +00:00 |
|
|
2c63f357de
|
fpspreadsheet: Move InitFormatRecord from unit fpstypes to fpsutils. Add enumeratortests to spreadtestcli.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3992 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-05 10:54:06 +00:00 |
|
|
c5f6cbe82d
|
fpspreadsheet: Replace for-to loops by for-in loops if possible. Update example demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-05 10:35:32 +00:00 |
|
|
7e52faa49f
|
fpspreadsheet: In fpspreadsheet.pas, extract cells AVLTree to fpsclasses.pas. Implement enumerator for the avl trees. Add unit tests for cell and comment enumeration.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-04 17:30:59 +00:00 |
|
|
23d6bdc557
|
fpspreadsheet: Fix writing of empty strings to cell. Fix biff8 stream read error of hyperlinks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-03 00:06:15 +00:00 |
|
|
135ceb1eef
|
fpspreadsheet: Fix WorksheetGrid to show selection of merged cell range correctly. Fix cell content of blank cells after adding a hyperlink.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-02 21:20:00 +00:00 |
|
|
a10546d99b
|
fpspreadsheet: Migrate MergeCells tree to fpsClasses
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-02 16:50:14 +00:00 |
|
|
7ad2d347ea
|
fpspreadsheet: Begin migration of code related to AVLTrees to new unit fpsclasses. Hyperlinks and comments trees already migrated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3978 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-02 12:23:52 +00:00 |
|
|
f92da238ee
|
fpspreadsheet: Consider hyperlinks when inserting/deleting rows/columns
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3975 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-01 22:20:03 +00:00 |
|
|
5a4bb856f5
|
fpspreadsheet: Fix TsWorksheet.CopyCell ignoring comments, hyperlinks and merged cells. Fix incorrect handling of trailing zeros of hyperlink strings when reading biff8.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-01 12:23:14 +00:00 |
|
|
aca6971fe2
|
fpspreadsheet: Rename TsWorksheet.IsHyperlink to .HasHyperlink to be consistent with .HasComment
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3973 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-03-01 11:40:04 +00:00 |
|
|
58031aba3a
|
fpspreadsheet: Modify hyperlink infrastructure to support non-label cells as well. Add hyperlinks to biff8 reader. Show hyperlink tooltip in TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3971 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-28 23:46:08 +00:00 |
|
|
b45156a654
|
fpspreadsheet: Write hyperlinks to xls files (BIFF8 only, feature not supported by others)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-27 20:23:26 +00:00 |
|
|
d7af16ab5b
|
fpspreadsheet: Fix memory leak in reader. Write hyperlinks to ods file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3966 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-25 22:39:52 +00:00 |
|
|
e861651ddf
|
fpspreadsheet: Read hyperlinks from ods files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3965 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-25 18:18:50 +00:00 |
|
|
0bfcd5c4f8
|
fpspreadsheet: Introduce "settings" records for each file format to define parameters needed for reading/writing. This fixes two unit test fails in Ubuntu (only 1 fail left).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3964 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-25 10:55:46 +00:00 |
|
|
ea36d2e089
|
fpspreadsheet: Shorten fpspreadsheet.pas by putting NumFormatList and CustomReader/Writer to separate units
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-25 09:43:37 +00:00 |
|
|
1b35aa8bb2
|
fpspreadsheet: Fix compilation of visual package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-24 23:23:15 +00:00 |
|
|
5d939e5821
|
fpspreadsheet: Write hyperlinks to xlsx files. Some restructuring of the hyperlink record.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-24 16:57:36 +00:00 |
|
|
97ddec5e62
|
fpspreadsheet: Fix utf8 converion error in boff2 (formulas with string results)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-24 11:04:19 +00:00 |
|
|
e0ba07f38b
|
fpspreadsheet: Fix compilation errors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-24 00:30:26 +00:00 |
|
|
20ad9c24f2
|
fpspreadsheet: read hyperlinks from xlsx files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-23 22:51:42 +00:00 |
|
|
70b859530f
|
fpspreadsheet: Improved user interface in TsSpreadsheetGrid for clicks on hyperlink cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3956 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-23 18:50:29 +00:00 |
|
|
4f6184f243
|
fpspreadsheet: Prepare infrastructure for cell hyperlinks
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-22 23:38:28 +00:00 |
|
|
eddf623803
|
fpspreadsheet: Restructure merged cells. Info on merged cells is no longer stored in cell, but in separate avltree, FMergedCells. Unit tests ok.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-22 00:12:16 +00:00 |
|
|
e59ea19149
|
fpspreadsheet: Remove some duplicate code related to merged cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-20 18:55:38 +00:00 |
|
|
d005a0c3c9
|
fpspreadsheet: Fix location of cell comments after insert/delete of rows/cols
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-19 18:09:47 +00:00 |
|
|
3d3c0e766f
|
fpspreadsheet: Extend BIFFExplorer to show details on hyperlink and hyperlink tooltip records in BIFF8.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-18 17:33:52 +00:00 |
|
|
dd4e66216a
|
fpspreadsheet: Add background fill styles for cells. Fully implemented for Biff5, Biff8 and OOXML; ODS writes an interpolated solid fill (like Open/LibreOffice); Biff2 supports only the 50% gray black&white fill.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3949 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-17 23:32:00 +00:00 |
|
|
f34b79c6fd
|
fpspreadsheet: Add TCell record helper to access cell comments from the cell
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-15 22:18:38 +00:00 |
|
|
54c2af0154
|
fpspreadsheet: reformatting, cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-15 22:05:20 +00:00 |
|
|
03efde6cab
|
fpspreadsheet: Rearrange cell comment architecture: to save memory cell comments are now stored in the worksheet's avltree "Comments". Replace cell's "CalcState" by more general "Flags" which signals that a cell contains a comment (to be extended...)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-15 11:45:08 +00:00 |
|
|
8e7a3b741a
|
fpspreadsheet: Add unit xlsEscher for writing Microsoft Office shapes needed for cell comments in BIFF8. Writing of comments not yet working. Lots of additions to BIFFExplorer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-14 22:27:49 +00:00 |
|
|
99d3c528f3
|
fpspreadsheet: Fix TsWorksheetGrid ignoring worksheet's DefaulColWidth
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-08 22:22:40 +00:00 |
|
|
47cb730370
|
fpspreadsheet: Add test cases for cell comments. Fix some bugs related to comments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-08 18:26:47 +00:00 |
|
|
8dc16503cd
|
fpspreadsheet: Add test case for biff2 file with more than 62 xf records
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-08 13:08:49 +00:00 |
|
|
9ac8e4f9a7
|
fpspreadsheet: Fix biff2 reader failing to get correct xf record for locked cells. Fix biff2 reader if there are more than 62 xf records in a file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3935 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-08 11:53:37 +00:00 |
|
|
21398a50c5
|
fpspreadsheet: Fix occasionally incorrect width of row header column in TsWorksheetGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-08 09:41:10 +00:00 |
|
|
d8a3204045
|
fpspreadsheet: Clean up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-07 22:24:08 +00:00 |
|
|
ee5cddb23f
|
fpspreadsheet: Writing of cell comments to xlsx files working now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-07 22:04:03 +00:00 |
|
|
ecdf775291
|
fpspreadsheet: Some optimizations for writing comments to xlsx files, but still not working.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-06 20:11:39 +00:00 |
|
|
c896fa3733
|
fpspreadsheet: Fix "FitToCell" method of TsWorksheetGrid to be active only with nfGeneral-formatted numbers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3930 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-05 18:06:52 +00:00 |
|
|
e90222405a
|
fpspreadsheet: Fix drawing of comment marker in TsWordsheetGrid for overflowing cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-05 17:50:23 +00:00 |
|
|
39d652bf60
|
fpspreadsheet: Read cell comments from BIFF8 files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2015-02-05 11:23:06 +00:00 |
|