v1.5.2
This commit is contained in:
parent
b617f235fa
commit
1e9b8f3a12
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.5.1
|
// Version 1.5.2
|
||||||
|
|
||||||
Function TOfficeObj(n);
|
Function TOfficeObj(n);
|
||||||
Begin
|
Begin
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.5.1
|
// Version 1.5.2
|
||||||
|
|
||||||
Type TSDocxFile = Class
|
Type TSDocxFile = Class
|
||||||
///Version: V1.0 2022-09-20
|
///Version: V1.0 2022-09-20
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Version 1.5.1
|
// Version 1.5.2
|
||||||
|
|
||||||
Type TSXlsxFile = Class
|
Type TSXlsxFile = Class
|
||||||
///Version: V1.0 2022-08-08
|
///Version: V1.0 2022-08-08
|
||||||
|
|
@ -287,7 +287,7 @@ Type TSXlsxFile = Class
|
||||||
///formula: string,公式
|
///formula: string,公式
|
||||||
Function SetCellFormula(sheet, axis, formula);
|
Function SetCellFormula(sheet, axis, formula);
|
||||||
Begin
|
Begin
|
||||||
return workbook_.SetCellFormula(class(TSXml).CurCodePageToUtf8(sheet), axis, formula);
|
return workbook_.SetCellFormula(class(TSXml).CurCodePageToUtf8(sheet), axis, class(TSXml).CurCodePageToUtf8(formula));
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///获取公式
|
///获取公式
|
||||||
|
|
@ -296,7 +296,7 @@ Type TSXlsxFile = Class
|
||||||
///返回: [err, formula:string]
|
///返回: [err, formula:string]
|
||||||
Function GetCellFormula(sheet, axis);
|
Function GetCellFormula(sheet, axis);
|
||||||
Begin
|
Begin
|
||||||
return workbook_.GetCellFormula(class(TSXml).CurCodePageToUtf8(sheet), axis);
|
return class(TSXml).Utf8ToCurCodePage(workbook_.GetCellFormula(class(TSXml).CurCodePageToUtf8(sheet), axis));
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///按行赋值
|
///按行赋值
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue