@progress/telerik-angular-native-report-viewer
Version:
Progress® Telerik® Native Report Viewer for Angular
51 lines (50 loc) • 2.43 kB
TypeScript
/**
* Print mode options for the Native Angular Report Viewer.
* Controls how reports are printed, with different modes for handling PDF plugins. The available print modes are:
* - 'autoSelect': the viewer should automatically decide which option for printing to use depending on browser's version
* and whether the PDF plug-in is available or not.
* - 'forcePDFFile': the document for printing will be downloaded as a file (in PDF format with a special 'print' script enabled).
* - 'forcePDFPlugin': the viewer should always use the PDF plug-in.
*/
export type PrintMode = 'autoSelect' | 'forcePDFPlugin' | 'forcePDFFile';
/**
* Page display mode options for the Native Angular Report Viewer.
* The available page modes are:
* - 'continuousScroll': Pages are displayed in a continuous scroll mode, allowing users to scroll through the report without page breaks.
* - 'singlePage': Pages are displayed one at a time, with each page taking up the full viewport.
*/
export type PageMode = 'continuousScroll' | 'singlePage';
/**
* View mode options for the Native Angular Report Viewer.
* The available view modes are:
* - 'interactive': A logical layout that removes strict restrictions for report pagination by utilizing a simpler paging algorithm. Enables drill-down interactivity, etc.
* - 'printPreview': A physical layout in which the report is paged strictly according to its page settings.
*/
export type ViewMode = 'interactive' | 'printPreview';
/**
* Service type options for the Native Angular Report Viewer.
* The available service types are:
* - 'REST': A Telerik Reporting REST Service.
* - 'reportServer': A Telerik Report Server instance.
*/
export type ServiceType = 'REST' | 'reportServer';
/**
* Scale mode options for the Native Angular Report Viewer.
* The available scale modes are:
* - 'fitPageWidth': Pages are scaled proportionally to fit the entire width in the viewer's viewport.
* - 'fitPage': Pages are scaled proportionally to fit the entire page in the viewport.
* - 'specific': Pages are scaled with the specific scale value.
*/
export type ScaleMode = 'fitPageWidth' | 'fitPage' | 'specific';
/**
* Export format options for the Native Angular Report Viewer.
* The available export options are:
* - 'pdf'
* - 'csv'
* - 'xlsx'
* - 'pptx'
* - 'rtf'
* - 'image'
* - 'docx'
*/
export type ExportFormat = 'pdf' | 'csv' | 'xlsx' | 'pptx' | 'rtf' | 'image' | 'docx';