修复font属性

This commit is contained in:
csh
2024-02-22 18:47:17 +08:00
parent e917dce1df
commit dbebc2805c
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ Begin
hash2 := hash;
for k, v in hash do
hash2[v] := k;
hash2[nil] := TSDocxEnumerations.wdColorAutomatic();
if ifnil(hash2[nil]) then hash2[nil] := TSDocxEnumerations.wdColorAutomatic();
return hash2;
+1 -1
View File
@@ -26,7 +26,7 @@ Begin
hash2 := hash;
for k, v in hash do
hash2[v] := k;
hash2[nil] := TSDocxEnumerations.wdAuto();
if ifnil(hash[nil]) then hash2[nil] := TSDocxEnumerations.wdAuto();
return hash2;