Methods
Static addComponentToPage
Static addPage
- addPage(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static addPrimitivePoints
Static addReportToUndoArray
- addReportToUndoArray(designer: StiDesigner, report: StiReport, withResources?: boolean): void
-
Parameters
-
-
report: StiReport
-
Default value withResources: boolean = false
Returns void
Static addSubReportPage
- addSubReportPage(subReport: StiSubReport, callbackResult: any): void
Static alignToGridComponents
- alignToGridComponents(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static base64ToImage
- base64ToImage(base64String: string): Image
Static base64ToImageByteArray
- base64ToImageByteArray(base64String: string): number[]
-
Parameters
Returns number[]
Static borderToStr
-
Parameters
Returns string
Static brushToStr
-
Parameters
Returns string
Static canceledEditComponent
- canceledEditComponent(designer: StiDesigner, currentReport: StiReport, param: any): void
-
Parameters
-
-
currentReport: StiReport
-
param: any
Returns void
Static changeArrangeComponents
- changeArrangeComponents(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static changeRectComponent
- changeRectComponent(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static changeRectPrimitivePoints
Static changeSizeComponents
- changeSizeComponents(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static changeUnit
- changeUnit(report: StiReport, unitName: string): void
-
Parameters
-
report: StiReport
-
unitName: string
Returns void
Static checkAllPrimitivePoints
- checkAllPrimitivePoints(page: StiPage): void
Static checkSvgContent
- checkSvgContent(checkObject: any): StiPromise<void>
Static cloneReportForPreview
- cloneReportForPreview(report: StiReport): StiReport
-
Parameters
Returns StiReport
Static convertConditionsToString
-
Parameters
Returns string
Static cornerRadiusToStr
-
Parameters
Returns string
Static createColorScaleCondition
Static createComponent
- createComponent(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static createComponentFromResource
- createComponentFromResource(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static createDataBarCondition
Static createDataComponentFromDictionary
- createDataComponentFromDictionary(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static createElementFromResource
- createElementFromResource(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static createHighlightCondition
Static createIconSetCondition
Static createInfographicComponent
- createInfographicComponent(componentTypeArray: string, report: StiReport, param: any): StiComponent
-
Parameters
-
componentTypeArray: string
-
report: StiReport
-
param: any
Static createMovingCopyComponent
- createMovingCopyComponent(designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static createShapeComponent
- createShapeComponent(componentTypeArray: string): StiComponent
-
Parameters
-
componentTypeArray: string
Static createTextComponentFromDictionary
- createTextComponentFromDictionary(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static duplicatePage
- duplicatePage(designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static fontToStr
- fontToStr(font: Font): string
-
Parameters
Returns string
Static getAllChildComponents
-
Parameters
Returns string
Static getAllComponentsPositions
- getAllComponentsPositions(report: StiReport, callbackResult: any): void
-
Parameters
-
report: StiReport
-
callbackResult: any
Returns void
Static getAllDbsElementsSvgContentsAsync
- getAllDbsElementsSvgContentsAsync(report: StiReport): StiPromise<any>
Static getAllProperties
- getAllProperties(component: StiComponent, requestParams?: any): any
-
Parameters
-
-
Default value requestParams: any = null
Returns any
Static getChartConditionsProperty
Static getChartTrendLinesProperty
Static getColorScaleConditionObject
Static getColorsCollectionProperty
- getColorsCollectionProperty(colors: Color[]): any[]
Static getColumnFromColumnPath
- getColumnFromColumnPath(columnPath: string, report: StiReport): StiDataColumn
-
Parameters
-
columnPath: string
-
report: StiReport
Static getComponentHeaderSize
- getComponentHeaderSize(component: any): string
-
Parameters
Returns string
Static getComponentIndex
-
Parameters
Returns number
Static getComponentMainProperties
- getComponentMainProperties(component: StiComponent, zoom: number): any
Static getComponentRect
-
Parameters
Returns string
Static getConditionsCollectionFromJSObject
Static getConditionsProperty
-
Parameters
Returns string
Static getCrossTabFieldsProperties
- getCrossTabFieldsProperties(crossTab: StiCrossTab): any[]
Static getDashboardInteractionProperty
Static getDataBarConditionObject
Static getElementLayoutProperty
- getElementLayoutProperty(layout: StiElementLayout): string
-
Parameters
Returns string
Static getEventsProperty
- getEventsProperty(element: any): any
Static getExpressionsProperty
Static getFilterDataProperty
-
Parameters
Returns string
Static getFilterModeProperty
-
Parameters
Returns string
Static getFilterOnProperty
-
Parameters
Returns boolean
Static getFiltersProperty
- getFiltersProperty(obj: any): any
Static getFromClipboard
- getFromClipboard(designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static getHighlightConditionObject
Static getIconSetConditionObject
Static getImageContentForPaint
- getImageContentForPaint(imageComp: StiImage, requestParams?: any): string
-
Parameters
-
-
Default value requestParams: any = null
Returns string
Static getIndicatorConditionsProperty
Static getInteractionProperty
Static getOnlineMapContentAsync
Static getPageIndexes
- getPageIndexes(report: StiReport): any
Static getPageMargins
- getPageMargins(page: StiPage): string
-
Parameters
Returns string
Static getPageSize
-
Parameters
Returns string
Static getParentIndex
-
Parameters
Returns number
Static getParentName
-
Parameters
Returns string
Static getPivotTableConditionsProperty
Static getPivotTableMeters
-
Parameters
Returns object
Static getPreviewPagesAsync
- getPreviewPagesAsync(onResult: Function, designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static getPreviewSettingsProperty
- getPreviewSettingsProperty(report: StiReport): any
Static getProgressConditionsProperty
Static getPropertyValue
- getPropertyValue(propertyName: string, owner: any): any
-
Parameters
-
propertyName: string
-
owner: any
Returns any
Static getPropsRebuildPage
- getPropsRebuildPage(report: StiReport, currentPage: StiPage): any
Static getRedoStep
- getRedoStep(designer: StiDesigner, currentReport: StiReport, param: any, callbackResult: any): StiReport
-
Parameters
-
-
currentReport: StiReport
-
param: any
-
callbackResult: any
Returns StiReport
Static getReportFileName
- getReportFileName(report: StiReport): string
-
Parameters
Returns string
Static getReportProperties
- getReportProperties(report: StiReport): any
Static getRichTextProperty
-
Parameters
Returns string
Static getShapeTypeProperty
- getShapeTypeProperty(component: StiShape): string
-
Parameters
Returns string
Static getSortDataProperty
- getSortDataProperty(object: any): string
-
Parameters
Returns string
Static getStringFromColor
- getStringFromColor(color: Color): string
-
Parameters
Returns string
Static getStylesProperty
- getStylesProperty(component: any): any[]
Static getSubReportParametersProperty
- getSubReportParametersProperty(subReport: StiSubReport): any[]
Static getSvgContentAsync2
-
Parameters
-
-
Default value zoom: number = 1
Static getTableCells
- getTableCells(table: StiTable, zoom: number): any[]
Static getTableConditionsProperty
Static getUndoStep
- getUndoStep(designer: StiDesigner, currentReport: StiReport, param: any, callbackResult: any): StiReport
-
Parameters
-
-
currentReport: StiReport
-
param: any
-
callbackResult: any
Returns StiReport
Static getWatermarkImageContentForPaint
- getWatermarkImageContentForPaint(page: StiPage, pageProps: any): string
-
Parameters
Returns string
Static imageToBase64
- imageToBase64(image: Image): string
-
Parameters
Returns string
Static imageToBase64_2
- imageToBase64_2(image: number[]): string
-
Parameters
Returns string
Static isAlignedByGrid
-
Parameters
Returns boolean
Static lowerFirstChar
- lowerFirstChar(text: string): string
-
Parameters
Returns string
Static lowerFirstCharPropertyNames
- lowerFirstCharPropertyNames(text: string): string
-
Parameters
Returns string
Static marginToStr
-
Parameters
Returns string
Static marginsToStr
-
Parameters
Returns string
Static numberToStr
- numberToStr(value: number): string
-
Parameters
Returns string
Static openPage
- openPage(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static paddingToStr
-
Parameters
Returns string
Static pageMove
- pageMove(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static pageMoveToIndex
- pageMoveToIndex(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static readAllPropertiesFromString
- readAllPropertiesFromString(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static removeComponent
- removeComponent(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static removePage
- removePage(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static removePrimitivePoints
Static renameComponent
- renameComponent(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static saveComponentClone
Static setAllProperties
- setAllProperties(component: StiComponent, props: any[]): void
Static setAnchorProperty
- setAnchorProperty(component: StiComponent, propertyValue: string): void
Static setBarCodeTypeProperty
- setBarCodeTypeProperty(component: StiComponent, propValue: string): void
Static setBusinessObjectProperty
- setBusinessObjectProperty(component: StiComponent, propertyValue: string): void
Static setChartConditionsProperty
- setChartConditionsProperty(component: StiComponent, propertyValue: any): void
Static setChartStyleProperty
- setChartStyleProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setChartTrendLinesProperty
- setChartTrendLinesProperty(component: StiComponent, propertyValue: any): void
Static setColorsCollectionProperty
- setColorsCollectionProperty(object_: any, propertyName: string, propertyValue: any[]): void
-
Parameters
-
object_: any
-
propertyName: string
-
propertyValue: any[]
Returns void
Static setComponentRect
- setComponentRect(component: StiComponent, rect: RectangleD, alignToGrid?: boolean, correctOnlySelect?: boolean): void
-
Parameters
-
-
-
Default value alignToGrid: boolean = true
-
Default value correctOnlySelect: boolean = false
Returns void
Static setComponentRectWithOffset
- setComponentRectWithOffset(comp: StiComponent, newCompRect: RectangleD, command: string, resizeType: string, compProps: any): void
-
Parameters
-
-
-
command: string
-
resizeType: string
-
compProps: any
Returns void
Static setConditionProperty
- setConditionProperty(component: StiComponent, propertyValue: string): void
Static setConditionsProperty
- setConditionsProperty(component: any, propertyValue: string): void
-
Parameters
-
component: any
-
propertyValue: string
Returns void
Static setContainerProperty
- setContainerProperty(component: StiComponent, propertyValue: string): void
Static setCrossTabStyleProperty
- setCrossTabStyleProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setDashboardInteractionProperty
Static setDataRelationProperty
- setDataRelationProperty(component: any, propertyValue: string): void
-
Parameters
-
component: any
-
propertyValue: string
Returns void
Static setDataSourceProperty
- setDataSourceProperty(component: any, propertyValue: string): void
-
Parameters
-
component: any
-
propertyValue: string
Returns void
Static setElementLayoutProperty
- setElementLayoutProperty(component: StiComponent, propValue: any): void
Static setEventValue
- setEventValue(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static setExcelSheetProperty
- setExcelSheetProperty(component: StiComponent, propertyValue: string): void
Static setExcelValueProperty
- setExcelValueProperty(component: StiComponent, propertyValue: string): void
Static setExpressionsProperty
- setExpressionsProperty(component: StiComponent, propertyValue: any): void
Static setFilterDataProperty1
Static setFilterDataProperty2
- setFilterDataProperty2(component: StiBaseCondition | any, propertyValue: string): void
Static setFilterModeProperty
Static setFilterOnProperty
Static setFiltersProperty
- setFiltersProperty(obj: any, value: any): void
Static setGaugeStyleProperty
- setGaugeStyleProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setIndicatorConditionsProperty
- setIndicatorConditionsProperty(component: StiComponent, propertyValue: any): void
Static setInteractionProperty
- setInteractionProperty(component: StiComponent, propertyValue: any): void
Static setMapStyleProperty
- setMapStyleProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setMarginsProperty
- setMarginsProperty(component: StiComponent, propertyValue: string): void
Static setMasterComponentProperty
- setMasterComponentProperty(component: StiComponent, propertyValue: string): void
Static setPivotTableConditionsProperty
- setPivotTableConditionsProperty(component: StiComponent, propertyValue: any): void
Static setPreviewSettingsProperty
- setPreviewSettingsProperty(report: StiReport, previewSettings: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
previewSettings: any
-
callbackResult: any
Returns void
Static setProgressConditionsProperty
- setProgressConditionsProperty(component: StiComponent, propertyValue: any): void
Static setPropertyValue
- setPropertyValue(report: StiReport, propertyName: string, owner: any, value: any, enumType?: any): void
-
Parameters
-
report: StiReport
-
propertyName: string
-
owner: any
-
value: any
-
Default value enumType: any = null
Returns void
Static setReportProperties
- setReportProperties(report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static setRestrictionsProperty
- setRestrictionsProperty(component: StiComponent, propertyValue: string): void
Static setRichTextProperty
- setRichTextProperty(component: StiComponent, propertyValue: string): void
Static setShapeTypeProperty
- setShapeTypeProperty(component: StiComponent, shapeType: string): void
Static setShiftModeProperty
- setShiftModeProperty(component: any, propValue: any): void
-
Parameters
-
component: any
-
propValue: any
Returns void
Static setSortDataProperty1
- setSortDataProperty1(object: any, sortArray: any[]): void
-
Parameters
-
object: any
-
sortArray: any[]
Returns void
Static setSortDataProperty2
- setSortDataProperty2(object: any, propertyValue: string): void
-
Parameters
-
object: any
-
propertyValue: string
Returns void
Static setStylesProperty
- setStylesProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setSubReportPageProperty
- setSubReportPageProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setSubReportParametersProperty
- setSubReportParametersProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static setTableConditionsProperty
- setTableConditionsProperty(component: StiComponent, propertyValue: any): void
Static setTextFormatProperty
- setTextFormatProperty(component: StiComponent, propertyValue: any, propertyName?: string): void
-
Parameters
-
-
propertyValue: any
-
Default value propertyName: string = null
Returns void
Static setTextProperty
- setTextProperty(component: StiComponent, propertyValue: string): void
Static setToClipboard
- setToClipboard(designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static setTopNProperty
- setTopNProperty(component: any, propertyValue: any): void
-
Parameters
-
component: any
-
propertyValue: any
Returns void
Static simpleBorderToStr
-
Parameters
Returns string
Static strBordersToConditionBorderSidesObject
Static strPermissionsToConditionPermissionsObject
Static strToColor
- strToColor(colorStr: string): Color
Static strToFont
- strToFont(value: string): Font
Static strToIndicatorConditionsPermissions
- strToIndicatorConditionsPermissions(propertyValue: string): number
-
Parameters
Returns number
Static strToNumber
- strToNumber(value: string): number
-
Parameters
Returns number
Static strToProgressConditionsPermissions
- strToProgressConditionsPermissions(propertyValue: string): number
-
Parameters
Returns number
Static strToTableConditionsPermissions
- strToTableConditionsPermissions(propertyValue: string): number
-
Parameters
Returns number
Static strToTitlePadding
- strToTitlePadding(str: string): StiTitlePadding
-
Parameters
Returns StiTitlePadding
Static titlePaddingToStr
- titlePaddingToStr(padding: StiTitlePadding): string
-
Parameters
Returns string
Static updateReportAliases
- updateReportAliases(designer: StiDesigner, report: StiReport, param: any, callbackResult: any): void
-
Parameters
-
-
report: StiReport
-
param: any
-
callbackResult: any
Returns void
Static upperFirstChar
- upperFirstChar(text: string): string
-
Parameters
Returns string
Static writeReportToJsObject
- writeReportToJsObject(report: StiReport, zoom?: number): any
-
Parameters
-
report: StiReport
-
Default value zoom: number = 0
Returns any
Static writeReportToJsObject2
- writeReportToJsObject2(report: StiReport, attachedItems: any, zoom?: number): any
-
Parameters
-
report: StiReport
-
attachedItems: any
-
Default value zoom: number = 0
Returns any