Sergey, I've found some unintelligible moments in this routine.
When we select table partially - and make parastyle conversion to partial selected table (not for all cells) - it works fine in part of
Code: Select all
if FPartialSelectedItem<>nil then begin
FPartialSelectedItem.ApplyStyleConversionToSubRVDatas(ParaStyleNo, True, ConvType);
exit;
end;
Code: Select all
for i := SelStartNo to SelEndNo do
GetItem(i).ApplyStyleConversionToSubRVDatas(ParaStyleNo, False, ConvType);
I think, it's necessary to exclude this part of code or change it in following way
Code: Select all
for i := SelStartNo to SelEndNo do
begin
if GetItem(i).StyleNo <> -60 then
GetItem(i).ApplyStyleConversionToSubRVDatas(ParaStyleNo, False, ConvType);
end;
Best regards,
Michael