Commit Graph

134 Commits

Author SHA1 Message Date
wp_xxyyzz
b9a68c5f8e fpspreadsheet: support local defined names in xlsx (Note: scope not checked by fps, so far)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9407 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-28 17:14:24 +00:00
wp_xxyyzz
a7620227c6 fpspreadsheet: Formula support for defined names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-24 22:29:17 +00:00
wp_xxyyzz
19e94158df fpspreadsheet: Support defined names in xlsx files. No formula support so far.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9397 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-24 13:20:11 +00:00
wp_xxyyzz
61033d13c1 fpspreadsheet: Fix memory leak (https://forum.lazarus.freepascal.org/index.php/topic,67706.msg521818.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-06-28 14:04:51 +00:00
wp_xxyyzz
09ab7329ef fpspreadsheet: Support also haDistributed and haFilled horizontal alignments. haJustify renamed to haJustified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-10 10:24:45 +00:00
wp_xxyyzz
611cd2c347 fpspreadsheet: Add haJustify as new horizontal alignment option.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-09 17:08:43 +00:00
wp_xxyyzz
ec71c9e1af fpspreadsheet: First empty xlsx chart written which is not rejected by Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9187 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-31 10:32:10 +00:00
wp_xxyyzz
d7b7d410a5 fpspreadsheet: Move xlsx chart writing code to chartwriter unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-29 00:43:05 +00:00
wp_xxyyzz
9f5ceb3297 fpspreadsheet: xlsx chart reader with limited support of image fills.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-26 23:24:26 +00:00
wp_xxyyzz
1c088daf23 fpspreadsheet: Destroy charts along with their worksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-23 21:30:58 +00:00
wp_xxyyzz
db8d8c0358 fpspreadsheet: xlsx reader supports absolute positioning of embedded objects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9160 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-22 22:48:54 +00:00
wp_xxyyzz
f81a2f1406 fpspreadsheet: xlsx reader supports radar charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-22 21:23:55 +00:00
wp_xxyyzz
6774a02e62 fpspreadsheet: xlsx reader supports pie and ring charts (with default colors, so far).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-21 23:16:00 +00:00
wp_xxyyzz
7d0e4ea426 fpspreadsheet: Primary/secondary axis support in xlsx chart reader. Logarithmic charts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9140 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-14 15:42:57 +00:00
wp_xxyyzz
7450192040 fpspreadsheet: First pieces of the xlsx reader of spreadsheet charts (axes, legend, bar chart).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-03 22:37:34 +00:00
wp_xxyyzz
aab0f1d448 fpspreadsheet: Prepare ooxml chart reader/writer infrastructure.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-28 23:13:01 +00:00
wp_xxyyzz
4f0e2e8b83 fpspreadsheet: Add conditional define FPS_CHARTS (active by default) to compile the lib with and without chart support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9108 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-28 22:41:39 +00:00
wp_xxyyzz
d9d332c81d fpspreadsheet: Add files dropped from previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-22 08:33:55 +00:00
wp_xxyyzz
16ae04a385 fpspreadsheet: Fix evaluation of worksheet rels. Fix copying comments (sourceforge issue #61)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-02 21:53:23 +00:00
wp_xxyyzz
20b6c6755e fpspreadsheet: Improved password handling and format detection for the decryption readers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-05 22:20:06 +00:00
wp_xxyyzz
c686344c6d fpspreadsheet: Use patched zipper unit, remove dependence on Abbrevia.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-08-04 22:19:16 +00:00
wp_xxyyzz
71b627aa59 fpspreadsheet: Fix xlsx reader bug which assumes that sheet files in the xlsx structure are always named "sheet1.xml", "sheet2.xml", etc. Issue #39050, patch by Domenico Mammola.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 18:59:12 +00:00
wp_xxyyzz
3a2cfd397f fpspreadsheet: Check compilation back to Laz 1.4.4/fpc 2.6.4. Update conditional defines in fps.inc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 11:42:24 +00:00
wp_xxyyzz
506dbe52b7 fpspreadsheet: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-19 21:15:56 +00:00
wp_xxyyzz
963fa9bc2f fpspreadsheet: Adapt virtual mode writer to ods writer after r8574.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-19 20:40:44 +00:00
wp_xxyyzz
ab310b1165 fpspreadsheet: Fix writing of defective UTF8 strings to xlsx. Related to issue #39045.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-19 14:08:53 +00:00
wp_xxyyzz
6110d9acc7 fpspreadsheet: Refactor xlsx reader for comments and defined names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8340 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-07 09:53:16 +00:00
wp_xxyyzz
fbd714c976 fpspreadsheet: Refactor xlsx reader for comments and hyperlinks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-05 22:56:39 +00:00
wp_xxyyzz
8355a48dfd fpspreadsheet: xlsx reader supports scaling of header/footer images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-04 20:27:06 +00:00
wp_xxyyzz
802af455b3 fpspreadsheet: Introduce image scaling factor for header/footer images. Supported by xlsx writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-04 17:48:22 +00:00
wp_xxyyzz
37685f0c64 fpspreadsheet: Refactor xlsx reader for images to avoid excessive unzipping.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-04 16:13:07 +00:00
wp_xxyyzz
702fd643f3 fpspreadsheet: xlsx reader adds header/footer images to PageLayout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8335 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-03 18:02:59 +00:00
wp_xxyyzz
105099f338 fpspreadsheet: xlsx reads images in header/footer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-01 20:36:06 +00:00
wp_xxyyzz
93b4393d86 fpspreadsheet: Support image scaling factor when reading images from xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8328 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-06-26 17:38:08 +00:00
wp_xxyyzz
78332efef7 fpspreadsheet: Basic image support by xlsx reader.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-06-25 21:06:07 +00:00
wp_xxyyzz
1626e8ab2f fpspreadsheet: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 16:14:40 +00:00
wp_xxyyzz
ffa59aca22 fpspreadsheet: Fix xlsx and ods writers using local format settings for writing floats in conditional formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-19 21:00:50 +00:00
wp_xxyyzz
45fb828427 fpspreadsheet: OOXML must write conditionalFormattings node before hyperlinks node (see forum https://forum.lazarus.freepascal.org/index.php/topic,54650.msg406200.html#msg406200).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-19 17:58:08 +00:00
wp_xxyyzz
b18474f986 fpspreadsheet: Remove comment about to do item regarding writing of conditional fonts in xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:43:34 +00:00
wp_xxyyzz
7959f69879 fpspreadsheet: Unified usage of color syntax in Excel xlsx files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8036 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:38:33 +00:00
wp_xxyyzz
639385a707 fpspreadsheet: Fix writing of conditional fonts to xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-18 10:24:52 +00:00
wp_xxyyzz
e66195efeb fpspreadsheet: Remove fix for Excel's Year-1900 problem because it creates new issues... (issue #38742).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8033 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-15 21:38:39 +00:00
wp_xxyyzz
1efc3bc6f2 fpspreadsheet: Fixing Year-1900 date/time issue in Excel files for fps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8032 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-15 17:23:04 +00:00
wp_xxyyzz
65188478a6 fpspreadsheet: Fix reading of text cells with type "inlineStr"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-20 22:35:10 +00:00
wp_xxyyzz
35fecc8c8d FPSpreadsheet: Fix writing of meta data containing special xml characters (sourceforge issue #46)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-11-21 11:33:02 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
9d7457ccd4 fpspreadsheet: Add, with r/w support, conditional date formats cfcLastYear, cfcThisYear, cfcNextYear.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-29 17:41:00 +00:00
wp_xxyyzz
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
wp_xxyyzz
7e5dde96c3 fpspreadsheet: Fix xlsx writer mismatch between _rels/.rels and docProps/core.xml files making files without metadata unreadable for Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7584 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-28 21:38:32 +00:00