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