Some small bugs in XLSReadWriteII v6.40

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
MicHo
Posts: 4
Joined: Tue Jul 31, 2018 1:53 pm

Some small bugs in XLSReadWriteII v6.40

Post by MicHo »

Hello,

1.)
XlsDrawinf5.pas
=============
procedure TXLSDrwShapeProperies.SetHasLine(const Value: boolean);
begin
if Value and (FLine = Nil) then begin
FSpPr.Create_Ln;
// TODO Check if it is an open line
FLine := TXLSDrwLineStyle.Create(FSpPr.Ln,False);
end
else if not Value and (FLine = Nil) then begin // must be <> nil, please correct
FSpPr.Free_Ln;
FreeAndNil(FLine);
end;
end;

2.)
Collapsed in Grouprows don’t work; rows are allways expanded
for example "Xls[0].GroupRows(firstGroupRow, xRow, true);" // true or false for collapsed parameter provides the same result

3.)
Editor := XLS[0].Drawing.EditTextBox(TB);
try
Editor.Body.DefaultFont.Color:= clRed; // don’t works ; color isn’t set please correct

Thanks in advance
Post Reply