v1.3.9
This commit is contained in:
parent
1d0b5684cc
commit
1abc2028fe
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.3.8
|
// Version 1.3.9
|
||||||
|
|
||||||
Function TOfficeObj(n);
|
Function TOfficeObj(n);
|
||||||
Begin
|
Begin
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.3.8
|
// Version 1.3.9
|
||||||
|
|
||||||
Type TSDocxFile = Class
|
Type TSDocxFile = Class
|
||||||
///Version: V1.0 2022-09-20
|
///Version: V1.0 2022-09-20
|
||||||
|
|
@ -141,6 +141,7 @@ Type TSDocxFile = Class
|
||||||
///返回TParagraph对象
|
///返回TParagraph对象
|
||||||
Function AddHeading(title, posOpt, level);
|
Function AddHeading(title, posOpt, level);
|
||||||
Begin
|
Begin
|
||||||
|
if ifstring(level) then return document_.Body().AddHeading(title, getPosNode(posOpt), level);
|
||||||
styleName := level = 0 ? 'Title' : 'Heading ' $ level;
|
styleName := level = 0 ? 'Title' : 'Heading ' $ level;
|
||||||
style := StyleObject().GetStyle(styleName);
|
style := StyleObject().GetStyle(styleName);
|
||||||
if not ifObj(style) and ifInt(level) and level >= 0 and level <= 9 then
|
if not ifObj(style) and ifInt(level) and level >= 0 and level <= 9 then
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.3.8
|
// Version 1.3.9
|
||||||
|
|
||||||
Type TSExcelFile = Class
|
Type TSExcelFile = Class
|
||||||
///Version: V1.0 2022-08-08
|
///Version: V1.0 2022-08-08
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue