Commit Graph

4555 Commits

Author SHA1 Message Date
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
97c2cec1bb RxFPC: fix compile whith trunc FPC 3.1.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-19 05:29:48 +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
08d24d46a6 fpvviewer: New idea for rendering page sequences
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-17 10:35:43 +00:00
6fc4a28b47 fpvviewer improvements
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-17 00:12:03 +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
12e8f3f987 fpvviewer: html table example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-15 14:18:02 +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
50a5126435 RxFPC: TRxDBDateEdit - fix error on set focus if dataset.active=false
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-13 06:41:27 +00:00
dedfe4b7ee ws_helper code generation : "-gSS" (resp. "-gSU") to map XSD' "string" to Object Pascal "String" (resp. "UnicodeString").
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-09 18:38:02 +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
7d8ea2ba7b XSD parser : Better forwarded types parsing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-08 22:14:55 +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
e50643cc13 fpspreadsheet: More details on comment-related BIFF8 records in BIFFExplorer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 23:33:57 +00:00
38e4cf0e0b fpspreadsheet: Fix utf8 conversion issue of BIFFExplorer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3926 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 19:55:55 +00:00
629ac7dd00 fpspreadsheet: Remove workbook parameter from the reader's ReadFromXXXX methods to avoid with conflict by workbook passed at construction.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3925 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 19:50:50 +00:00
ac387f67e4 fpspreadsheet: Improve codepage handling for biff2 and biff2 files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3924 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-04 18:15:19 +00:00
028681029b fpspreadsheet: Fix ods comment reader crashing for ods files written by OpenOffice from xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3923 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-03 18:13:13 +00:00
9be5e6ec76 fpspreadsheet: Fix compile issue with fpc 3.1.1 (issue #0027399)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3922 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-03 12:56:58 +00:00
7a0f60f4ea fpspreadsheet: Initial implementation of writing cell comments to xlsx files - not working yet: comments are in file, but do not show up in Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-02 18:51:13 +00:00
097469f097 richmemo: gtk2 inline objects initial support. The inline samples works, but leaves a lot of resource leaks
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-02 03:14:10 +00:00
8916945ca1 fpspreadsheet: Fix missing repeated cells when reading ods file (bug #0027389)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-31 20:37:44 +00:00
5d1c4ec7c7 fpspreadsheet: Read cell comments from xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3918 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-31 18:42:22 +00:00
201891920d Change PtrInt to in generated code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-31 12:27:49 +00:00
7d5620b2da richmemo: gtk2 removing timer dependent code for getting selection length
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 23:55:14 +00:00
71c6eea0fa fpspreadsheet: Implement cell comments for biff2 and biff5 (reading and writing). Complete cell comments for ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 22:47:13 +00:00
cf5ece6e86 fpspreadsheet: Add writing of cell comments for opendocument files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3914 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 17:46:06 +00:00
b267fd7694 fpspreadsheet: Implement reading of cell comments from opendocument files. Fix cell text with manual line break in opendocument files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 16:50:23 +00:00
cca611b21b fpspreadsheet: Basic support for cell comments in fpspreadsheet.pas, fpspreadsheetgrid.pas and fpsactions.pas. Update chm help file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 14:48:51 +00:00
6869583b9a RxFPC: TCurrencyEdit.Clear now work
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 12:27:21 +00:00
7b848b49d8 richmemo: gtk2 replacing memostrings with richmemostrings (not using timer). uninstalling selection-change handler on destruction of the widget to prevent crashes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:51:43 +00:00
5808947710 fpspreadsheet: Show details of TXO record in BIFF explorer (needed for cell comments)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:23:41 +00:00
0ecf404c0a fpspreadsheet: Fix TsWorksheetGrid showing frozen cells with black border if TitleStyle is not tsNative. Fix TsSpreadsheetInspector and spready demo crashing due to ignoring the cell content type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 12:39:52 +00:00
f4bf29da87 fpspreadsheet: Further improvement of file format detection. Use it in BIFFExplorer as well.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:39:01 +00:00
b765956574 fpspreadsheet: Fix comments in TCell declaration
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-29 11:18:49 +00:00