You've already forked lazarus-ccr
fpspreadsheet: Fix xlsx reader ignoring cell attributes for cells having font #1 in files not written by fps (confused by uffBold).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -340,10 +340,10 @@ begin
|
||||
xf := TXFListData(FXfList.Items[XfIndex]);
|
||||
|
||||
// Font
|
||||
if xf.FontIndex = 1 then
|
||||
if FWrittenByFPS and (xf.FontIndex = 1) then
|
||||
Include(ACell^.UsedFormattingFields, uffBold)
|
||||
else
|
||||
if xf.FontIndex > 1 then
|
||||
if xf.FontIndex > 0 then
|
||||
Include(ACell^.UsedFormattingFields, uffFont);
|
||||
ACell^.FontIndex := xf.FontIndex;
|
||||
|
||||
|
Reference in New Issue
Block a user