Commit Graph

4713 Commits

Author SHA1 Message Date
75b30afd0a fpspreadsheet: Fix biff2 reader interpreting "general" number format as nfCustom.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-30 13:32:54 +00:00
3793c9bd95 fpspreadsheet: In numberformats with ambiguous "m" tokens ("month" or "minute") use "month" (like Excel)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-29 22:45:42 +00:00
e2ddc7c705 fpspreadsheet: Extend number format parser to accept the keyword "General" in custom formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-29 21:35:07 +00:00
a05a385c8d fpspreadsheet: Fix too dense background fill of biff2 files in spreadsheet grid, now like in Excel. Read number formats from BIFF2 files (don't use 21 predefined formats any more).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4160 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-29 17:57:05 +00:00
7a1caea387 fpspreadsheet: Prev commit was not good, now ok. Also: Fix fraction formats with explicit denominator (such as "#/32").
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-29 17:30:43 +00:00
f014686438 fpspreadsheet: Fix missing space between integer and numerator of formatted mixed fraction if integer format contains a thousand separator.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-29 16:16:37 +00:00
cb6433ad15 fpspreadsheet: Add demo how to write all Excel8 colors.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4157 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-28 21:54:05 +00:00
545bd7ed0f fpspreadsheet: Major reconstructor of color management: no more palettes now, use direct rgb colors instead. May break existing code - sorry! Update all demos and unit tests (passed).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-28 20:08:24 +00:00
46386a0f37 richmemo: win32 clean up hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-27 01:42:13 +00:00
6ac1c63457 richmemo: win32 theme drawing. #21347. The implementation is based on the patch (by unknown contributor - see the bug tacker issue). But, thank you!
The way to override the implementation is provided. 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-26 16:48:41 +00:00
8592b112fd richmemo: clean up win32 compiler hint messages
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-26 16:08:53 +00:00
da2b3ad44e RxFPC:fix typos in resourcestrings - id 0028182
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-26 13:40:45 +00:00
90b7d576a0 RxFPC:russian resources for RxDBGrid tools
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-25 10:41:44 +00:00
63d7776f8c RxFPC:new RxDBGrid tool - setup footer row
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-25 10:12:12 +00:00
4ccf6e7c15 richmemo: added CanPaste method and implementation for win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-25 01:01:12 +00:00
14ca948efd richmemo: change in the RTF property editor. If no text is specified - clear RTF property out.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-24 04:53:19 +00:00
915ba50653 richmemo: win32 setting RichEdit default font on WS SetFont method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-24 04:51:16 +00:00
e706371e5d RxFPC:TRxCloseFormValidator - add new property - IgnoreDisabled - ignore disabled controls on check form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4146 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-20 12:20:54 +00:00
8adf987bf9 fpspreadsheet: Better detection of fraction format by numberformat action. Some clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-19 16:18:01 +00:00
4a45218c8f fpspreadsheet: More robust float-to-fraction conversion of float. Add test cases for this conversion.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-19 10:55:18 +00:00
311e5c3d78 richmemo: gtk2 corrected the new name for tab alignment
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-19 10:29:03 +00:00
8bc9e1ffe7 richmemo: gtk2 fix the destruction of the handle to use proper DestroyLCLComponent() method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-19 02:51:07 +00:00
852fe15662 Fix "DoSendAndReceive" to "protected", Thanks Michael Van Canneyt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 18:46:08 +00:00
e1182fc49d richmemo: renamed values of TTabAlignment from ta** to tab** to prevent name collision with Classes.TAlignment.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4140 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 12:16:18 +00:00
d245500ae0 richmemo: + added Qt support for set/get text attributes.
+ added implementation for Qt search() method

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 02:18:01 +00:00
e60cc7d4c7 fpspreadsheet: Fix precision needed for converting numbers to fractions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4138 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 17:46:02 +00:00
db9a7563f1 FPChess: fix in the move validation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4137 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 14:49:32 +00:00
0acdd76ea1 * Fix compilation of demos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4136 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 12:56:01 +00:00
f2794f8c30 * Fix header checkbox display and click response. Issue 23443
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 02:37:41 +00:00
ef5d1c549c * Fix sortglyphsize calculation. Issue 28018
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4134 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 01:09:04 +00:00
a4502b08f6 * Paint triangle according to bidimode. Issue 24575
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4133 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 00:57:27 +00:00
4ab36a0463 * Use TTranslateString in Column Hint and Text properties. Issue 26559
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4132 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-17 00:51:27 +00:00
e307a01d51 fpspreadsheet: Some simplification of number format token analysis. Add number format unit tests for the new formats (fraction, split-off thousands)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4131 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-15 21:14:19 +00:00
2d35913169 fpspreadsheet: Add support for number formats splitting off thousands, (Excel syntax "0.0,"), millions ("0.0,,"), etc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4130 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-15 17:33:24 +00:00
6408cfff3a * Create check image lists
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-15 09:40:47 +00:00
1253df1460 * Change CheckImages type from TBitmap to TImageList just original component
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4128 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-14 02:07:13 +00:00
400ffe6431 fpspreadsheet: Fix writing of header/footer fonts to ods files. Some cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-12 20:51:18 +00:00
e5cb3ab0b5 * Fix compilation after last commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-11 19:37:56 +00:00
1b4ae3956e fpspreadsheet: Fix shadow attribute of header/footer font in ods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-11 16:06:04 +00:00
6a84c55899 fpspreadsheet: Fix pagelayout unit test. Passed now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4124 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-11 14:29:55 +00:00
c42a8fdedb fpspreadsheet: Fix line breaks in header/footer lines for xls and xlsx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4123 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-10 22:04:09 +00:00
770ff0d4f1 * Sync with main repository up to rev 760
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4122 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-10 01:47:41 +00:00
47db427771 fpspreadsheet: Add header/footer parser for conversion between Excel and ODS header/footer. Still some bugs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4121 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-09 22:40:59 +00:00
9253e59e67 Fix compilation of trunk under linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-09 00:17:07 +00:00
62e4a54c9e * fix moving control in design time
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4119 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-08 21:40:06 +00:00
a491df97d6 RxFPC: add controls for lazreport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4118 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-07 12:30:59 +00:00
98916ce6c7 RxFPC:RxDBGrid - fix export data to spreadsheet
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-06 06:31:21 +00:00
12d3dae6ed fpspreadsheet: Add font support for headers/footers from ods files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-05 17:38:39 +00:00
3a810728cf FPChess: Small style change (improve some comments, change some variable names in chessgame.pas and remove a couple unnecessary lines)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4115 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-05 00:40:51 +00:00
116b522290 fpspreadsheet: Add unit tests for page layout headers and footers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-04 21:14:29 +00:00