소스 검색

Report, Export xlsx

MaiXinRong 8 년 전
부모
커밋
505f46dd0a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Forms/ReportsFrm.pas

+ 1 - 1
Forms/ReportsFrm.pas

@@ -1438,7 +1438,7 @@ procedure TReportsForm.ExportXlsReport(AStartPage, AEndPage: Integer;
       // 康博士代码中写批量打印是,用Printer.Canvas,打印当前时,用PreviewBox.Canvas。不懂为什么
       //APrintCom.OutputToExcelRangeXMLEx(PreviewBox.Canvas, AStartPage,
           //AEndPage, GetTemplateXlsFileName, AFileName, Border, ExcelMode)
-      APrintCom.OutputToExcelFileOE(PreviewBox.Canvas, AStartPage, AEndPage, GetTemplateXlsFileName, ExcelMode, Border)
+      APrintCom.OutputToExcelFileOE(PreviewBox.Canvas, AStartPage, AEndPage, GetTemplateXlsFileName, ExcelMode, Border, nil)
     else
       APrintCom.OutputToExcelFile(PreviewBox.Canvas, AStartPage,
           AEndPage, GetTemplateXlsFileName, AFileName, ExcelMode, Border);