public static QSTDI.TdiTabBase GetPreviewTab(IPrintableDocument document) { return new QSReport.ReportViewDlg (document.GetReportInfoForPreview()); }