update 2022-03-04

This commit is contained in:
hans 2022-03-04 15:18:58 +08:00
parent ca8889d26f
commit c9f66b5901
3 changed files with 15 additions and 15 deletions

View File

@ -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: stringjson串图片格式例如偏移、缩放和打印设置等
///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;

Binary file not shown.

Binary file not shown.