|
@@ -175,7 +175,7 @@ type
|
|
|
implementation
|
|
|
|
|
|
uses
|
|
|
- UtilMethods, Math, DirectPrintUnit, Globals, ZhAPI, ReportAdjustFrm,
|
|
|
+ UtilMethods, Math, Globals, ZhAPI, ReportAdjustFrm,
|
|
|
Contnrs, mEncryptUnit, Printers, WinSpool, MainFrm, ConstUnit,
|
|
|
GclBillsGatherModel;
|
|
|
|
|
@@ -508,8 +508,7 @@ begin
|
|
|
if Node.HasChildren or (Node.Checked <> csChecked) or (Node.Data = nil) then Continue;
|
|
|
vTemplateNode := TTemplateNode(Node.Data);
|
|
|
if FileExists(vTemplateNode.FileName) then
|
|
|
- directPrintReport(PreviewBox.Canvas, vTemplateNode.FileName,
|
|
|
- PreviewComXML, False, False, oemNormal,'','', IsExcel2010);
|
|
|
+ PrintReport(vTemplateNode, False, False, '', '');
|
|
|
end;
|
|
|
extvReport.ClearChecked;
|
|
|
end;
|