diff --git a/ExcelFile.tsf b/ExcelFile.tsf index 8071740..a1b67a6 100755 --- a/ExcelFile.tsf +++ b/ExcelFile.tsf @@ -124,11 +124,11 @@ Type ExcelFile = Class End; ///设置工作表背景图片 - ///picture: string,图片文件路径 + ///pictrue: string,图片文件路径 ///返回: [err, info] - Function SetSheetBackground(sheet, picture); + Function SetSheetBackground(sheet, pictrue); Begin - return xlsx_call("SetSheetBackground", fh_, sheet, picture); + return xlsx_call("SetSheetBackground", fh_, sheet, pictrue); End; ///设置默认(活动)工作表 @@ -997,7 +997,7 @@ Type ExcelFile = Class ///插入图片 ///sheet: string,工作表名称 ///cell: string,单元格 - ///picture: string,图片文件路径 + ///pictrue: string,图片文件路径 ///format: string,json串,图片格式(例如偏移、缩放和打印设置等) ///eg. format := '{ /// "x_scale": 0.5, @@ -1005,18 +1005,18 @@ Type ExcelFile = Class /// "hyperlink": "#Sheet2!D8", /// "hyperlink_type": "Location"}'; ///返回: [err, info] - Function AddPicture(sheet, cell, picture, format); + Function AddPictrue(sheet, cell, pictrue, format); Begin - return xlsx_call("AddPicture", fh_, sheet, cell, picture, format); + return xlsx_call("AddPictrue", fh_, sheet, cell, pictrue, format); End; ///删除图片 ///sheet: string,工作表名称 ///cell: string,单元格 ///返回: [err, info] - Function DeletePicture(sheet, cell); + Function DeletePictrue(sheet, cell); Begin - return xlsx_call("DeletePicture", fh_, sheet, cell); + return xlsx_call("DeletePictrue", fh_, sheet, cell); End; ///添加形状 @@ -1432,7 +1432,7 @@ Type ExcelFile = Class Function IfUnset(datatye); Begin if datatype=10 then - return ture; + return true; return false; End; @@ -1442,7 +1442,7 @@ Type ExcelFile = Class Function IfInt(datatye); Begin if datatype=0 then - return ture; + return true; return false; End; @@ -1452,7 +1452,7 @@ Type ExcelFile = Class Function IfInt64(datatye); Begin if datatype=20 then - return ture; + return true; return false; End; @@ -1462,7 +1462,7 @@ Type ExcelFile = Class Function IfNumber(datatye); Begin if datatype=1 then - return ture; + return true; return false; End; @@ -1472,7 +1472,7 @@ Type ExcelFile = Class Function IfString(datatye); Begin if datatype=2 then - return ture; + return true; return false; End; @@ -1482,7 +1482,7 @@ Type ExcelFile = Class Function IfDate(datatye); Begin if datatype=3 then - return ture; + return true; return false; End; @@ -1492,7 +1492,7 @@ Type ExcelFile = Class Function IfError(datatye); Begin if datatype=-1 then - return ture; + return true; return false; End; diff --git a/Linux-aarch64/libTsXlsx.so b/Linux-aarch64/libTsXlsx.so index 815eb23..2d1ecea 100755 Binary files a/Linux-aarch64/libTsXlsx.so and b/Linux-aarch64/libTsXlsx.so differ diff --git a/Linux-x86_64/libTsXlsx.so b/Linux-x86_64/libTsXlsx.so index 7822c69..5f99a83 100755 Binary files a/Linux-x86_64/libTsXlsx.so and b/Linux-x86_64/libTsXlsx.so differ