diff --git a/components/fpspreadsheet/source/common/xlsxooxml.pas b/components/fpspreadsheet/source/common/xlsxooxml.pas index ad44a6c68..354200e6b 100644 --- a/components/fpspreadsheet/source/common/xlsxooxml.pas +++ b/components/fpspreadsheet/source/common/xlsxooxml.pas @@ -965,8 +965,8 @@ begin if (s1 = '1') or (s1 = '2') then fmt.BiDiMode := TsBiDiMode(StrToInt(s1)); - s1 := GetAttrValue(childNode, 'wrapText'); - if (s1 <> '') and (s1 <> '0') then + s1 := Lowercase(GetAttrValue(childNode, 'wrapText')); + if (s1 <> '') and (s1 <> '0') and (s1 <> 'false') then Include(fmt.UsedFormattingFields, uffWordWrap); s1 := GetAttrValue(childNode, 'textRotation');