REPORTS_NO_HTML_SPACE_REPLACE
environment
variableThis environment variable specifies whether spaces should not be replaced
with
in HTML or HTMLCSS output.
Oracle Reports maps HTML metadata characters in the data retrieved for a field to the appropriate encoding. That is, Oracle Reports automatically maps:
<
to <
to "
In most cases, the browser produces the correct results and handles the spaces
correctly. In some cases, the browsers handling of spaces does not produce
the required output. This happens in such cases as where the user has padded
the front of the data to produce indentation. Since the browser will treat multiple
spaces as single space, the indentation is lost.
Valid Values |
YES |not set |
Default |
not set |
If the value is not set, all spaces are replaced by
.
This could cause problems in your output where you want the browsers to
handle line breaks on spaces. It will also increase the size of the generated
HTML file.
If a field's Contains HTML Tags property is set to Yes, then no encoding will take place since Oracle Reports just passes the field's value through to the output.
If REPORTS_NO_HTML_SPACE_REPLACE=YES
,
then the output for the sentence [ Typical
data output]
will be:
[ Typical data output]
and display as (ignoring preceding spaces):
[Typical data output]
Not setting the environment variable will cause the output to change to:
[ Typical data output]
and display as (maintaining preceding spaces:
[ Typical data output]
Note: Brackets in the preceding example are used to show preceding spaces;
they are not part of the sentence.
Copyright © 1984, 2005, Oracle. All rights reserved.