wp_xxyyzz
b78383bc8f
fpspreadsheet: Fix size calculation for some embedded jpeg images.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-13 23:14:30 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
0ceb659793
fpspreadsheet: Add functions SUMIF and AVERAGEIF
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 18:15:44 +00:00
wp_xxyyzz
19cfc90061
fpspreadsheet: Implementation of COUNTIF function
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-27 17:03:15 +00:00
wp_xxyyzz
590c9d8a47
fpspreadsheet: More combinations of source and destination cells for copy/paste to clipboard.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 23:37:08 +00:00
wp_xxyyzz
07e26c4abe
fpspreadsheet: Fix editing of merged cells in TWorksheetGrid: editor has same size as merged block now.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 13:44:13 +00:00
wp_xxyyzz
cd94f9e48e
fpspreadsheet: Fix position of comment marker triangle in WorksheetGrid for RTL
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 12:07:56 +00:00
wp_xxyyzz
aa29b42ebc
fpspreadsheet: Add worksheet-BiDiMode. Read/write for Excel5, Excel8, xlsx, ods.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-26 11:26:57 +00:00
wp_xxyyzz
85dd9bc35d
fpspreadsheet: Add BiDiMode to TCell record helper.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 23:12:48 +00:00
wp_xxyyzz
1184e0ce26
fpspreadsheet: Fix painting of "hair" border line (densely dotted) in WorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:55:31 +00:00
wp_xxyyzz
16e6614574
fpspreadsheet: Fix diagonal border lines in merged cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:39:37 +00:00
wp_xxyyzz
9e0db3722b
fpspreadsheet: Fix incoomplete saving of merged cell borders if borders are assigned only to merge base cell.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 22:29:13 +00:00
wp_xxyyzz
8184c4b609
fpspreadsheet: Add cell-based BiDiMode. Read/write to/from biff8, xlsx, ods.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 18:55:33 +00:00
wp_xxyyzz
4f691313d7
fpspreadsheet: Fix merged cell borders in TWorksheet being drawn as defined by the merge base.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4467 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 13:57:19 +00:00
wp_xxyyzz
cf95cc412c
fpspreadsheet: Fix drawing of stacked text in WorksheetGrid. Some more refactoring. Cleanup.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 10:10:25 +00:00
wp_xxyyzz
cf1c0122b1
fpspreadsheet: Fix painting of spaces in RTL texts in TsWorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-24 11:09:22 +00:00
wp_xxyyzz
566cef1ba5
fpspreadsheet: Preserve spaces when parsing html text to be used as rich-text.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4464 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 20:01:01 +00:00
wp_xxyyzz
8a5364b8b7
fpspeadsheet: Fix infinite loop in TsWorksheet if word-wrapped cell gets narrower than the width of a character.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 18:15:21 +00:00
wp_xxyyzz
b4b631c0f8
fpspreadsheet: Fix minor painting issues in RTL mode when TsWorksheet headers are off.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4462 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 17:23:39 +00:00
wp_xxyyzz
89c374f198
fpspreadsheet: Fix clip rect error when painting TsWorksheet fixed cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4461 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 16:10:38 +00:00
wp_xxyyzz
d4acf83c51
fpspreadsheet: Fix RTL text overflow painting in TsWorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 14:26:08 +00:00
wp_xxyyzz
845e9d8626
fpspreadsheet: Fix RTL text alignment bug in TWorksheetGrid for Arabian text
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 13:43:03 +00:00
wp_xxyyzz
61db2acff8
fpspreadsheet: Fix TWorksheetGrid focus rect on merged cells in being offset (fixed by "shobits1").
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4458 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 23:24:11 +00:00
wp_xxyyzz
9dc3304375
fpspreadsheet: In the WorksheetGrid, adapt default HorAlignment to right-to-left mode.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4457 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 21:38:04 +00:00
wp_xxyyzz
74d6314155
fpspreadsheet: Refactor rich-text drawing for TWorksheetGrid (now blocks with same font, instead of char-by-char).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 21:22:05 +00:00
wp_xxyyzz
275b48e7ca
fpspreadsheet: Fix bug in drawing the WorksheetGrid's extended selection rectangle in RTL mode. Some simplification of current RTL code.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 09:26:10 +00:00
wp_xxyyzz
134f7b1e51
fpspreadsheet: Beginning to implement RTL mode for the WorksheetGrid (merged cells, borderlines, selection), code by forum user "shobits1"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4452 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 22:45:38 +00:00
wp_xxyyzz
58b31b09a7
fpspreadsheet: Add new property AutoExpand to the WorksheetGrid. Extend fpsgrids demo (no install version) correspondingly.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 16:23:56 +00:00
wp_xxyyzz
bbe063d794
fpspreadsheet: Add property SelectionPen to WorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4449 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 11:39:05 +00:00
wp_xxyyzz
7d731629e1
fpspreadsheet: Add method LoadFromWorkbook to WorksheetGrid and WorkbookSource. Remove "deprecated" from some overloaded workbook file access methods.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-21 10:55:55 +00:00
wp_xxyyzz
7940866bb5
fpspreadsheet: Reactivate usage of ColCount and RowCount in the WorksheetGrid. Add cell content to fpsgrid demo (designtime version).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-20 21:05:02 +00:00
wp_xxyyzz
a352efef12
fpspreadsheet: Add new method ShowCellBorders to TsWorksheetGrid for easier cell border creation. Replace in TsWorksheetGrid the TGridRect parameter of some public properties by the direct coordinates. WARNING: THIS CHANGE COULD BREAK EXISTING CODE.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-20 15:39:22 +00:00
wp_xxyyzz
f76da1c6b0
fpspreadsheet: Fix test suite not removing a particular temporay file after test,
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 23:14:43 +00:00
wp_xxyyzz
0b6a62b46c
fpspreadsheet: Fix painting artefacts of TsWorksheetGrid when resizing col widths or row heights by dragging with mouse.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4443 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 19:34:28 +00:00
wp_xxyyzz
2ee3d18801
fpspreadsheet: Activate html codes for Cells property of TsWorksheetGrid. Extended grid demo showing run-time generation of content.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 18:40:41 +00:00
wp_xxyyzz
1954c8dea7
fpspreadsheet: Fix WorksheetGrid's colwidths and rowheights at designtime
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4441 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 18:09:21 +00:00
wp_xxyyzz
d769397eae
fpspreadsheet: Fix merged cells painting into the fixed cells of TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 12:04:41 +00:00
wp_xxyyzz
a433fc3fce
fpspreadsheet: Fix mssing transfer of ColWidths, RowHeights, DefaulColWidth and DefaultRowHeight set by the WorksheetGrid to the worksheet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-19 00:06:29 +00:00
wp_xxyyzz
62246a58db
fpspreadsheet: Fix the WorksheetGrid method NewWorkbook to respect the column and row count parameter.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 21:53:18 +00:00
wp_xxyyzz
cdf96e2fa2
fpspreadsheet: Fix TsWorksheet occasionally crashing in new SetCells method.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 21:26:19 +00:00
wp_xxyyzz
2abce47ffb
fpspreadsheet: Add property NumberFormats to TsWorksheetGrid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 16:09:55 +00:00
wp_xxyyzz
96ceb0a296
fpspreadsheet: Make sure that formulas are erased when new cell values are written by WorksheetGrid.Cells into cells containing formulas.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 13:35:48 +00:00
wp_xxyyzz
638b34c693
fpspreadsheet: Add support for formulas, as well as properties for cell comments, hyperlinks and number formats to TsSpreadsheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 12:09:06 +00:00
wp_xxyyzz
9139f15d74
fpspreadsheet: Additions to TsSpreadsheetGrid:
...
- Add property Cells
- Add overloaded MergeCells and UnmergeCells methods
- Publish property CellFontColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-18 00:03:09 +00:00
wp_xxyyzz
bb0a3ea92c
fpspreadsheet: Fix worksheet ignoring cell borderstyle if cell borderstyle is set before calling WriteBorders. Add '.' to package unit path (seems to fix compilation issue of several laz versions using the same fpx sources).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4411 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-30 09:42:57 +00:00
wp_xxyyzz
a8dc2255dc
fpspreadsheet: Fix utility function GetAttrValue crashing if Node has no attributes ( http://forum.lazarus.freepascal.org/index.php/topic,30769.0.html , patch by "vk_barnaul").
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4403 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-17 11:12:45 +00:00
wp_xxyyzz
b3ee66fb2f
fpspreadsheet: Some cleanup
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4402 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-12 10:17:03 +00:00
wp_xxyyzz
b9b381633f
fpspreadsheet: Restore usage of a temp file name for the zipper needed by xlsx and ods writers, now defined by GetTempfilename, instead of the constant '___TEMP.TMP___'. This should work even if the current folder is not writable.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-03 11:10:34 +00:00
wp_xxyyzz
7ef55a84d9
fpspreadsheet: Fix compilation of fpsspeedtest.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4399 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-02 23:24:41 +00:00
wp_xxyyzz
a0ee8b8933
fpspreadsheet:
...
- Move BasicReader/Writer from fpspreadsheet.pas to fpsReaderWriter.pas in order to fix circular unit dependence introduced in prev commit.
- Remove usage of temp file in xlsx and ods stream writers (see forum forum.lazarus.freepascal.org/index.php/topic,30606.msg194818.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-12-02 22:16:55 +00:00
wp_xxyyzz
b2ca3098a4
fpspreadsheet: Reintroduce function GetFormatFromFileName. Fixes compilation error of LazReport addition lrSpreadsheetExport.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-22 12:52:00 +00:00
wp_xxyyzz
93c48a5b99
fpspreadsheet: Fix memory leak if writing an empty string to a worksheet by calling WriteUTF8Text
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-13 20:23:03 +00:00
wp_xxyyzz
5b07289442
fpspreadsheet: Replace new fpsutils.GetSetValues by typinfo.SetToString.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4382 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-31 10:35:16 +00:00
wp_xxyyzz
631c0c84aa
fpspreadsheet: Fix incorrect usage of GetEnumName in test suite.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-30 17:16:41 +00:00
wp_xxyyzz
180a1d049d
fpspreadsheet: Add parsing of cell range strings given in "R1C1" syntax
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-09 19:33:02 +00:00
wp_xxyyzz
ced66bed8b
fpspreadsheet: Implement parsing of cell references in "R1C1" syntax.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4375 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-09 17:30:24 +00:00
wp_xxyyzz
b873069b54
fpspreadsheet: Fix incorrect detection of cell ranges in ods files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4374 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-09 14:47:37 +00:00
wp_xxyyzz
48c33e0c1c
fpspreadsheet: Massive reconstruction of file format registration: it is now possible to add user-defined readers and writers without modifying the fpsspreadsheet sources (--> new unit fpsregfileformats). Add (incomplete) unit for the SYLK file format (---> new unit fpssylk) to show this in the demo project visual/fpsctrls/demo_ctrls. Update all visual demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4373 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-09 13:27:04 +00:00
wp_xxyyzz
535273462f
fpspreadsheet: Simpler access to clipboard.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-06 12:01:35 +00:00
wp_xxyyzz
cb68f38703
fpspreadsheet: Fix failed unit tests, all passed now again.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4370 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-04 20:11:10 +00:00
wp_xxyyzz
f66540336e
fpspreadsheet: Giving up on clipboard support for ods file, not working, remove it.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4369 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-04 19:25:50 +00:00
wp_xxyyzz
6cb04bbcea
fpspreadsheet: Simplify clipboard access. Add format "Star Object Descriptor (XML)" for testing communication between LibreOffice and Clipboard.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4368 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-04 16:08:00 +00:00
wp_xxyyzz
6fb4bb9c9b
fpspreadsheet: Introduce additional parameter ("AParam") when saving workbooks.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4367 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-04 13:12:46 +00:00
wp_xxyyzz
c10dec52ea
fpspreadsheet: Fix writing incorrect biff formats (broken in r4353)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4366 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-04 12:37:09 +00:00