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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B.1.47 REPORTS_OUTPUTIMAGEFORMAT<br />

Environment Variables<br />

Description This environment variable specifies <strong>the</strong> default image format used in <strong>the</strong><br />

report.<br />

Valid Values GIF|JPEG|JPG|PNG|BMP<br />

Default JPEG<br />

B.1.48 REPORTS_PATH<br />

Note: Brackets in <strong>the</strong> above example are used <strong>to</strong> show preceding<br />

spaces; <strong>the</strong>y are not part of <strong>the</strong> sentence.<br />

Usage Notes<br />

■ You must ensure <strong>the</strong> format that you specify matches <strong>the</strong> output type. For<br />

example, BMP only works for RTF output. It will not work for HTML, HTMLCSS,<br />

or PDF output.<br />

■ This environment variable setting is overridden by <strong>the</strong> value of <strong>the</strong><br />

OUTPUTIMAGEFORMAT command line keyword.<br />

Refer <strong>to</strong> Advanced Imaging Support for more information.<br />

Description This environment variable specifies <strong>the</strong> search path for files referenced<br />

by <strong>Reports</strong> Runtime. The direc<strong>to</strong>ries specified by REPORTS_PATH are searched first,<br />

<strong>the</strong>n those specified by ORACLE_PATH. This environment variable is used <strong>to</strong> locate<br />

reports and external objects that you use in your reports, such as PL/SQL libraries,<br />

external queries, and external boilerplate. It enables you <strong>to</strong> create reports that are<br />

easily portable across operating systems by preventing <strong>the</strong> need <strong>to</strong> hard-code direc<strong>to</strong>ry<br />

paths.<br />

Define REPORTS_PATH in <strong>the</strong> same fashion you define o<strong>the</strong>r environment variables on<br />

your operating system, keeping in mind such platform-specific rules as path length,<br />

etc.<br />

In addition <strong>to</strong> direc<strong>to</strong>ry paths, you can specify <strong>the</strong> keyword DB when you define<br />

REPORTS_PATH. This instructs <strong>Reports</strong> Builder <strong>to</strong> search <strong>the</strong> database <strong>to</strong> which you<br />

are currently connected.<br />

Suppose you specified <strong>the</strong> following on a UNIX platform:<br />

setenv REPORTS_PATH /home/tkostin/pay:/home/tkostin/receive:DB<br />

<strong>Reports</strong> Builder will first search <strong>the</strong> direc<strong>to</strong>ry /home/tkostin/pay. If it cannot find<br />

<strong>the</strong> file in question, it will search /home/tkostin/receive. If it still cannot find <strong>the</strong><br />

file, it will search <strong>the</strong> database <strong>to</strong> which you connected when you began your <strong>Reports</strong><br />

Builder session.<br />

Valid Values Any direc<strong>to</strong>ry on any drive.<br />

Default %ORACLE_HOME%\REPORT\DEMO; %ORACLE_<br />

HOME%\REPORT\DEMO\BITMAP; %ORACLE_HOME%\REPORT\DEMO\REQFILES<br />

Usage Note<br />

■ REPORTS_PATH is limited <strong>to</strong> 256 characters.<br />

<strong>Reports</strong>-Related Environment Variables B-19

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

Saved successfully!

Ooh no, something went wrong!