修复填充色shd的值是clear表示不填充
This commit is contained in:
parent
57f673f457
commit
8ab1670eea
|
|
@ -28,7 +28,7 @@ end;
|
|||
function TSPdfBordersRange.Do();override;
|
||||
begin
|
||||
// println("Left = {}, Top = {}, Right = {}, Bottom = {}, Tl2Br = {}, Tr2Bl = {}", Left, Top, Right, Bottom, Tl2Br, Tr2Bl);
|
||||
if {self.}TcPr.Shd.Fill then
|
||||
if {self.}TcPr.Shd.Fill and {self.}TcPr.Shd.Val <> "clear" then
|
||||
begin
|
||||
[r, g, b] := array(0, 0, 0);
|
||||
if {self.}TcPr.Shd.Fill <> "auto" then [r, g, b] := TSColorToolKit.HexToRGB({self.}TcPr.Shd.Fill);
|
||||
|
|
|
|||
Loading…
Reference in New Issue