Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

3/25/23, 4:25 PM Overview of Report Operation Functions

Overview of Report Operation Functions


iSStar provides report operation functions which enable you to operate reports.
The report operation functions provided by iSStar enable you to easily create a professional report.
You can write the required information to the custom report to facilitate future query. By using the
report operation functions, you can perform the related operations, for example, you can set the
display contents of a range, customize the display mode of a report, such as the background color
and alignment mode of a table, range, or cell.
The file name and path name support only letters, digits, and underscores (_).

On the MAE GUI, the file name and path name cannot contain the following special
characters:

Table 1 lists the report operation functions.

Table 1 Report operation function list

Function Description

Function: NewReport Creates a report.

Function: AddSheet Adds a sheet.

Function: AddTable Adds a table.

Function: AddRange Creates a range.

Function: SetRangeValue Sets the range value.

Function: SetCellValue Sets the cell-specified value.

Function: SetTableValue Sets the values of multiple cells in the table.

Function: SetTableValueEx Sets the contents of multiple cells in a table and


specifies the display style.

Function: GetRowCount Returns the number of rows in a table.

Function: GetRowData Returns the data of a row in a table.

https://10.98.117.5:31943/hedex/hedex.do?lib=OMC&id=omc.Scriptapp.mainpage&topicid=p_rpt_overview_m2000&locale=en-us 1/3
3/25/23, 4:25 PM Overview of Report Operation Functions

Function Description

Function: InsertRow Inserts a row of data in a table.

Function: RemoveRow Deletes a row of data from a table.

Function: UpdateRow Updates the contents of a row.

Function: Selector Sets the display style of the data aggregate that
meets the conditional expression.

Function: ReportStyle Sets the cell display style.

Function: SetTableFont Sets the table font.

Function: SetTableTitleFont Sets the table title font.

Function: SetRangeFont Sets the range font.

Function: SetCellFont Sets the font of the specified cell.

Function: SetTableBGColor Sets the background color of a table.

Function: SetRangeBGColor Sets the background color of a range.

Function: SetCellBGColor Sets the background color of a cell.

Function: SetRangeAlign Sets the alignment type of a range.

Function: SetCellAlign Sets the alignment type of a cell.

Function: SetColumnWidth Sets the column width.

Function: LoadReport Imports a report object.

Function: SaveReportAs Saves the report.

Function: StoreReport Exports the report model files.

Examples of Report Operation Function shows the examples. The procedure of report operations is
as follows:

1. Create a report object.

2. Create a sheet.

3. Create a table.

4. Set the cell data and format.

https://10.98.117.5:31943/hedex/hedex.do?lib=OMC&id=omc.Scriptapp.mainpage&topicid=p_rpt_overview_m2000&locale=en-us 2/3
3/25/23, 4:25 PM Overview of Report Operation Functions

5. Save the report.

Copyright © Huawei Technologies Co., Ltd.

https://10.98.117.5:31943/hedex/hedex.do?lib=OMC&id=omc.Scriptapp.mainpage&topicid=p_rpt_overview_m2000&locale=en-us 3/3

You might also like