Browse Source

Report, export xlsx, narrow

MaiXinRong 7 years ago
parent
commit
18a6ff5193
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Forms/ReportsFrm.pas

+ 1 - 1
Forms/ReportsFrm.pas

@@ -772,7 +772,7 @@ begin
       end;
     end else
     begin
-      if (DrawType = 3) or (DrawType = 5) then
+      if (DrawType = DRAW_TYPE_EXCEL_XML) or (DrawType = DRAW_TYPE_EXCEL) or (DrawType = DRAW_TYPE_EXCEL_OE) then
       begin
         contentFontRec.FontHeight := Round(ReportConfig.ContentFont.Size*4/3);
       end else if (isPrinting) then