diff --git a/ExcelFile使用帮助.xlsx b/ExcelFile使用帮助.xlsx index dcbc103..a4acb61 100644 Binary files a/ExcelFile使用帮助.xlsx and b/ExcelFile使用帮助.xlsx differ diff --git a/Linux-x86_64/liboffice_plugin.so b/Linux-x86_64/liboffice_plugin.so index e192195..a02d5c9 100644 Binary files a/Linux-x86_64/liboffice_plugin.so and b/Linux-x86_64/liboffice_plugin.so differ diff --git a/funcext/TSOffice/TSExcelFile.tsf b/funcext/TSOffice/TSExcelFile.tsf index 37758e2..5639cbd 100644 --- a/funcext/TSOffice/TSExcelFile.tsf +++ b/funcext/TSOffice/TSExcelFile.tsf @@ -406,13 +406,10 @@ Type TSExcelFile = Class ///sheet: string,工作表名称 ///range:string,图表所处矩形区域,"A5:F10" ///chart:TChart对象 - ///返回: [err, info] Function AddChart(sheet, range, chart); Begin o := getOj(sheet, 'xlsxChart'); - if not ifObj(o) then return array(1, 'The sheet is not exist.'); - if not ifObj(chart) then return array(2, 'Invalid chart param.'); - return o.AddChart(range, chart); + if ifObj(chart) then return o.AddChart(range, chart); End; ///获取图表列表