Oracle9i Application Server PL/SQL Web Toolkit Reference Release 1.0.2.2 Part Number A90101-01 |
|
The owa_text package contains subprograms used by owa_pattern for manipulating strings. They are externalized so you can use them directly.
owa_text.add2multi procedure - adds text to an existing multi_line type.
owa_text.multi_line data type - data type for holding large amounts of text.
owa_text.new_row_list - creates a new row_list.
owa_text.print_multi procedure - prints out the contents of a multi_list.
owa_text.print_row_list procedure - prints out the contents of a row_list.
owa_text.row_list data type - data type for holding data to be processed.
owa_text.stream2multi procedure - converts a varchar2 to a multi_line type.
owa_text.vc_arr data type - data type for holding large amounts of text.
This procedure adds content to an existing owa_text.multi_line data type.
Properties | Definitions |
---|---|
Syntax: |
owa_text.add2multi( stream in varchar2 mline in out multi_line continue in boolean DEFAULT TRUE); |
Parameters: |
mline - the owa_text.multi_line data type. The output of this parameter contains stream. continue - if TRUE, the procedure appends stream within the previous final row (assuming it is less than 32K). If FALSE, the procedure places stream in a new row. |
Returns: |
None. |
This data type is a PL/SQL 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.
Properties | Definitions |
---|---|
Syntax: |
type multi_line is record ( rows vc_arr, num_rows integer, partial_row boolean); |
Returns: |
Not applicable. |
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.
This procedure uses htp.print, htp.prn to print the "rows" field of the owa_text.multi_line data type.
Properties | Definitions |
---|---|
Syntax: |
owa_text.print_multi(mline in multi_line); |
Parameters: |
mline - the multi_line data type to print. |
Returns: |
The contents of the multi_line. |
This procedure uses htp.print, htp.prn to print the "rows" field of the owa_text.row_list data type.
Properties | Definitions |
---|---|
Syntax: |
owa_text.print_row_list(rlist in row_list); |
Parameters: |
rlist - the row_list data type to print. |
Returns: |
The contents of the row_list. |
This is the data type for holding data to be processed.
Properties | Definitions |
---|---|
Syntax: |
type row_list is record (
rows int_arr,
num_rows integer);
|
Returns: |
Not applicable. |
This procedure converts a string to a multi_line data type.
Properties | Definitions |
---|---|
Syntax: |
owa_text.stream2multi( stream in varchar2 mline our multi_line); |
Parameters: |
stream - the string to convert. mline - the stream in owa_text.multi_line data type format. |
Returns: |
None. |
This is a component of the owa_text.multi_line data type.
Properties | Definitions |
---|---|
Syntax: |
|
Returns: |
Not applicable. |
|
Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|