Commit Graph

75 Commits

Author SHA1 Message Date
e13a240d8d Fixes fpspreadsheet compilation due to tachart changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-04 11:04:27 +00:00
979180ddd9 Adds bold style support to OpenDocument
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-08 10:24:15 +00:00
1005ddd45d Adds support for bold formatting to biff 8 in fpspreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-07 12:59:17 +00:00
5bc0c65bd2 Implements biff 8 rotation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1265 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-30 06:51:50 +00:00
1389a835d1 Adds excel 8 writting example and starts implementing formatting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-30 06:44:53 +00:00
993fb896a3 Activates the new ole by default
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1263 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-29 20:59:04 +00:00
06ae369ff5 Improves FPSpreadsheet examples and improves the Grid component
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-25 09:11:02 +00:00
7a69f33b79 Improves FPSpreadsheet examples
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-02 10:30:45 +00:00
f9a882cc87 Implements a charting component for FPSpreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-01 18:10:38 +00:00
fa1a92f38d Fixes bug 0016003 using patch from Lagunov Aleksey. Zero length read stream reads ALL the stream instead nothing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-15 19:05:59 +00:00
73c6419656 Fixed read beyond Worksheet count, resolves Mantis #15546
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-19 16:53:49 +00:00
c429d42414 Opendocument XML.Widestring->UTF8String conversion. Bug: 2897793 by Luiz Camara.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-16 12:46:31 +00:00
758a46563d Fixes 2897681 and 2897708 reported by Luiz Camara.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1007 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-14 18:48:17 +00:00
cafe31ad59 Fixed bug 2897449 by Luiz Camara
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-14 18:46:10 +00:00
707600eeba Adopted new WriteToFile parameters and better handling of open OLE streams.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-12 20:28:21 +00:00
8c0fa3a08d Fixed bugs 2896335 and 2896338 in sf tracker.
Fixed loading of OpenDocument float values (locale independent)
Fixed loading of OpenDocument with infinite "1.#INF" value in a cell.
Decompression of "contents.xml" now tales place in local temporal user folder.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-12 20:26:02 +00:00
519e75d5a6 fpspreadsheet: Implements support to setting if existing files should be overwritten or not
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-08 19:21:23 +00:00
2d2920da93 fpspreadsheet: Adds initial implementation of a visual component and reads cell iteration methods to TsWorksheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-06 19:25:18 +00:00
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