Commit Graph

1207 Commits

Author SHA1 Message Date
a2b1693f96 Fixed read bug in Excel files with a ministream bigger than 1024 (1024 is a casual number, any other could raise the bug).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-05 17:14:45 +00:00
efbc5a8d2c Read excel formula and stores the precalculated value as a cell fixed value. Only numeric values, strings are not supported my fpspreadsheet at least by now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-04 22:18:43 +00:00
75dd051f39 Fixed memory leak in WriteWorksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-03 12:04:04 +00:00
c9cad114e8 Applied patch from Torsten Bonde Christiansen ( http://bugs.freepascal.org/view.php?id=14480 ) with some minor changes. Big speedup reading spreadsheets.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 22:03:01 +00:00
312e8f16fc Removed LCL dependency in lpk file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 18:24:32 +00:00
7f32d73b05 Fixed reading in non US locales (decimal separator = '.') of floating point data in Open Document.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@949 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 01:22:46 +00:00
9c7a5199c7 Fixes reading of ZIPs with "wrong" local header information (size, crc, ...), as unzip.exe use the data from Central header instead.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 01:19:46 +00:00
d7c494635e Removed all LCL dependencies.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-01 23:41:05 +00:00
41aab444e0 Fixed memory leak in ReadOLEFile.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-01 23:04:57 +00:00
a9e4cc5457 XLS BIFF8 (Excel 97-2004) can read SSTLabels, Rich strings and RKValues (even in range). Fixes issue 0014085 in bug tracker.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-01 23:00:13 +00:00
cc11ea4ee1 fpspreadsheet: Small improvements
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-01 16:47:45 +00:00
ca0c39185f Fixed: http://bugs.freepascal.org/view.php?id=14456 (using PtrInt instead Integer)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-30 14:20:55 +00:00
72d201621f fpspreadsheet: small improvements
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-12 13:08:44 +00:00
77877e6009 fpspreadsheet: Fixes compilation with trunk fpc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-12 12:55:05 +00:00
e25295e088 fpspreadsheet: Fixes encoding conversions for Excel 2 and 5 formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@930 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-12 12:46:33 +00:00
e7fede2029 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@928 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2009-08-11 15:28:08 +00:00
67aac8aa37 fpspreadsheet: Adds excel 8 example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-07 14:16:17 +00:00
416b85851f fpspreadsheet: opendocument format, write numbers without localized decimal separator, fixes https://sourceforge.net/tracker/?func=detail&aid=2813780&group_id=92177&atid=599764
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-01 14:01:44 +00:00
b9af2f71bb fpspreadsheet: Adds OpenDocument read support from José Luis Jurado Rincón
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-01 11:26:56 +00:00
f3259be492 fpspreadsheet: improves Excel 5 RPN formulas, add ABS and ROUND functions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-09 21:34:58 +00:00
bb04dbc318 fpspreadsheet: starts implementing formulas. RPN version working for Excel 5
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-09 11:19:10 +00:00
287270c308 Fixed floating point calculation for RKValue.
Fixed write label > 255 chars (not possible, truncate string).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-06 15:04:42 +00:00
7baab9820c Added RSTRING, RK Value and MULRK excel tags.
Started integration of BIFF classes using a common ancestor.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@819 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-02 18:30:22 +00:00
894dbe3c90 Fix Mac OS X compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-26 18:35:18 +00:00
90d327e0ee Patch from Joshy, small fix for OLE
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-26 18:32:09 +00:00
e14f7af87a fpspreadsheet, fixed compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-13 02:54:26 +00:00
0cae800f3e xlsbiff8 reader declared. It works.
xlsbiff5 and xlsbiff8 must be descendants of a general biff class as many unsupported tags are common for both formats, some of them even common with biff2.
Added a list of unsupported tags to xlsbiff5 (IFDEFed) to easilly catch tags that must be supported like RK and MULRK which prevent it for load completly many xls files. xlsbiff8 must support them also.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@795 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-10 17:59:25 +00:00
d3d71c2560 Included xlsbiff8 in the fpallformats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@794 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-10 17:55:28 +00:00
21528cb453 Fixed a read bug (Stream was always created even when it has been created yet).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-10 17:54:26 +00:00
181a1e0a98 New implementation to read and write OLE documents (Excel BIFF 5 & 8).
Now BIFF 5 & 8 should be possible to be generated in non Windows environment but this fact has not been tested.
To use the older mode replace uses "fpolebasic" by "fpolestorage".
Extensive tests are needed.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@792 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-09 15:41:38 +00:00
badefdd310 Fixes memory leak when releasing cell's memory.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@783 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-23 12:23:09 +00:00
119b9f0bd4 Patch from Joshy, implements initial biff 8 support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@782 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-21 15:08:43 +00:00
0ef4baae5a Small fix for bug in excel string write
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@779 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-18 12:31:46 +00:00
0ccb66c492 Patch from JoshyFun to fix OOXML files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-18 01:31:09 +00:00
19c8c3211d Improves fpspreadsheet help
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-05 11:16:19 +00:00
621bbc2b26 Improves fpspreadsheet help
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-05 11:14:00 +00:00
c064101224 Adds epiktimer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@697 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-05 10:21:42 +00:00
1b1a30f00c fpspreadsheet: Improves OpenDocument support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-03 09:41:17 +00:00
933d8a5b44 fpspreadsheet: Improves OpenDocument support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@692 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-02 09:58:51 +00:00
53ac16be22 Small fixes to fpspreadsheet and pascocoa
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-30 18:21:18 +00:00
7e67d5e83e fpspreadsheet: Improves OpenDocument support and moved back to 0-based grid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@688 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-29 13:24:37 +00:00
87fe92f9d7 fpspreadsheet: Improves OpenDocument support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@687 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-29 11:54:07 +00:00
f8cd84c9ee fpspreadsheet: Improves OpenDocument support and rows/cols are now 1-based
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@686 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-29 11:30:38 +00:00
47baa4b5a9 fpspreadsheet: Improves OpenDocument support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@685 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-28 23:20:25 +00:00
e4abbcffc9 fpspreadsheet: Improves OpenDocument support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-28 22:36:41 +00:00
8d4562d0ef Adds unicode support in fpspreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@683 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-28 17:18:04 +00:00
63fc6d8da1 fpspreadsheet: Improves reading excel 5 files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@658 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-11 11:11:54 +00:00
1d2b67596d fpspreadsheet: Initial excel5 reader support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@657 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-10 22:58:00 +00:00
6bc68ea9b5 fpspreadsheet: Starts adding read support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@656 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-10 21:47:59 +00:00
0b32db4780 fpspreasheet: Adds forgotten files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@655 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-09 08:39:40 +00:00