MaiXinRong 8 лет назад
Родитель
Сommit
18a6ff5193
1 измененных файлов с 1 добавлено и 1 удалено
  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