|
976e037770
|
fpspreadsheet: Improved detection of space separators in date/time formats. Generally valid, no modification of xmlread required. Side-effect: leading spaces of xml elements have to be skipped manually
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3122 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 18:59:29 +00:00 |
|
|
27967f5e66
|
fpspreadsheet: Fix workaround in previous commit which did not work.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3121 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 13:44:02 +00:00 |
|
|
6f96f3bcb6
|
fpspreadsheet: Add workaround for missing xml spaces to TsOpenDocReader.ReadNumFormats.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 13:08:14 +00:00 |
|
|
100e8978ef
|
fpspreadsheet: Remove unnecessary empty rows and columns from test files "testodf.ods" and "testodf_1899.ods" to speed up test application.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3119 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 10:29:06 +00:00 |
|
|
33a8fdcb43
|
fpspreadsheet: Row height and column width reading/writing code for ods files complete. Test cases ok, but extremely slow speed of test application for numbertest and datetimetests. Changed units of row heights in worksheet: used to be points, is "lines" now (more consistent user interface - column width is in "standard characters", I prefer these units over centimeters because row heights/column widths become independent of screen pixels per inch this way)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3118 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-31 21:04:53 +00:00 |
|
|
39fcfc3016
|
fpspreadsheet: Add method NewSpreadsheet to TsWorksheetGrid. Add corresponding command to fpsgrid demo. Show cell address in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 21:26:38 +00:00 |
|
|
4dd961b590
|
fpspreadsheet: Writing and reading of horizontal and vertical text alignments in ods files. Add test cases. Pass.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 20:52:36 +00:00 |
|
|
d6907ceb0b
|
fpspreadsheet: Writing of ods styles: Put xml code of the formatting fields into separate functions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3115 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 19:26:08 +00:00 |
|
|
3ff4a1ab78
|
fpspreadsheet: Split subroutines off of main ods reading method to get shorter procedures.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 18:58:55 +00:00 |
|
|
e8f2524a91
|
fpspreadsheet: Reading of horizontal/vertical text alignment from ods files. Have to implement column styles to all formats correctly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3113 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 16:23:50 +00:00 |
|
|
3565623f83
|
fpspreadsheet: Remove session file fpsgrid.lrs from svn repository
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3112 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 09:06:57 +00:00 |
|
|
9757d10df3
|
fpspreadsheet: Fix text alignment issues of rotated text in TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3111 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 09:04:42 +00:00 |
|
|
44072f2629
|
fpspreadsheet: Reading and writing of text rotation in ods files. Add test case. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3110 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-28 07:53:50 +00:00 |
|
|
99f6a6f1d1
|
fpspreadsheet: Add unit tests for writing/reading of borders, borderstyle and wordwrap for ods files. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 22:12:48 +00:00 |
|
|
4aa640489f
|
fpspreadsheet: Add unit test for writing/reading of background color in ods. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3108 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 16:21:59 +00:00 |
|
|
11e09b888c
|
fpspreadsheet: Read the background color of ods files. Background color of ods files is displayed in fpsGrid. Fix border partially not showing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3107 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 13:58:57 +00:00 |
|
|
632b9d6200
|
fpspreadsheet: Add ods reading support for cell borders, border line styles and border colors. Borders of ods files are displayed in fpsgrid correctly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3106 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 13:09:23 +00:00 |
|
|
82da39dd9f
|
* fpspreadsheet: fpsgrid: show hourglass when loading/saving files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 12:19:28 +00:00 |
|
|
6eaee845bc
|
* fpspreadsheet: grid example project: save session info in separate lps file outside version control. Removes a lot of needless diffs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3104 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-27 12:10:45 +00:00 |
|
|
97ded8dfab
|
fpspreadsheet: Beginning to apply .ods formatting styles to cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3103 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-26 22:27:07 +00:00 |
|
|
85e2de8340
|
fpspreadsheet: Read date/time number formats from ods (not applied, yet)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3102 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-26 19:43:05 +00:00 |
|
|
d29219fc68
|
fpspreadsheet: Mark TsSpreadsheet.GetLastColNumber/GetLastRowNumber as deprecated, use GetLastColIndex/GetlastRowIndex instead.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-26 15:27:35 +00:00 |
|
|
f1a1a4474a
|
fpspreadsheet: Fix issue http://mantis.freepascal.org/view.php?id=26221 (empty cells misplace following cells in .ods)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3100 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-26 15:00:43 +00:00 |
|
|
070845d3ae
|
fpspreadsheet: Add property "Name" to TsNumFormatData. When reading ods files consider also styles in "styles.xml".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3099 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-26 08:03:36 +00:00 |
|
|
a4bc6fc8cf
|
fpspreadsheet: Beginning to read number formatting styles from ods file (so far, just populating the number format list)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3098 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-25 22:05:37 +00:00 |
|
|
7ee9acebf2
|
fpspreadsheet: Add missing simple opendocread demo (for .ods file format)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3097 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-25 20:48:49 +00:00 |
|
|
89f2f4bb57
|
fpspreadsheet: Extend formula reading test case to biff5 and biff2 and generalize it such that the test results are not affected by locale settings and rounding errors.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3096 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-25 16:49:45 +00:00 |
|
|
08d7ed126e
|
fpspreadsheet: Add unit test for reading rpn formulas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3093 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-24 20:28:05 +00:00 |
|
|
f8e63e1f93
|
fpspreadsheet: Rewrite "ParseCellString" to allow for multiletter column addresses.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-24 19:44:40 +00:00 |
|
|
934e210a4f
|
fpspreadsheet: Fix incorrect dection of cell ranges when reading biff rpn formulas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-24 18:20:30 +00:00 |
|
|
81ca0a4e41
|
fpspreadsheet: Fix handling of cell ranges in formulas by BIFF Explorer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-24 17:41:56 +00:00 |
|
|
81093f647f
|
fpspreadsheet: Improved reading of rpn formulas: replace "monster case instruction" for function parameter count by lookup table.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3088 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-24 17:11:05 +00:00 |
|
|
4271ace593
|
fpspreadsheet: Construct Excel-like formula string out of an RPN formula and display it in fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-23 23:13:49 +00:00 |
|
|
aad3342021
|
fpspreadsheet: Add info on DBCELL record to BIFFExplorer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-23 16:22:47 +00:00 |
|
|
08d3a8a137
|
fpspreadsheet: Add more format selection items to fpsgrid demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3083 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-23 15:45:07 +00:00 |
|
|
49e99a74b5
|
fpspreadsheet: Add reading of rpn formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3082 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-23 13:16:01 +00:00 |
|
|
a66603ab66
|
fpspreadsheet: Fix crash of BIFF Explorer when viewing RK records with negative numbers. Add info page for IXFE record (BIFF2 only). Fix info page for COLWIDTH records (BIFF2).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3081 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 22:13:23 +00:00 |
|
|
239633cb51
|
fpspreadsheet: Rename number format codes "nfCurrencyDash"/"nfCurrencyDashRed" to "nfAccounting"/"nfAccountingRed" and implement alignment of currency symbols as in Excel. Fix number format parser bug causing a failure in the corresponding test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 21:54:24 +00:00 |
|
|
dde6e12a85
|
fpspreadsheet: Restore excel2write demo forgotten in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3079 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 12:37:34 +00:00 |
|
|
ee1db37c7f
|
fpspreadsheet: In the unit tests, use the same methods for creating "soll" date/times and test format strings. --> No more biff-related regressions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 12:34:10 +00:00 |
|
|
c70b1db64f
|
fpspreadsheet: Improved detection of the ambivalent symbol "m" in format strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 10:09:35 +00:00 |
|
|
169dbe7b4f
|
fpspreadsheet: Fix biff2 writing incorrect xf record index if > 63.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-22 09:38:28 +00:00 |
|
|
fb92d5a906
|
fpspreadsheet: Bug fixes for biff2 reading/writing for number formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3075 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 23:01:07 +00:00 |
|
|
52faebc69e
|
fpspreadsheet: Improvements in biff5/8 reading of number formats, a few date/time relatived issues left. biff2 not yet touched.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 16:23:38 +00:00 |
|
|
a9df011859
|
fpspreadsheet: More logical writing strategy for biff number formats. Still issues with reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3072 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-21 12:12:16 +00:00 |
|
|
c57b353e68
|
fpspreadsheet: Fix wikitables compilation error due to new Workbook parameter of Create.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3069 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-20 18:45:03 +00:00 |
|
|
00ed56d1ef
|
fpspreadsheet: Integrate number format parser into fpspreadsheet. Some regressions in format detection...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3068 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-20 16:13:48 +00:00 |
|
|
7c3d710fbe
|
* Fix wikitable reading (add missing format list)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-20 12:38:10 +00:00 |
|
|
74af303a2a
|
* Remove explicit stabs debug format for laz_fpspreadsheet.lpk package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3066 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-20 12:37:29 +00:00 |
|
|
db28686b2f
|
Cosmetic
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3065 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-05-20 12:36:07 +00:00 |
|