v1.4.3
This commit is contained in:
parent
9037124c01
commit
819efc1ee1
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.4.2
|
// Version 1.4.3
|
||||||
|
|
||||||
Function TOfficeObj(n);
|
Function TOfficeObj(n);
|
||||||
Begin
|
Begin
|
||||||
|
|
@ -11078,6 +11078,25 @@ Type TParagraph = Class(DocObject, TParagraphImpl)
|
||||||
markEnd.SetAttribute('w:id', bookMarkID);
|
markEnd.SetAttribute('w:id', bookMarkID);
|
||||||
return name;
|
return name;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
///判断是否为空段落
|
||||||
|
///返回: bool
|
||||||
|
Function Empty();
|
||||||
|
Begin
|
||||||
|
if ifObj(node_) then
|
||||||
|
begin
|
||||||
|
sub_node := node_.FirstChildElement();
|
||||||
|
if not ifObj(sub_node) then return true;
|
||||||
|
// 兼容wps
|
||||||
|
sub_node2 := sub_node.NextElement();
|
||||||
|
if sub_node.GetName() = 'w:bookmarkStart' and ifObj(sub_node2) and sub_node2.GetName() = 'w:bookmarkEnd' then
|
||||||
|
return true;
|
||||||
|
// 兼容word
|
||||||
|
if sub_node.GetName() = 'w:pPr' and not ifObj(sub_node2) then
|
||||||
|
return true;
|
||||||
|
end
|
||||||
|
return false;
|
||||||
|
End;
|
||||||
|
|
||||||
Function CopyRunFormat(del, toRunNode);
|
Function CopyRunFormat(del, toRunNode);
|
||||||
Begin
|
Begin
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.4.2
|
// Version 1.4.3
|
||||||
|
|
||||||
Type TSDocxFile = Class
|
Type TSDocxFile = Class
|
||||||
///Version: V1.0 2022-09-20
|
///Version: V1.0 2022-09-20
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.4.2
|
// Version 1.4.3
|
||||||
|
|
||||||
Type TSExcelFile = Class
|
Type TSExcelFile = Class
|
||||||
///Version: V1.0 2022-08-08
|
///Version: V1.0 2022-08-08
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue