Commit Graph

3293 Commits

Author SHA1 Message Date
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
a5e8d60e81 fpspreadsheet: Add writing of header/footer images to ods.
Reorganize ods header/footer code. 
Fix writing of page margings for ods. 
Fix Excel failing to load file with footer image.
Add header/footer image and image demos.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4545 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-13 18:15:40 +00:00
41c844a112 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4544 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2016-03-12 08:20:23 +00:00
d5fb9128ef fpspreadsheet: Write defaultrowheight and defaultcolwidth for Excel formats (don't know how ods stores them...)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-11 22:42:13 +00:00
345f1c6818 fpspreadsheet: Fix Excel error with several images in xlsx file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-11 18:38:48 +00:00
8a75b32525 fpspreadsheet: Write embedded images to ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-11 17:54:29 +00:00
d7bba9bd93 fpspreadsheet: Reading of text format for ods and all Excel (except for biff2)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-10 11:05:34 +00:00
e4946cf801 fpspreadsheet: Write text format to ods, xlsx, biff8 and biff5
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-10 10:43:44 +00:00
c8d5e0f95a fpspreadsheet: Add text format. Allow leading apostrophe to prevent conversion of a cell text to numbers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 21:17:53 +00:00
52975a9ac1 RxFPC:fix compile in windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 13:25:57 +00:00
8fcf90d13a fpspreadsheet: Fix compilation of new Excel unit test for non-Windows systems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 09:55:28 +00:00
8440fb8206 RxFPC: fix compile with latest LCL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4535 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 08:29:44 +00:00
5f7b4e338a richmemo: add mlparse example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4534 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-08 14:50:21 +00:00
0fc1e4c933 fpspreadsheet: Add tests for Excel being able to read files containing commens, images, header/footer images, and hyperlinks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-08 13:38:04 +00:00
8abea8d2f7 fpspreadsheet: Support for writing headers/footer images to xlsx. Remove some compiler hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-08 11:29:13 +00:00
e17429c92c fpspreadsheet: Load images for header/footer into workbook's embedded streams list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-04 23:43:40 +00:00
f1c07951dd fpspreadsheet: Move PageLayout to separate unit (fpsPageLayout). Move PrintRanges and RepeatedRows/Cols to PageLayout. Some simplifiations because TsPageLayout is a class now. Prepare for images in header/footer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-04 23:01:21 +00:00
e3ee61aec5 fpspreadsheet: Support .svg, .pcx, .wmf and .emf image formats for embedding into worksheets (in addition to .jpg, .bmp, .tiff, .gif, .png).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4529 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-03 22:17:12 +00:00
58547464d3 fpspreadsheet: Initial support for embedded images. Writer for xlsx. Avoid writing relationship for non-existing files to xlsx. Add "numFmtId=0" to xlsx styles (seems to be mandatory for import to Access).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4528 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-03 19:12:58 +00:00
f0bcbf2316 RxFPC:fix russian resourses
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4527 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-29 06:32:33 +00:00
5804937f58 richmemo: win32 fix style selection on internal change.
modified Internal change. Only allow if styles is fully modified.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4526 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-29 04:48:34 +00:00
8921e15d99 RxFPC: try to fix error message on calc footer row - tnx zyzmo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4523 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-25 12:16:57 +00:00
0debf57411 fpspreadsheet: Remove BIFFExplorer (has been moved to application)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-21 11:05:39 +00:00
e6e1dc1c30 fpspreadsheet: Update readme.txt of BIFFExplorer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4514 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-21 10:55:49 +00:00
b0adfe7a2a fpspreadsheet: Improvements for BIFFExplorer (use KHexEditor, simplify virtual tree node management, fix memory leaks).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-21 10:50:54 +00:00
d2b80cf143 fpspreadsheet: Read print ranges and repeated print rows and columns from BIFF5 and BIFF8 files (xls - BIFF2 does not support them).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4512 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-19 19:53:10 +00:00
0b9b04a541 RxFPC:RxDBGrid fix error filter data on string field with filter = IS NULL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-18 07:09:38 +00:00
d9dd29c0fc fpspreadsheet: Set absolute flag for http hyperlinks in sfExcel8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 11:05:32 +00:00
e3d715a8a8 fpspreadsheet: Fix ods repeated rows/cols unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4506 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 10:28:14 +00:00
fdf0f89a66 fpspreadsheet: Reading of ods repeated print columns. Unit tests for repeated rows/cols (not ok, yet).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4505 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-15 23:43:17 +00:00
bfac43cabe fpspreadsheet: Add reading of ods repeated print rows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-15 22:33:24 +00:00
1504384e79 fpspreadsheet: Add reading of print ranges and repeated print cols/rows for xlsx. xlsx unit test for print ranges. Fix reading/writing of worksheets with spaces and special xml entities in the sheet name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-15 21:12:17 +00:00
ad4813947b fpspreadsheet: Add support for print ranges to ods reader. Add ods unit test for writing and reading print ranges.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 21:49:25 +00:00
8eff203daa fpspreadsheet: Write printranges and repeated cells to biff5 files. Related improvements in BIFFExplorer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 17:03:20 +00:00
42e34dc695 fpspreadsheet: Identify some unknown formula tags in DEFINEDNAME records.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 14:16:28 +00:00
1f55bbd8b7 fpspreadsheet. Support writing of print ranges and repeated header rows/columns by biff8 format
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 14:01:51 +00:00
1de8a2f14a fpspreadsheet: Improved details of DEFINEDNAME, EXTERNBOOK and EXTERNSHEET records.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4498 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 11:16:57 +00:00
4ecc8681b3 fpspreadsheet: Add methods DeleteRichTextParams, HasRepeatedPrintCols and HasRepeatedPrintRows to TsWorksheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-14 11:15:23 +00:00
22c42622a2 fpspreadsheet: Add printranges and repeated header cols/rows (for printing) to worksheet. Implement writing to xlsx and ods. (Request from the forum http://forum.lazarus.freepascal.org/index.php/topic,31496.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4496 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-13 17:45:36 +00:00
8a0351fde3 fpspreadsheet: Fix incorrect writing order of merged cells and hyperlinks in xlsx files causing an Excel read error (issue #0029640)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-12 14:04:35 +00:00
9a35171efd fpspreadsheet: Fix writing of hyperlink displaytext with double-quotation characters in xlsx causing an xml read error. Issue #0029640.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-12 13:41:18 +00:00
a7f541766b Update version number
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-11 09:39:50 +00:00
61c30095ef Fixing deprecated code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4492 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-11 09:35:02 +00:00
aad2fa0dc1 * Fix compilation with fpc 3.1. Issue 29552
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4485 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-01 01:22:32 +00:00
a9c3c81c14 * Update argument name to avoid conflict in event handlers. Issue 29388
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-01 00:56:26 +00:00
2d94675a6b tvplanit: Fix compilation error with fpc 3.1.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4483 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-31 11:40:49 +00:00
ef7c595cf7 fpspreadsheet: Fix several painting issues of TWorksheetGrid related to merged cells. Add diagonal borders to fpsActions and demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-29 09:59:37 +00:00
9e637a3e93 fpspreadsheet: Fix compilation of spready
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4481 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 22:29:45 +00:00
7679ef468c fpspreadsheet: Show message during writing when a formula is not supported by file format. Fix TsWorkbookSource ignoring its set options (i.e. ReadFormulas and AutoCalc working again).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 22:17:56 +00:00