b93d9eae0c
fpspreadsheet: Add linestyle and linecolor as attributes to cell borders. Works in BIFF8 and BIFF5 (BIFF2 does not support this). Add corresponding unit test cases -> passed.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 17:00:00 +00:00
c174566e55
fpspreadsheet: Some refinements with color handling:
...
- Add some more colors to the default palette, remove the duplicate base colors
- Introduce type TsColorvalue for the rgb color values
- At init, automatically convert big-endian color values to little-endian
- Add TsWorkbook.SetColorValue to replace a palette color
- Add testing of random palette to colortests
- Add color test for BIFF2 (font only, because background color cannot be changed by design)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-24 21:27:57 +00:00
f69a47c902
fpspreadsheet: Add/complete color support for biff2 and biff8, reading and writing. Display colors in fpspreadsheetgrid.
...
Remove parameter AData in several methods of the readers/writers and replace it by FWorkbook passed at creation.
Add unit tests for font and color support. No issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-23 22:29:32 +00:00
c61e4418b7
fpspreadsheet: Add reading and writing of font support to biff8, biff2, and fpspreadsheetgrid. Font colors in biff2 not yet working. No test cases yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-22 23:10:32 +00:00
f7f1b0f12a
fpspreadsheet: Add support for empty cells to all BIFF formats (needed for formatting of empty cells).
...
Fix painting error of cell borders in fpspreadsheetgrid.
Add/complete reading/writing support for horizontal alignment, cell background and cell borders to BIFF2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-21 21:43:43 +00:00
be497cb19e
fpspreadsheet: Add support for horizontal and vertical text alignment in cells for biff8 and fpspreadsheetgrid.
...
Fix failure to reckognize file format in case of uppercase filename.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 20:31:36 +00:00
313daa2eaf
fpspreadsheet: Complete prepared read/write support for cell wordwrap in biff8 and fpspreadsheetgrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-20 16:07:53 +00:00
0f73aed718
fpspreadsheet: Implement reading of cell borders. Delete test.xls in examples/excel8demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-19 16:58:44 +00:00
36cc7d1f4e
fpspreadsheet: Add support for reading/writing of column widths in biff8 (specified as multiples of the width of the character "0"). Add test case. No regressions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 13:17:22 +00:00
8b688de40b
fpspreadsheet: Fix crash when destroying columns and rows.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-17 20:59:00 +00:00
f7dfeba208
* Excel8write.lpr demo compile fix for r2863 by wp
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-22 18:09:55 +00:00
7f7d07f151
+ Add support for text/number/date formats in BIFF8/xls.
...
+ Add support for writing out date/time to non-BIFF8 xls (though as text only for now)
Slightly modified patch by wp, thanks a lot.
See
http://forum.lazarus.freepascal.org/index.php/topic,22940.msg136761.html#msg136761
Still to do: add test cases for invalid format strings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-12-22 14:02:04 +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
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
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
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
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
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
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
7f8e1edddb
FPSpreadsheet: Adds a reader method which guesses the format from the extension.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-25 13:52:46 +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
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
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
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
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
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
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