Commit Graph

3107 Commits

Author SHA1 Message Date
25c324f705 Fractions: add an example program.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-18 15:27:37 +00:00
0f8ef4176e Fractions:
- fix FloatToFraction() if Abs(Value) > 1
- fix bug in Resolve which resulted in altering the value of self


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-18 15:26:44 +00:00
c1261c8d39 Fractions: remove the fractest program from the repository (it's just my internal test program).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4391 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-18 14:23:22 +00:00
65d37d2942 Fractions: clarify license statement.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4390 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-18 12:35:00 +00:00
520222bdd7 Start fractions: A unit for doing arithmatics with fractions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-18 12:33:13 +00:00
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
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
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
c56df7ad62 THTMLPort: Fix crash with predefined color "darkyellow"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-21 17:36:37 +00:00
3e0fabe544 richmemo: efficient way of setting attributes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-12 20:20:41 +00:00
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
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
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
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
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
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
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
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
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
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
e123fa9714 RxFPC:documentation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-01 11:00:04 +00:00
95704110ce fpspreadsheet: Improved cooperation of visual controls with clipboard.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-28 20:23:28 +00:00
295db4cdda fpspreadsheet: Experiments with ods to/from clipboard
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-26 17:14:10 +00:00
69c34e5687 fpspreadsheet: CutToClipboard using system clipboard now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-25 11:28:44 +00:00
2ad5901d28 fpspreadsheet: Some improvements and bug fixes in clipboard access
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-25 11:16:30 +00:00
333b9070ef fpspreadsheet: Add 2nd html format for copying to clipboard.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4359 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-24 21:56:19 +00:00
28d84ab294 fpspreadsheet: Copy to clipboard as HTML
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4358 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-24 19:31:54 +00:00
c84939b956 fpspreadsheet: Copy to clipboard as csv or text format
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4357 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-24 18:35:11 +00:00
86b7e99ac9 fpspreadsheet: Paste cell, value, format or formula from clipboard
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4356 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-24 17:35:38 +00:00
39b73bcfec fpspreadsheet: Add "Paste from clipboard" (for biff8 format)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4355 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-24 15:27:28 +00:00
ad8daec47c fpspreadsheet: Add code for copying to clipboard (fpsCtrls), initial version only handles biff8 and biff5 formats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4354 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-23 21:40:32 +00:00
6a82944c1c fpspreadsheet: biff writers store selected ranges now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4353 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-23 13:28:24 +00:00
9850c499a2 RxFPC: documentation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4352 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-22 08:06:00 +00:00
32343a87a3 fpspreadsheet: Add support for frozen panes to ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4351 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-21 21:54:49 +00:00
075b82257f fpspreadsheet: Add support for hidden gridlines and table headers to ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4350 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-21 16:25:50 +00:00
022eac32cf fpspreadsheet: Add missing files to laz_fpspreadsheet package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-21 16:15:44 +00:00
d2510c2961 fpspreadsheet: Add PageLayout support to ExcelXML writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-21 16:03:41 +00:00
62150b4aca fpspreadsheet: Add support for column width and row height to ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 22:41:07 +00:00
f2f4ce227a fpspreadsheet: Fix formulas in ExcelXMLWriter. Fix excelxmlwrite demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 21:01:57 +00:00
0ce72db2f0 fpspreadsheet: Reformat xlsxml.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4345 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 15:25:05 +00:00
9f593aa10a fpspreadsheet: Add 1904-DateMode to ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4344 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 14:20:04 +00:00
3b55c6c835 fpspreadsheet: Add merged cell support to ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4343 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 13:45:51 +00:00
6b92de4051 fpspreadsheet: Add hyperlink support to ExcelXML writer, complete comment support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4342 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 12:22:28 +00:00
995c1a737e fpspreadsheet: Fix comments in ExcelXML writer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4341 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 11:19:49 +00:00
265a1270da fpspreadsheet: Fix rich-text formatted cell text for ExcelXML writer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4340 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-20 09:57:10 +00:00
d5d400798e fpspreadsheet: Fix missing spaces in alignment tag of xml writer. Add excelxmlwrite demo (not working yet).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-19 23:16:57 +00:00
0dc5a6e45e fpspreadsheet: Add writer for ExcelXML files (Office XP and 2003, will be needed for clipboard operations); formulas and rich-text not functional, yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-19 22:55:18 +00:00
b1902b12c6 RxFPC: documentation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-18 07:43:21 +00:00
c22465879e fpspreadsheet: Fix reading non-integer sized fixed panes in xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-17 14:48:33 +00:00
899efef347 fpspreadsheet: Fix xlsx reading crashing for non-integer font sizes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4335 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-17 12:51:54 +00:00