|
885faa4ed6
|
* Cleanup TJvXPBarItem.GetImages
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-08 00:10:30 +00:00 |
|
|
3d09a86a15
|
Add "Word" and "Byte" overloaded "CheckEquals"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-07 14:35:17 +00:00 |
|
|
776bfddbcf
|
"DefaultFormatSettings" is not defined for Delphi <= 2007
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-07 14:33:16 +00:00 |
|
|
12c4a4a2a2
|
fpspreadsheet: Read ods formula and display it in TsWorksheetGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 15:48:02 +00:00 |
|
|
712e0f9f27
|
fpspreadsheet: Add font writing support to ods. Add font ods test cases. Passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 13:09:14 +00:00 |
|
|
20567b639c
|
fpspreadsheet: some cosmetics to better show the file format tested in a test case
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 12:17:45 +00:00 |
|
|
0e675ba97d
|
fpspreadsheet: Add units tests for ods font colors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 12:08:04 +00:00 |
|
|
ebf3fce852
|
fpspreadsheet: Write font attributes to ods file (except for font name).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 11:16:23 +00:00 |
|
|
d7ee2a84d8
|
fpspreadsheet: Fix crash of unit test application in case of missing length unit in HTMLLengthStrToPts. Rearrange code for ods font reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 09:17:52 +00:00 |
|
|
036383d658
|
fpspreadsheet: Add support for reading fonts from ods files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3146 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 08:48:22 +00:00 |
|
|
0954ad8470
|
* fpspreadsheet: anticipate changed messages handling in Lazarus trunk (see e.g. Lazarus revision 45363) by removing explicit messages file specification
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-06 06:14:23 +00:00 |
|
|
6c0efaf6eb
|
fpspreadsheet: Improvments of TsWorksheetGrid and fpsgrid demo: Fix currency symbol not shown when selecting currency format. Fix showing a zero value when assigning a number format to an empty cell. Fix formula display when selecting an empty cell. Reset number format when selecting "General" format. Move selection to entered cell address in address edit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 21:57:23 +00:00 |
|
|
c275de3947
|
fpspreadsheet: Fix BIFF currency bug of previous commit. Fix UTF8 bug when reading currency symbol. No more errors in number test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 19:57:00 +00:00 |
|
|
c335deb56c
|
fpspreadsheet: Add currency test cases to numbertests. 1 fail for biff to be fixed, ods ok. Remove experimental code from opendocread.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 09:14:13 +00:00 |
|
|
292908eac3
|
fpspreadsheet: Add basic currency format support to ods reading. Replace xmlread and DOM in the uses clause of fpsopendocument.pas laz2_xmlread and laz2_DOM to correctly catch the currency symbols.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 08:29:32 +00:00 |
|
|
bac68e48c5
|
fpspreadsheet: Combine percentage format detection with other number formats (for ods)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3140 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 07:58:18 +00:00 |
|
|
0aeefd619f
|
fpspreadsheet: Fix remaining issue of ods-1904 datetests. All tests green finally again.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-05 07:39:16 +00:00 |
|
|
5542b1ac56
|
fpspreadsheet: Activate all disabled ods date tests & fix some more issues related to inconsistent formats by Open/LibreOffice -> done to 6 errors for 1904 datemode, that's probably the best we can get.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3138 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-04 22:11:17 +00:00 |
|
|
b73779e82e
|
fpspreadsheet: Repeat testodf*.ods test files, previous one were broken.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3137 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-04 19:30:49 +00:00 |
|
|
f34a8e9c4f
|
fpspreadsheet: Fix some formatting bugs in testodf*.ods test files. Add a column showing the number value of the date/time value.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3136 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-04 18:51:33 +00:00 |
|
|
d41e1c6f39
|
Range Fix, thanks (Dimitrios Chr. Loannidis)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-04 14:16:51 +00:00 |
|
|
02190bc58c
|
fpspreadsheet: Fix reading time interval format for ods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3134 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-04 10:33:36 +00:00 |
|
|
73dc71627b
|
fpspreadsheet: Add code for detection of date/time cells which are incorrectly written as float by Open/LibreOffice. Implement conditional number formats for all number types (sometimes falsely assigned). Reactivate ignored date test cases for ods-1899, pass. 1904 date mode still faulty, not clear if this will ever pass the test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3133 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-03 22:04:11 +00:00 |
|
|
dd3229729d
|
Update user manual
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3132 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-03 08:55:48 +00:00 |
|
|
6ef6225a17
|
Code cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3131 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-03 06:55:16 +00:00 |
|
|
56a39e6da2
|
fpspreadsheet: Apply cell style and number format for ods date/time cells. Still some issues in unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3130 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 22:07:40 +00:00 |
|
|
8fd1b142ab
|
fpspreadsheet: Make ods stringtests test case ignore the string result of the ##0.0E0 format which is designed in ods to have a different result than biff; just compare the numerical value.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 19:48:50 +00:00 |
|
|
09d9d95789
|
fpspreadsheet: Fix incorrect detection of number format with thousand separator in ods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3128 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 19:33:02 +00:00 |
|
|
e6ad481905
|
fpspreadsheet: Fix TsWorksheetGrid header ignoring FixedColor setting for non-native TitleStyle.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 08:52:37 +00:00 |
|
|
b095079e91
|
fpspreadsheet: Fix failure of numformatparser to detect general number format (makes sample file t1s.xls in examples/fpschart usable again)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-02 08:07:56 +00:00 |
|
|
3ec5921b38
|
fpspreadsheet: Fix fpspreadsheetchart broken in rev 3020. For the moment don't use the t1.xls in the fpschart folder - it uses a "shared formula" which does not load with the current biff machinery.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 23:06:19 +00:00 |
|
|
f9663739db
|
fpspreadsheet: Add test case for empty cells for all biff and ods. All passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3124 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 22:11:31 +00:00 |
|
|
85a12aad98
|
fpspreadsheet: Modify numbertests, datetests and stringtests to avoid reopening the same test file again and again.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3123 8e941d3f-bd1b-0410-a28a-d453659cc2b4
|
2014-06-01 19:38:10 +00:00 |
|
|
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 |
|