owa_text.print_row_list procedure owa_text.row_list data type owa_text.stream2multi procedure owa_text.vc_arr data type

8-2 Oracle Fusion Middleware PLSQL Web Toolkit Reference

8.3 owa_text.multi_line data type

This data type is a PLSQL record that holds large amounts of text. The rows field, of type owa_text.vc_arr data type , contains the text data in the record. Table 8–2 describes the properties of the owa_text.multi_line data type.

8.4 owa_text.new_row_list

This function or procedure creates a new owa_text.row_list data type . The function version uses no parameters and returns a new empty row_list. The procedure version creates the row_list data type as an output parameter. Table 8–3 describes the properties of the owa_text.new_row_list.

8.5 owa_text.print_multi procedure

This procedure uses htp.print, htp.prn to print the rows field of the owa_text.multi_ line data type . Table 8–4 describes the properties of the owa_text.print_multi procedure.

8.6 owa_text.print_row_list procedure

This procedure uses htp.print, htp.prn to print the rows field of the owa_text.row_list data type . Table 8–5 describes the properties of the owa_text.print_row_list procedure. Table 8–2 owa_text.multi_line data type Properties Definitions Syntax: type multi_line is record rows vc_arr, num_rows integer, partial_row boolean; Returns: Not applicable. Table 8–3 owa_text.new_row_list Properties Definitions Syntax: procedure owa_text.new_row_listrlist out row_list; function owa_text.new_row_list return row_list; Parameters: rlist - this is an output parameter containing the new row_list data type. Returns: The function version returns the new row_list data type. Table 8–4 owa_text.print_multi procedure Properties Definitions Syntax: owa_text.print_multimline in multi_line; Parameters: mline - the multi_line data type to print. Returns: The contents of the multi_line. The owa_text Package 8-3

8.7 owa_text.row_list data type

This is the data type for holding data to be processed. Table 8–6 describes the properties of the owa_text.row_list data type.

8.8 owa_text.stream2multi procedure

This procedure converts a string to a multi_line data type. Table 8–7 describes the properties of the owa_text.stream2multi procedure.

8.9 owa_text.vc_arr data type

This is a component of the owa_text.multi_line data type . Table 8–8 describes the properties of the owa_text.vc_arr data type. Table 8–5 owa_text.print_row_list procedure Properties Definitions Syntax: owa_text.print_row_listrlist in row_list; Parameters: rlist - the row_list data type to print. Returns: The contents of the row_list. Table 8–6 owa_text.row_list data type Properties Definitions Syntax: type row_list is record rows int_arr, num_rows integer; int_arr is defined as: type int_arr is table of integer index by binary_integer; Returns: Not applicable. Table 8–7 owa_text.stream2multi procedure Properties Definitions Syntax: owa_text.stream2multi stream in varchar2 mline out multi_line; Parameters: stream - the string to convert. mline - the stream in owa_text.multi_line data type format. Returns: None. Table 8–8 owa_text.vc_arr data type Properties Definitions Syntax: type vc_arr is table of varchar232767 index by binary_integer; Returns: Not applicable. 8-4 Oracle Fusion Middleware PLSQL Web Toolkit Reference 9 The owa_util Package 9-1 9 The owa_util Package The owa_util package contains utility subprograms for performing operations such as getting the value of CGI environment variables, printing the data that is returned to the client, and printing the results of a query in an HTML table. The owa_util contains three types of utility subprograms. ■ Dynamic SQL Utilities enable you to produce pages with dynamically generated SQL code. ■ HTML utilities enable you to retrieve the values of CGI environment variables and perform URL redirects. ■ Date utilities enable correct date-handling. Date values are simple strings in HTML, but are treated as a data type by the Oracle database.

9.1 Summary