Commit Graph

45 Commits

Author SHA1 Message Date
9729dd4d09 fpspreadsheet: Reorganizes the formula writing routine and some comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2678 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-13 07:38:57 +00:00
698d941bf1 fpspreadsheet: Fixes a bug with the STT table of strings and the CONTINUE record. The bug prevented reading STT strings after the CONTINUE
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-12 14:49:43 +00:00
e70e659419 fpspreadsheet: Greatly improves the biff8 formula writing, now supports ABS and fixed =Cell+Cell
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2674 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-12 12:13:49 +00:00
af3ee31a25 fpspreadsheet: Adds support to writing the formatting of formula and number cells in XLS
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2671 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-02-12 11:29:19 +00:00
e061c01c66 Fixed memory leak on destroy.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-30 19:25:26 +00:00
09153c582d fpspreadsheet: Finishes the basic support for date reading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2263 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-01-23 13:48:39 +00:00
37d06a3d25 fpspreadsheet: Starts preparation to support reading dates from Excel 8, not yet functional
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2262 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-01-23 13:24:13 +00:00
a8d77986c0 fpspreadsheet: Small rework of the codepage code into xlscommon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-25 09:03:20 +00:00
f1c93b7272 Fixes bug 20384, fixes biff 8 compressed UTF-16 reading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-25 00:04:53 +00:00
f8caf9447a Starts improving the xls biff 8 codepage support, doesnt actually work yet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-24 23:38:24 +00:00
2c03552fdf Fixes read of SST table when empty strings are present.
Renamed variable "Continue" to "ContinueIndicator" to avoid conflict with Pascal's Continue.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2110 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-02 22:33:19 +00:00
3be59f2c78 FPSpreadsheet: Improves the formula example, finishes basic implementation of RPN formula support in BIFF8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1662 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-30 10:23:55 +00:00
c9280da776 FPSpreadsheet: Implements enough to write SUM(A1:A5) formulas in BIFF8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1660 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-30 10:03:04 +00:00
f62592925f FPSpreadsheet: Adds some code for formula handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1659 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-30 09:22:08 +00:00
e23fbc9f1d FPSpreadsheet: Improves the comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1658 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-30 07:03:56 +00:00
948839a79a Reworks the common xls files and attempt to fix bug 18886 excel5 files are truncated when imported
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1654 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-29 17:21:51 +00:00
9ac1f18a50 Fixes 18884, error reading biff8 labels written by fpspreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1651 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-27 10:20:53 +00:00
e7aeb0c396 FPSpreadsheet: Adds a custom pallete so that we can have more commonly used colors instead of the default excel ones
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 11:04:30 +00:00
a2df0341ce FPSpreadsheet: Adds support to 16 possible background colors to biff 8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 10:00:56 +00:00
ca96ef2f5c Adds support for a simple background color in biff8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1647 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 09:39:17 +00:00
4570c4785a FPSpreadsheet: Finishes implementing a generic font style manager for biff formats. Finishes integrating it with biff8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1646 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 09:25:56 +00:00
68f1ccd497 FPSpreadsheet: Starts implementing biff2 formatting and also flexible support for biff formats, but all parts are unfinished
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-25 15:50:18 +00:00
088628a9bc FPSpreadsheet: Adds all other border combinations to the biff 8 writter and the example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-25 14:59:07 +00:00
038d224034 Adds a initial implementation of border support in FPSpreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-25 13:40:53 +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
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
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
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
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
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
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
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
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
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
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
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
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
4f04afdb1c Initial commit of fpspreadsheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-24 13:18:34 +00:00