You've already forked lazarus-ccr
fpspreadsheet: Fix ODS reader's incorrect usage of cell borders in files written by Excel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3589 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2185,7 +2185,7 @@ begin
|
|||||||
bkClr := HTMLColorStrToColor(s);
|
bkClr := HTMLColorStrToColor(s);
|
||||||
// Borders
|
// Borders
|
||||||
s := GetAttrValue(styleChildNode, 'fo:border');
|
s := GetAttrValue(styleChildNode, 'fo:border');
|
||||||
if (s <>'') then begin
|
if (s <>'') and (s <> 'none') then begin
|
||||||
borders := borders + [cbNorth, cbSouth, cbEast, cbWest];
|
borders := borders + [cbNorth, cbSouth, cbEast, cbWest];
|
||||||
SetBorderStyle(cbNorth, s);
|
SetBorderStyle(cbNorth, s);
|
||||||
SetBorderStyle(cbSouth, s);
|
SetBorderStyle(cbSouth, s);
|
||||||
|
Reference in New Issue
Block a user