StiScriptHelper Class

Namespace: Stimulsoft.Report

Methods

Method Returns Description
checkExpression static any  
clearCache static void  
clearTokensCache static void  
clearTypesCache static void  
invokeEventScript static any  
invokeScript static any  
isAllowScriptsToRun static boolean  
isEventScript static boolean  
isScriptInExpression static boolean  
parseTextValue static (+3 overloads) any  
parseTextValue2 static any  

Method Details

checkExpression static

checkExpression(expression: string, component: StiComponent, useAliases: any, returnType: Type, constants: Dictionary<string, any>): any

Parameters

  • expression (string)
  • component (StiComponent)
  • useAliases (any)
  • returnType (Type)
  • constants (Dictionary<string, any>)

Returns any


clearCache static

clearCache(report: StiReport): void

Parameters


clearTokensCache static

clearTokensCache(report: StiReport): void

Parameters


clearTypesCache static

clearTypesCache(report: StiReport): void

Parameters


invokeEventScript static

invokeEventScript(report: StiReport, sender: any, ev: StiEvent, args: EventArgs): any

Parameters

Returns any


invokeScript static

invokeScript(report: StiReport, script: string, args: Dictionary<string, any>, options: StiCSharpScriptParserOptions): any

Parameters

Returns any


isAllowScriptsToRun static

isAllowScriptsToRun(report: StiReport, scriptLanguage: any): boolean

Parameters

Returns boolean


isEventScript static

isEventScript(report: StiReport, ev: StiEvent): boolean

Parameters

Returns boolean


isScriptInExpression static

isScriptInExpression(expression: string, component: StiComponent | StiReport, checkBraces: any): boolean

Parameters

  • expression (string)
  • component (StiComponent | StiReport)
  • checkBraces (any)

Returns boolean


parseTextValue static

parseTextValue(expression: string, component: StiComponent): any

Parameters

  • expression (string)
  • component (StiComponent)

Returns any


parseTextValue(expression: string, component: StiComponent, sender: any): any

Parameters

  • expression (string)
  • component (StiComponent)
  • sender (any)

Returns any


parseTextValue(expression: string, component: StiComponent, parameters: StiParserParameters): any

Parameters

Returns any


parseTextValue(expression: string, component: StiComponent, sender_parameters: any): any

Parameters

  • expression (string)
  • component (StiComponent)
  • sender_parameters (any)

Returns any


parseTextValue2 static

parseTextValue2(expression: string, component: StiComponent, storeToPrint: IRefOut, **executeIfStoreToPrint**: boolean, **returnAsmList**: boolean): any

Parameters

  • expression (string)
  • component (StiComponent)
  • storeToPrint (IRefOut)
  • executeIfStoreToPrint (boolean)
  • returnAsmList (boolean)

Returns any

Fields

Field Type Description
args any  
hash any  
scriptLanguage any