Class StiResourcesHelper

Hierarchy

  • StiResourcesHelper

Index

Methods

Static downloadImageContent

  • downloadImageContent(report: StiReport, imageData: string): any
  • Parameters

    • report: StiReport
    • imageData: string

    Returns any

Static downloadResource

  • downloadResource(report: StiReport, resourceName: string): void
  • Parameters

    • report: StiReport
    • resourceName: string

    Returns void

Static getHtmlColor

  • getHtmlColor(color: Color): string
  • Parameters

    Returns string

Static getReportThumbnailParametersAsync

  • getReportThumbnailParametersAsync(report: StiReport, zoom: number): Promise<string>
  • Parameters

    • report: StiReport
    • zoom: number

    Returns Promise<string>

Static getResourceContentAsync

  • getResourceContentAsync(report: StiReport, param: any, callbackResult: any): Promise<void>
  • Parameters

    • report: StiReport
    • param: any
    • callbackResult: any

    Returns Promise<void>

Static getResourceText

  • getResourceText(report: StiReport, param: any, callbackResult: any): void
  • Parameters

    • report: StiReport
    • param: any
    • callbackResult: any

    Returns void

Static getResourceViewData

  • getResourceViewData(report: StiReport, param: any, callbackResult: any): void
  • Parameters

    • report: StiReport
    • param: any
    • callbackResult: any

    Returns void

Static getStringContentForJSFromResourceContentAsync

  • getStringContentForJSFromResourceContentAsync(resourceType: StiResourceType, content: number[]): Promise<string>
  • Parameters

    Returns Promise<string>

Static isFontResourceType

Static isPackedFile

  • isPackedFile(content: number[]): boolean
  • Parameters

    • content: number[]

    Returns boolean

Static moveImageToResource

  • moveImageToResource(report: StiReport, param: any, callbackResult: any): void
  • Parameters

    • report: StiReport
    • param: any
    • callbackResult: any

    Returns void

Static setResourceText

  • setResourceText(report: StiReport, param: any, callbackResult: any): void
  • Parameters

    • report: StiReport
    • param: any
    • callbackResult: any

    Returns void

Generated using TypeDoc