d24bf8307f
fpspreadsheet: Fix autorowheight calculation in grid hanging if row contains a zero-width column
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-11 09:56:53 +00:00
72d1f2798e
fpspreadsheet: Fix TsWorksheetGrid hanging in case of zero-width or zero-height cells
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-08 19:27:59 +00:00
b6a839a0f7
fpspreadsheet: Fix automatic row height calculation in WorksheetGrid for rotated text.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-19 22:57:46 +00:00
10c6042b7a
fpspreadsheet: Fix automatic column width in grid.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-16 17:27:51 +00:00
c8d5e0f95a
fpspreadsheet: Add text format. Allow leading apostrophe to prevent conversion of a cell text to numbers.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-09 21:17:53 +00:00
cf95cc412c
fpspreadsheet: Fix drawing of stacked text in WorksheetGrid. Some more refactoring. Cleanup.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 10:10:25 +00:00
cf1c0122b1
fpspreadsheet: Fix painting of spaces in RTL texts in TsWorksheetGrid
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-24 11:09:22 +00:00
8a5364b8b7
fpspeadsheet: Fix infinite loop in TsWorksheet if word-wrapped cell gets narrower than the width of a character.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 18:15:21 +00:00
845e9d8626
fpspreadsheet: Fix RTL text alignment bug in TWorksheetGrid for Arabian text
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-23 13:43:03 +00:00
74d6314155
fpspreadsheet: Refactor rich-text drawing for TWorksheetGrid (now blocks with same font, instead of char-by-char).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-22 21:22:05 +00:00
f9c7e354c5
fpspreadsheet: Clean-up
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-09-09 13:20:09 +00:00
caacb195e4
spreadsheet: Fix painting issues for rich-text imported by HTMLReader, not fully solved yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4261 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-09 22:42:20 +00:00
62355e2d51
fpspreadsheet: Re-do rich-text format (easier, less code). Fix rich-text issues with utf8 characters.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-08 16:23:49 +00:00
56a82b945b
fpspreadsheet: Fix worsheetgrid respecting font color defined by number format code
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 13:10:03 +00:00
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
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
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
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
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
2bf5464fc6
fpspreadsheet: Move type declarations from fpspreadsheet.pas to new unit fpstypes.pas. Update all examples.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-17 22:57:23 +00:00
2ef2765646
fpspreadsheet: Better way to avoid storing of TsWorksheetgrid's ColWidths/RowHeights in lfm, thanks to Engkin. Fix compilation error in fpsvisualutils.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-12 11:42:23 +00:00
8c38687a90
fpspreadsheet: Add actions for font and background color selection.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3727 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-14 23:27:49 +00:00