StiReportHelper Class

Namespace: Stimulsoft.Viewer

Methods

Method Returns Description
applyCollapsing static void  
applyDashboardDrillDown static Promise<StiReport>  
applyDrillDown static Promise<StiReport>  
applySorting static void  
brushToStr static string  
calculatePositionForEachBand static void  
callback (+3 overloads) void  
checkScriptEvalAccess static void  
getBookmarksContent static string  
getDashboardPageAsync static StiPromise  
getDashboards static KeyObjectType[]  
getElementAttributesAsync static Promise  
getHtmlColor static string Get the color in HEX format.
getNestedPages static StiPage[]  
getPagesCount static number  
getReportCultureParams static any  
getReportDisplayModeFromReport static StiHtmlExportMode  
getReportPreviewSettings static KeyObjectType  
getSingleElementContent static Promise  
getTableOfContentsPointers static any[]  
imageToBase64 static string  
isMixedReport static boolean  
resolve void  

Method Details

applyCollapsing static

applyCollapsing(report: StiReport, parameters: any): void

Parameters


applyDashboardDrillDown static

applyDashboardDrillDown(report: StiReport, drillDownParameters: any, appliedValues: any, action: string): Promise<StiReport>

Parameters

  • report (StiReport)
  • drillDownParameters (any)
  • appliedValues (any)
  • action (string)

Returns Promise<StiReport>


applyDrillDown static

applyDrillDown(report: StiReport, renderedReport: StiReport, parameters: any, appliedValues: any, params: any, viewer: StiViewer): Promise<StiReport>

Parameters

Returns Promise<StiReport>


applySorting static

applySorting(report: StiReport, parameters: any): void

Parameters


brushToStr static

brushToStr(brush: StiBrush): string

Parameters

Returns string


calculatePositionForEachBand static

calculatePositionForEachBand(requestParams: any, elements: IStiElement[], page: StiPage, bands: { ref: StiRangeBand[] }, totalFixedHeight: { ref: number }, component: StiComponent): void

Parameters

  • requestParams (any)
  • elements (IStiElement[])
  • page (StiPage)
  • bands ({ ref: StiRangeBand[] })
  • totalFixedHeight ({ ref: number })
  • component (StiComponent)

callback

callback(true: any): void

Parameters

  • true (any)

callback(false: any): void

Parameters

  • false (any)

callback(true: any): void

Parameters

  • true (any)

callback(true: any): void

Parameters

  • true (any)

checkScriptEvalAccess static

checkScriptEvalAccess(report: StiReport, viewer: StiViewer, callback: (result: boolean)): void

Parameters


getBookmarksContent static

getBookmarksContent(report: StiReport, viewerId: string, pageNumber: number): string

Parameters

  • report (StiReport)
  • viewerId (string)
  • pageNumber (number)

Returns string


getDashboardPageAsync static

getDashboardPageAsync(report: StiReport, pageIndex: number, requestParams: any): StiPromise

Parameters

  • report (StiReport)
  • pageIndex (number)
  • requestParams (any)

Returns StiPromise


getDashboards static

getDashboards(report: StiReport, combineReportPages: boolean): KeyObjectType[]

Parameters

  • report (StiReport)
  • combineReportPages (boolean)

Returns KeyObjectType[]


getElementAttributesAsync static

getElementAttributesAsync(page: StiPage, element: IStiElement, renderSingleElement: boolean, requestParams: any, elementOldHeights: any, bands: StiRangeBand[], totalFixedHeight: any): Promise

Parameters

  • page (StiPage)
  • element (IStiElement)
  • renderSingleElement (boolean)
  • requestParams (any)
  • elementOldHeights (any)
  • bands (StiRangeBand[])
  • totalFixedHeight (any)

Returns Promise


getHtmlColor static

getHtmlColor(color: Color): string

Get the color in HEX format.

Parameters

Returns string


getNestedPages static

getNestedPages(report: StiReport): StiPage[]

Parameters

Returns StiPage[]


getPagesCount static

getPagesCount(report: StiReport, originalPageNumber: any, combineReportPages: boolean): number

Parameters

  • report (StiReport)
  • originalPageNumber (any)
  • combineReportPages (boolean)

Returns number


getReportCultureParams static

getReportCultureParams(report: StiReport): any

Parameters

Returns any


getReportDisplayModeFromReport static

getReportDisplayModeFromReport(report: StiReport): StiHtmlExportMode

Parameters

Returns StiHtmlExportMode


getReportPreviewSettings static

getReportPreviewSettings(report: StiReport): KeyObjectType

Parameters

Returns KeyObjectType


getSingleElementContent static

getSingleElementContent(report: StiReport, requestParams: any): Promise

Parameters

Returns Promise


getTableOfContentsPointers static

getTableOfContentsPointers(report: StiReport, requestParams: StiRequestParams): any[]

Parameters

Returns any[]


imageToBase64 static

imageToBase64(image: number[]): string

Parameters

  • image (number[])

Returns string


isMixedReport static

isMixedReport(report: StiReport): boolean

Parameters

Returns boolean


resolve

resolve(elementAttributes: any): void

Parameters

  • elementAttributes (any)

Fields

Field Type Description
brushStr any  
brushStr any  
brushStr any  
brushStr any  
brushStr any  
brushStr any  
contentAlignment any  
contentAlignment any  
contentAlignment any  
contentAlignment any  
contentAlignment any  
contentAlignment any  
cultureName any  
dashboardsPresent any  
drillDownPage any  
mimeType any  
mimeType any  
mimeType any  
mimeType any  
mimeType any  
mimeType any  
newReport any  
pValue any  
pageIndex any  
pageIndex any  
pointers any  
pointers any  
reportsPresent any  
scaleX any  
scaleY any  
scaleY any  
scaleY any  
scaleY any  
values any  
yy any