7c09abbb51
fpspreadsheet: Add custom meta data support. Reading/writing for XLSX, Excel XML, ODS.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 22:51:39 +00:00
3959cbbe45
fpspreadsheet: Add new metadata item "subject"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 21:11:36 +00:00
aebb067738
fpsprreadsheet: Add conditional date formats, read/write support for XLSX, ODS, ExcelXML. Add unit tests.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 16:55:45 +00:00
c902c41997
fpspreadsheet: Add meta data reader for Excel XML.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 21:10:32 +00:00
ea91b7fca5
fpspreadsheet: Add metadata writer for Excel XML. Fix usage of UTC in the Excel metadata.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7580 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 17:57:32 +00:00
ed025ddea4
fpspreadsheet: Add ODS reader/writer for metadata.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 15:49:42 +00:00
dd3f0611a0
fpspreadsheet: Better names for some MetaData properties.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 14:28:33 +00:00
bbf4b2b092
fpspreadsheet: Add metadata support. Add metadata reader/writer for XLSX.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 12:34:50 +00:00
e191dd00e5
fpspreadsheet: Support conditional icon set format in worksheet, and in XLSX and ODS file access. Add unit tests for it.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-23 22:25:24 +00:00
2793744bf7
fpspreadsheet: Add reading and writing support for conditional formats in Excel XML files (not yet complete).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-17 19:50:40 +00:00
a3e2c6c8a3
fpspreadsheet: Facilitate using cell borders and cell border styles.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 21:03:54 +00:00
001fc5ecce
fpspreadsheet: Remove expression error in CF demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 17:05:12 +00:00
0e392dfcaa
fpspreadsheet: Add exception handling for CF expressions writing to the workbook's error log.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 17:00:21 +00:00
269c684533
fpspreadsheet: Support expression conditional cell formatting by XLSX, Excel-XML and ODS writers.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-15 16:39:05 +00:00
6b3a74ea33
fpspreadsheet: Write conditional formats to ExcelXML files (Office 2003)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7522 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 22:36:59 +00:00
9bfeddaaf5
fpspreadsheet: Add writing of databar conditional formatting to XLSX and fix it for ODS.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 13:35:01 +00:00
f3437814bf
fpspreadsheet: Add writing of color range conditional formatting to XLSX. Support 2-color mode in color ranges.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-02 10:53:42 +00:00
68f2d8718d
fpspreadsheet: Elemental DataBars and ColorRange formatting for ODS writer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 22:15:30 +00:00
28e834c330
fpspreadsheet: Avoid writing duplicate code for fixed and conditional formats to ODS file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 21:16:53 +00:00
c22cdde14b
fpspreadsheet: Support remaining format properties in writing of conditional formats to ODS.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7514 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 17:58:29 +00:00
fba35bacb4
fpspreadsheet: Add to the demo a test of conditional format with two rules in the same cell range
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7512 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 16:14:35 +00:00
efa8009d96
fpspreadsheet: Avoid writing duplicate conditional formatting styles to "styles.xml" of ods file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 16:08:11 +00:00
7f80fea142
fpspreadsheet: Support font as conditional formatting style (so far, ODS writer only)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 15:58:30 +00:00
724cd6ba30
fpspreadsheet: Fix usage of cell references and formulas in conditional formatting by ods and xlsx writers.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 15:35:48 +00:00
474ce859da
fpspreadsheet: Activate missing conditional formatting conditions in ODS writer (a few issues left)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 13:59:21 +00:00
54fc098d03
fpspreadsheet: Write some more conditional formatting conditions to ODS.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-01 10:40:36 +00:00
aff774ebc9
fpspreadsheet: Add writing of conditional formats to ODS (only cfcEqual condition, so far).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-30 10:46:07 +00:00
72986ddc75
fpspreadsheet: top10 in conditional formatting. More advanced demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-26 16:36:32 +00:00
fbe85d7e44
fpspreadsheet: xlsx writer supports conditional formatting for duplicate/unique values.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-26 11:37:21 +00:00
9a71231010
fpspreadsheet: Add writing of error-related conditional formatting conditions to xlsx writer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-26 11:18:30 +00:00
8a30aacadb
fpspreadsheet: Add writing of text-related conditional formatting conditions to xlsx writer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7498 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-26 10:59:12 +00:00
5578d181a8
fpspreadsheet: Fix usage of format index (dxfId) in writing conditional formatting to xlsx.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-26 09:27:01 +00:00
7f4382a137
fpspreadsheet: Add conditions above/belowAverage to conditional formatting.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7496 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-25 23:10:44 +00:00
57b0651e64
fpspreadsheet: Cleanup restructuring of previous commit.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-25 17:59:07 +00:00
1c25309bdf
fpspreadsheet: restructure examples/other folder.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-25 17:57:14 +00:00
e1fc35b13a
fpspreadsheet: Add demo for conditional formatting
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-25 17:23:36 +00:00
896c356040
fpspreadsheet: Add demo_protection
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-06 16:38:16 +00:00
40fabfc201
fpspreadsheet: Redo storage of formulas: formulas now are stored in a separate tree independent of the cells tree. The field FormulaValue of TCell record was removed. All unit tests passed. Demos updated (issues of speedtest due to SST in BIFF8 found - not related).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-30 22:15:07 +00:00
0e4645f9bf
fpspreadsheet: Check (and fix) compilation of all demo projects (changed handling of include files in fpc 3.0.4)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-18 11:42:22 +00:00
ef46ccd90d
fpspreadsheet: Add workbook option boIgnoreFormulas for writing unsupported formulas (See forum https://forum.lazarus.freepascal.org/index.php/topic,40146.0.html ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-20 23:02:45 +00:00
3aba9136ea
fpspreadsheet: Add searching in comments. Add demo for searching.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5965 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-27 09:18:34 +00:00
f85d2543ba
fpspreadsheet: Make sure that all demos are compiled with -Xg
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-20 17:21:56 +00:00
ebb9b428ea
fpspreadsheet: Set "use unit" flag of fpscell. Update demo_write_formatting to use package instead of path to fpspreadsheet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-05 21:04:36 +00:00
3e6dd484f7
fpspreadsheet: Fix compilation issues when fpc version is changed: separate package units into different folders, incorporate code of fpsnumformatparser in unit fpsnumformat and code of fpsregfileformats in units fpsreaderwriter. Check and fix all demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-22 20:59:00 +00:00
c639d3f13d
fpspreadsheet: Modified virtual mode (VirtualColCount, VirtualRowCount and OnWriteCellData were moved from workbook to worksheet). NOTE: THIS BREAKS EXISTING CODE USING VIRTUAL MODE.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4968 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 19:43:15 +00:00
9280718d44
fpspreadsheet: Fix xlsx image distortion introduced with new workbook units.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-18 20:27:17 +00:00
5b946b751f
fpspreadsheet: Add units (mm, cm, in, pts, lines/chars) for column width and row heights. Update all demos (some issues left).
...
NOTE: This revision breaks existing code if the worksheet's DefaultRowHeight/DefaultColWidth is changed - value must be in millimeters now. Methods for accessing individual row heiths and column widths are fine, but are marked as deprecated, they use the old units. Optionally a unit parameter can be specified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-18 19:50:40 +00:00
998c8b0dfc
fpspreadsheet: Replace workbook's EmbeddedStream by a more general EmbeddedObj storing image width, height and format as well.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-15 12:29:58 +00:00
2a026867ca
fpspreadsheet: Finalize image and headerfooter_image demos. Update readme in other demos folder.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-13 23:01:12 +00:00
44b8adf293
fpspreadsheet: Activate scaling factor for embedded images.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-13 22:28:59 +00:00