修复font一些属性设置/获取失败
This commit is contained in:
parent
f685fdced1
commit
e917dce1df
|
|
@ -308,7 +308,7 @@ Begin
|
||||||
End;
|
End;
|
||||||
Function TSDocxFont.ReadEmphasisMark();virtual;
|
Function TSDocxFont.ReadEmphasisMark();virtual;
|
||||||
Begin
|
Begin
|
||||||
case pr_.Value("first") of
|
case pr_.Value("Em") of
|
||||||
"none", nil:
|
"none", nil:
|
||||||
return TSDocxEnumerations.wdEmphasisMarkNone;
|
return TSDocxEnumerations.wdEmphasisMarkNone;
|
||||||
"comma":
|
"comma":
|
||||||
|
|
|
||||||
|
|
@ -467,6 +467,11 @@ Begin
|
||||||
return CallFunction(ThisFunction(class(TSDocxFont).ReadDuplicate));
|
return CallFunction(ThisFunction(class(TSDocxFont).ReadDuplicate));
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
Function TSDocxFontRange.WriteDoubleStrikeThrough(value);override;
|
||||||
|
Begin
|
||||||
|
CallFunction(ThisFunction(class(TSDocxFont).WriteDoubleStrikeThrough), value);
|
||||||
|
End;
|
||||||
|
|
||||||
Function TSDocxFontRange.ReadDoubleStrikeThrough();override;
|
Function TSDocxFontRange.ReadDoubleStrikeThrough();override;
|
||||||
Begin
|
Begin
|
||||||
return CallFunction(ThisFunction(class(TSDocxFont).ReadDoubleStrikeThrough));
|
return CallFunction(ThisFunction(class(TSDocxFont).ReadDoubleStrikeThrough));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue