Commit Graph

127 Commits

Author SHA1 Message Date
sekelsenmat
04181a810d fpspreadsheet: Adds a work around for a internal compiler error, see bug 22370
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-07-05 13:34:55 +00:00
sekelsenmat
1f538d2f04 fpspreadsheet: Structural work to start supporting setting row and column properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-13 15:24:44 +00:00
sekelsenmat
6962323c2e fpspreadsheet: OpenDocument: Adds support for word-wrap formatting option and fixes the styles setting for numeric cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-13 07:21:00 +00:00
sekelsenmat
e4f415e21d fpspreadsheet: Improves the scripts to handle OpenDocument
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2462 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-13 06:27:12 +00:00
Joshy
1149c237b0 Fixes the bug related to unable to open the xls files in Windows 7.
More information here: http://forum.lazarus.freepascal.org/index.php/topic,16716.0.html

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-05-15 17:47:21 +00:00
sekelsenmat
29823d09b4 Patch from wp for fixing multiple sheet support in XLSX
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-04-29 15:22:53 +00:00
sekelsenmat
60f89d3bfa fpspreadsheet: Minor improvement of encoding support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2411 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-04-29 15:21:12 +00:00
sekelsenmat
0ee4ede6b0 fpspreadsheet: Fixes using always point for numbers in OOXML and adds a solution to initialize the format settings in the constructor of the writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2410 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-04-27 08:01:15 +00:00
Joshy
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
sekelsenmat
624d9b3283 fpspreadsheet: Adds a forgotten part for date/time support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-01-23 13:52:43 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
442c19fe0a Removes fpsconvencoding in favor of lconvencoding
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-12-24 23:42:08 +00:00
sekelsenmat
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
Joshy
3985c8f1a3 Fixed a bug in UnloadDIFArray when a file open was not successful.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2111 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-03 13:04:22 +00:00
Joshy
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
sekelsenmat
62c89fcf1c fpspreadsheet: Fixes the auto-detection of Excel 8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-07 05:37:15 +00:00
sekelsenmat
d887861a83 fpspreadsheet: Adds bold support to ooxml
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-01 07:55:12 +00:00
sekelsenmat
20c57c5180 fpspreadsheet: Updates the zipper code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 15:10:10 +00:00
sekelsenmat
9f27990b0a fpspreadsheet: Fixes remaining ooxml issues, now it actually works
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 15:06:41 +00:00
sekelsenmat
02caee546b fpspreadsheet: Now OpenOffice can open the generated ooxml
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 14:57:29 +00:00
sekelsenmat
feb164c7c0 fpspreadsheet: Some more ooxml fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 13:40:10 +00:00
sekelsenmat
36bcb9079b fpspreadsheet: Some more ooxml fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 13:24:16 +00:00
sekelsenmat
054f1bacde fpspreadsheet: Some more ooxml fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 13:01:53 +00:00
sekelsenmat
54e28dd0db Implements the possibility to save a TZipper to a TStream and uses that
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 11:59:47 +00:00
sekelsenmat
4dafa5ce8d fpspreadsheet: Attempt to implement basic OOXML support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 10:55:22 +00:00
sekelsenmat
d8ff486769 fpspreadsheet: Patch from bug 19884, improves the format detection of the reader and adds a writer format auto-detector
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-11 14:30:25 +00:00
sekelsenmat
3ac6ba3567 fpspreadsheet: Activates the new OLE for BIFF5, fixes bug 19867
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-02 09:20:07 +00:00
sekelsenmat
00260da687 fpspreadsheet: String typo fixed and adds a new convinience routine to the grid code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-16 07:55:24 +00:00
sekelsenmat
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
sekelsenmat
d2c9b9085f FPSpreadsheet: Implements enough to write SUM(A1:A5) formulas in BIFF8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-30 10:07:41 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
a267e89ae8 FPSpreadsheet: Patch from bug 19422: Copy file OSD with
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1657 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-29 17:42:56 +00:00
sekelsenmat
b4d8b8a10e fpspreadsheet: Fixes a bug in the last fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1655 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-29 17:33:46 +00:00
sekelsenmat
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
sekelsenmat
fdc4538c45 Implements flexible style writting for OpenDocument. Implements support for bold, border and background color
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1653 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-27 13:45:30 +00:00
sekelsenmat
9169c3f155 Moves the formatting example and the styles building code so that OpenDocument can share them
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1652 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-27 13:14:14 +00:00
sekelsenmat
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
sekelsenmat
651468dcd1 Improves the demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1650 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 11:29:42 +00:00
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
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
sekelsenmat
a4b7594f31 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@1645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-26 09:22:09 +00:00
sekelsenmat
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
sekelsenmat
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