v1.4.4-patch2
This commit is contained in:
parent
ba5f255573
commit
ef0dcde062
|
|
@ -13009,7 +13009,7 @@ Type TDocumentBody = Class(DocObject)
|
||||||
if not ifObj(node) then
|
if not ifObj(node) then
|
||||||
return false;
|
return false;
|
||||||
reset_position := false;
|
reset_position := false;
|
||||||
if node = TOfficeApi().GetCurrentPosition() then
|
if node.Eq(TOfficeApi().GetCurrentPosition()) then
|
||||||
reset_position := true;
|
reset_position := true;
|
||||||
next := node.NextElement('w:p');
|
next := node.NextElement('w:p');
|
||||||
node_.DeleteChild(node);
|
node_.DeleteChild(node);
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,8 @@ Type TDocxStyles = Class
|
||||||
///返回:TDocxStyle对象
|
///返回:TDocxStyle对象
|
||||||
Function GetStyleById(id);
|
Function GetStyleById(id);
|
||||||
Begin
|
Begin
|
||||||
return idMap_[ id ];
|
newid := ifnumber(id) ? tostring(id) : id;
|
||||||
|
return idMap_[ newid ];
|
||||||
End;
|
End;
|
||||||
|
|
||||||
//返回全部LatentStyles对象列表
|
//返回全部LatentStyles对象列表
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue