393ac71eb4
fpspreadsheet: Fix automatic row height calculation in case of stacked text rotation.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 11:40:48 +00:00
9674b291fd
fpspreadsheet: Fix ooxml reader crashing if file contains gradient fill definitions.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4223 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 11:19:50 +00:00
9505aeb485
fpspreadsheet: Add style section to written html file. Fix some issues of rich-text formatting when writing html.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 22:54:34 +00:00
efa58b67c7
fpspreadsheet: Merged cell, hyperlink and row height support for html writer. Fix reading order of rich-text and asian phonetic info for biff8 reader.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 17:34:54 +00:00
ae6246254b
fpspreadsheet: add demo for html writer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 22:29:45 +00:00
9bf5e60e90
fpspreadsheet: Initial commit of html writer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 22:13:48 +00:00
5e0bd6453d
fpspreadsheet: Fix incorrect writing of rich-text sections by ods if manual line-breaks are present.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 21:24:55 +00:00
64bb12c1ea
RxFPC: RxDBGrid - for collumn footer add property Footers
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-28 10:15:04 +00:00
745ac96e84
fpspreadsheet: Add search form for visual demo.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 23:19:18 +00:00
ef69632cea
fpspreadsheet: Initial version of searching in workbook/worksheet, not perfect yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 23:01:52 +00:00
42f5ce9be2
fpspreadsheet: Add creation of biff8 commentlist forgotten in previous commit
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 22:50:31 +00:00
d2f8202c38
RxFPC:new flag coDisableDialogFind in RxCollumn.Options - disable show collumn in rxdbgrud find dialog
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-27 12:32:43 +00:00
a838fe2707
fpspreadsheet: A bunch of updates have run up...
...
- Activate ReadFromStream from xls5/8, xlsx, and ods readers (issue #0028389 )
- Fix ods using correct hyperlink font
- Rich text formatting runs for xls5/8, xlsx, ods (both reading and writing)
- BIFFExplorer: show details of rich-text formatting runs for SST and RSTRING records
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-26 12:40:51 +00:00
e0b25c8f51
fpspreadsheet: Fix WorksheetGrid hanging if cell text contains a manual line break. Fix reading of new subscript and superscript font properties for biff5 and biff8 (Rich-text support not yet fully working here).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-10 09:13:19 +00:00
a5e3c273a6
fpspreadsheet: Improved worksheet grid row height and col width calculation taking care of rich text formatted cells.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 21:35:50 +00:00
4e44185df4
fpspreadsheet: Improved centering of stacked text in cells of Worksheetgrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4206 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 18:34:31 +00:00
e1920a4bfa
fpspreadsheet: Fix new cell painting code causing a hang in case of stacked text rotation.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 17:47:59 +00:00
5b319c45bf
fpspreadsheet: Fix rich-text ignoring non-ansi characters. Beginning to handle rich-text formatting runs when reading biff5 files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 15:29:44 +00:00
9b89738158
fpspreadsheet: Extend TsFont for sub-/superscripts. Initial implementation of "rich-text" cell format: display in WorksheetGrid and SpreadsheetInspector, read from xlsx, extend TsWorksheet.WriteUTF8Text() for rich-text formatting runs.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-09 11:10:15 +00:00
f80c3a9df0
fpspreadsheet: Fix string encoding error observed with fpc3 and non-UTF8RTL.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-03 20:35:12 +00:00
e3bb7c1efa
fpspreadsheet: Fix formatting of date as weekday
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-01 09:07:16 +00:00
d8e49350eb
fpspreadsheet: Change package version to 1.7. Clean up compilation warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 17:59:09 +00:00
4c43ae6e25
fpspreadsheet: Fix compilation with old Laz 1.2 / fpc 2.6.2
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 17:40:06 +00:00
539da5c2db
fpspreadsheet: Final changes before release 1.6
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-28 12:09:12 +00:00
daeb6ebf88
fpspreadsheet: Prepare offline-wiki for upcoming relase v1.6
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-27 21:19:58 +00:00
65c59aa927
fpspreadsheet: Add a new chm help file containing snapshots of the fpspreadsheet wiki articles. Move current fpspreadsheet.chm into a docs subfolder and rename it to fpspreadsheet-api.chm. Add/update scripts and tools for creation of these chm files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-27 19:40:42 +00:00
77c38e6788
RxFPC: TRxColumnEditButton add new property - Enabled.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4192 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-17 08:09:34 +00:00
bf92d455f5
richmemo: extending support for links in win32
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4191 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-15 17:21:30 +00:00
51cb7240d2
richmemo: win32 fix for theme border drawing. #28269 , based on the patch by Andrey Korol
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-15 16:52:31 +00:00
773295ba3e
fpspreadsheet: Another exotic formula test case: multiple application of % operator.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4187 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-08 17:11:46 +00:00
e121751361
fpspreadsheet: Reactivate the expression parser test cases which were commented (and forgotten) some time ago. Activate missing argument tests. Add some "exotic" formulas. All passed.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-08 17:03:55 +00:00
c4c1eeece9
RxFPC:fix export to spreadsheet
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-08 12:08:21 +00:00
7312852637
fpspreadsheet: Fix speed drop when writing a single column only (reported and fixed by alex80, see http://forum.lazarus.freepascal.org/index.php/topic,28692.msg179682 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-08 10:19:34 +00:00
b8f0d3572e
fpspreadsheet: Erase formula if a new value is entered into cell
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-07 17:52:38 +00:00
f061f22e72
fpspreadsheet: Simplify expression parser by removing conversion nodes (no type check any more). Add formula ERROR.TYPE().
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4182 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-07 15:33:36 +00:00
5ba3407139
fpspreadsheet: Fix spreadsheet function WEEKDAY to work with cell reference
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-07 08:22:12 +00:00
9fbe0f7b4e
fpspreadsheet: remove type check in TsExpressionParser to be more compatible with Office applications. Fix parser to correctly handle exotic expressions such as "=50%^200%"
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4180 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-06 19:34:39 +00:00
5d6bea6a85
fpspreadsheet: Add support for missing arguments to formula parser.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-06 11:53:47 +00:00
40644ea5d5
fpspreadsheet: Fix biff8 reader crashing with file containing SST and CONTINUE records and asian phonetic string in SST record.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4178 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-04 17:00:21 +00:00
80738eec17
fpspreadsheet: Implement drag and drop of file to biffexplorer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-04 15:31:20 +00:00
54e0dc8d6f
fpspreadsheet: Avoid BIFFExplorer crashing in case of a biff8 SST record requiring a CONTINUE record.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-04 15:12:34 +00:00
272db02859
fpspreadsheet: Change package version numbers to 1.6 for next release. Update chm help file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4175 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-03 11:07:39 +00:00
a658f6f7e6
fpspreadsheet: Fix runtime errors of guitests in debug mode
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4174 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-02 08:31:00 +00:00
0d7bdfa06c
fpspreadsheet: Move TsCellFormatList from fpsTypes.pas to fpsClasses.pas. Updated chm help file after proof-reading.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-01 19:58:26 +00:00
694c87f585
fpspreadsheet: Update chm help file
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4172 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-01 13:55:40 +00:00
3eeefd11eb
fpspreadsheet: Update readme file in examples/other/.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-31 20:50:07 +00:00
6eacf13d99
fpspreadsheet: Move all numberformat-related procedures/functions to unit fpsnumformat.pas. Check all demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-31 20:28:25 +00:00
a63c9ad4a5
fpspreadsheet: Make unit fpsnumformat.pas independent of fpspreadsheet.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4169 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-31 16:41:34 +00:00
750a0c68f5
fpspreadsheet: Move some general procedures from fpspreadsheet.pas to fpsutils.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-31 16:34:40 +00:00
f8f72e3847
fpspreadsheet: Make number format parser independent of workbook. Some cleanup.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4167 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-31 16:06:22 +00:00