update 2022-03-04
This commit is contained in:
parent
ca8889d26f
commit
c9f66b5901
|
|
@ -124,11 +124,11 @@ Type ExcelFile = Class
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///设置工作表背景图片
|
///设置工作表背景图片
|
||||||
///picture: string,图片文件路径
|
///pictrue: string,图片文件路径
|
||||||
///返回: [err, info]
|
///返回: [err, info]
|
||||||
Function SetSheetBackground(sheet, picture);
|
Function SetSheetBackground(sheet, pictrue);
|
||||||
Begin
|
Begin
|
||||||
return xlsx_call("SetSheetBackground", fh_, sheet, picture);
|
return xlsx_call("SetSheetBackground", fh_, sheet, pictrue);
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///设置默认(活动)工作表
|
///设置默认(活动)工作表
|
||||||
|
|
@ -997,7 +997,7 @@ Type ExcelFile = Class
|
||||||
///插入图片
|
///插入图片
|
||||||
///sheet: string,工作表名称
|
///sheet: string,工作表名称
|
||||||
///cell: string,单元格
|
///cell: string,单元格
|
||||||
///picture: string,图片文件路径
|
///pictrue: string,图片文件路径
|
||||||
///format: string,json串,图片格式(例如偏移、缩放和打印设置等)
|
///format: string,json串,图片格式(例如偏移、缩放和打印设置等)
|
||||||
///eg. format := '{
|
///eg. format := '{
|
||||||
/// "x_scale": 0.5,
|
/// "x_scale": 0.5,
|
||||||
|
|
@ -1005,18 +1005,18 @@ Type ExcelFile = Class
|
||||||
/// "hyperlink": "#Sheet2!D8",
|
/// "hyperlink": "#Sheet2!D8",
|
||||||
/// "hyperlink_type": "Location"}';
|
/// "hyperlink_type": "Location"}';
|
||||||
///返回: [err, info]
|
///返回: [err, info]
|
||||||
Function AddPicture(sheet, cell, picture, format);
|
Function AddPictrue(sheet, cell, pictrue, format);
|
||||||
Begin
|
Begin
|
||||||
return xlsx_call("AddPicture", fh_, sheet, cell, picture, format);
|
return xlsx_call("AddPictrue", fh_, sheet, cell, pictrue, format);
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///删除图片
|
///删除图片
|
||||||
///sheet: string,工作表名称
|
///sheet: string,工作表名称
|
||||||
///cell: string,单元格
|
///cell: string,单元格
|
||||||
///返回: [err, info]
|
///返回: [err, info]
|
||||||
Function DeletePicture(sheet, cell);
|
Function DeletePictrue(sheet, cell);
|
||||||
Begin
|
Begin
|
||||||
return xlsx_call("DeletePicture", fh_, sheet, cell);
|
return xlsx_call("DeletePictrue", fh_, sheet, cell);
|
||||||
End;
|
End;
|
||||||
|
|
||||||
///添加形状
|
///添加形状
|
||||||
|
|
@ -1432,7 +1432,7 @@ Type ExcelFile = Class
|
||||||
Function IfUnset(datatye);
|
Function IfUnset(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=10 then
|
if datatype=10 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1442,7 +1442,7 @@ Type ExcelFile = Class
|
||||||
Function IfInt(datatye);
|
Function IfInt(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=0 then
|
if datatype=0 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1452,7 +1452,7 @@ Type ExcelFile = Class
|
||||||
Function IfInt64(datatye);
|
Function IfInt64(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=20 then
|
if datatype=20 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1462,7 +1462,7 @@ Type ExcelFile = Class
|
||||||
Function IfNumber(datatye);
|
Function IfNumber(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=1 then
|
if datatype=1 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1472,7 +1472,7 @@ Type ExcelFile = Class
|
||||||
Function IfString(datatye);
|
Function IfString(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=2 then
|
if datatype=2 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1482,7 +1482,7 @@ Type ExcelFile = Class
|
||||||
Function IfDate(datatye);
|
Function IfDate(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=3 then
|
if datatype=3 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
@ -1492,7 +1492,7 @@ Type ExcelFile = Class
|
||||||
Function IfError(datatye);
|
Function IfError(datatye);
|
||||||
Begin
|
Begin
|
||||||
if datatype=-1 then
|
if datatype=-1 then
|
||||||
return ture;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue