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);
|
||||
Begin
|
||||
|
|
@ -11079,6 +11079,25 @@ Type TParagraph = Class(DocObject, TParagraphImpl)
|
|||
return name;
|
||||
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);
|
||||
Begin
|
||||
rPr := class(TSXml).GetNode(node_, 'w:pPr/w:rPr');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.4.2
|
||||
// Version 1.4.3
|
||||
|
||||
Type TSDocxFile = Class
|
||||
///Version: V1.0 2022-09-20
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Version 1.4.2
|
||||
// Version 1.4.3
|
||||
|
||||
Type TSExcelFile = Class
|
||||
///Version: V1.0 2022-08-08
|
||||
|
|
|
|||
Loading…
Reference in New Issue