01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Environment Variables<br />

See Also: ScreenPrinter<br />

For more information on <strong>the</strong> PostScript printer driver,<br />

screenprinter.ppd.<br />

■ The limitation of this approach is that <strong>the</strong>se reports might lose <strong>the</strong>ir formatting<br />

when viewed from ano<strong>the</strong>r system if it is not identical <strong>to</strong> <strong>the</strong> system where <strong>the</strong><br />

report was designed. Fur<strong>the</strong>rmore, when this report is printed, <strong>the</strong> formatting<br />

would not be correct because <strong>the</strong> fonts and <strong>the</strong>ir metrics differ.<br />

■ Printing on UNIX requires some setup and configuration <strong>to</strong> create <strong>the</strong> proper<br />

printing environment. For detailed information, refer <strong>to</strong> Printing on UNIX with<br />

<strong>Oracle</strong> <strong>Reports</strong>.<br />

B.1.46 REPORTS_NO_HTML_SPACE_REPLACE<br />

Description<br />

This environment variable specifies whe<strong>the</strong>r spaces should not be replaced with<br />

&nbsp; in HTML or HTMLCSS output.<br />

<strong>Oracle</strong> <strong>Reports</strong> will map HTML metadata characters in <strong>the</strong> data retrieved for a field <strong>to</strong><br />

<strong>the</strong> appropriate encoding. That is, <strong>Oracle</strong> <strong>Reports</strong> au<strong>to</strong>matically maps: < <strong>to</strong> &lt; and<br />

" <strong>to</strong> &quot;. In most cases, <strong>the</strong> browser produces <strong>the</strong> correct results and handles <strong>the</strong><br />

spaces correctly. In some cases, <strong>the</strong> browser’s handling of spaces does not produce <strong>the</strong><br />

required output. This happens in such cases as where <strong>the</strong> user has padded <strong>the</strong> front of<br />

<strong>the</strong> data <strong>to</strong> produce indentation. Since <strong>the</strong> browser will treat multiple spaces as single<br />

space, <strong>the</strong> indentation is lost.<br />

Valid Values YES|not set<br />

Default not set<br />

Usage Notes<br />

■ If <strong>the</strong> value is not set, all spaces are replaced by &nbsp;. This could cause<br />

problems in your output where you want <strong>the</strong> browsers <strong>to</strong> handle line breaks<br />

on spaces. It will also increase <strong>the</strong> size of <strong>the</strong> generated HTML file.<br />

■ If a field's Contains HTML Tags property is set <strong>to</strong> YES, <strong>the</strong>n no encoding will take<br />

place since <strong>Oracle</strong> <strong>Reports</strong> just passes <strong>the</strong> field’s value through <strong>to</strong> <strong>the</strong> output.<br />

Example<br />

If REPORTS_NO_HTML_SPACE_REPLACE is set <strong>to</strong> YES, <strong>the</strong>n <strong>the</strong> output for <strong>the</strong><br />

sentence [ Typical data output] will be:<br />

[ Typical data output]<br />

and display as (ignoring preceding spaces):<br />

[Typical data output]<br />

Not setting <strong>the</strong> environment variable will cause <strong>the</strong> output <strong>to</strong> change <strong>to</strong>:<br />

[&nbsp;&nbsp;Typical&nbsp;data&nbsp;output]<br />

and display as (maintaining preceding spaces):<br />

[ Typical data output]<br />

B-18 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!