v1.4.4-patch2

This commit is contained in:
csh 2023-08-29 11:33:57 +08:00
parent ba5f255573
commit ef0dcde062
2 changed files with 3 additions and 2 deletions

View File

@ -13009,7 +13009,7 @@ Type TDocumentBody = Class(DocObject)
if not ifObj(node) then
return false;
reset_position := false;
if node = TOfficeApi().GetCurrentPosition() then
if node.Eq(TOfficeApi().GetCurrentPosition()) then
reset_position := true;
next := node.NextElement('w:p');
node_.DeleteChild(node);

View File

@ -60,7 +60,8 @@ Type TDocxStyles = Class
///返回TDocxStyle对象
Function GetStyleById(id);
Begin
return idMap_[ id ];
newid := ifnumber(id) ? tostring(id) : id;
return idMap_[ newid ];
End;
//返回全部LatentStyles对象列表