Interface IReportViewerExportSource

All Known Implementing Classes:
ZkJRViewer, ZkReportViewer

public interface IReportViewerExportSource
Media source interface for report viewer export
Author:
hengsin
  • Field Details

  • Method Details

    • getFormatLabel

      static String getFormatLabel(String extension, String description)
      Builds the consistent, localized label used for report output formats.
      Parameters:
      extension - file extension
      description - localized format description
      Returns:
      format label
    • getMedia

      org.zkoss.util.media.AMedia getMedia(String contentType, String fileExtension)
      Get media/content by content type and file extension
      Parameters:
      contentType -
      fileExtension -
      Returns:
      AMedia
    • getExportFormats

      Returns:
      list of supported export formats
    • getContentType

      String getContentType()
      Returns:
      current mime/content type
    • getFileExtension

      String getFileExtension()
      Returns:
      current file extension/format
    • getUploadServiceMap

      Map<MAuthorizationAccount,IUploadService> getUploadServiceMap()
      Returns:
      list of available authorized upload services
    • getReportName

      String getReportName()
      Returns:
      name of report