Programming/Delphi

퀵레포트 미리보기를 HTML, EXCEL, CSV, RTF 등으로 변환하는 방법

통통만두 2011. 5. 27. 11:06
반응형
uses QRExport

procedure TForm1.Button2Click(Sender: TObject);
var
   EP : TQRHTMLDocumentFilter;
begin
   EP := TQRHTMLDocumentFilter.Create('d:\test.html');
   try
      Form2.QuickRep1.ExportToFilter(EP);
   finally
      FreeAndNil(EP);
   end;
end;

Others :
HTML : TQRHTMLDocumentFilter
ASCII : TQRAsciiExportFilter
CSV : TQRCSVFilter

Pro :
RTF : TQRRTFExportFilter
WMF : TQRWMFExportFilter
Excel : TQRXLSFilter
  




출처 : http://blog.naver.com/PostView.nhn?blogId=sobakmt&logNo=60079110577
반응형