Creating an RTF Template 2-55
If your reports contains headers and footers that you want to carry over onto the last
page, you must reinsert them on the last page. For more information about headers and
footers see Defining Headers and Footers, page 2-16.
You must insert a section break (type: next page) into the document to specify the last
page layout. This example is available in the samples folder of the Oracle XML
Publisher Template Builder for Word installation.
It is important to note that if the report is only one page in length, the first page layout
will be used. If your report requires that a single page report should default to the last
page layout (such as in a check printing implementation) then you can use the
following alternate syntax for the "Last Page Placeholder" on the last page:
Substituting this syntax will result in the last page layout for reports that are only one
End on Even or End on Odd Page
If your report has different odd and even page layouts, you may want to force your
report to end specifically on an odd or even page. For example, you may include the
terms and conditions of a purchase order in the footer of your report using the different
odd/even footer functionality (see Different First Page and Different Odd and Even
Page Support, page 2-17) and you want to ensure that the terms and conditions are
printed on the final page.
Or, you may have binding requirements to have your report end on an even page,
without specific layout.
To end on an even page with layout:
Insert the following syntax in a form field in your template:
To end on an odd page layout:
If you do not have layout requirements for the final page, but would like a blank page
ejected to force the page count to the preferred odd or even, use the following syntax:
XML Publisher supports several different types of hyperlinks. The hyperlinks can be
fixed or dynamic and can link to either internal or external destinations. Hyperlinks can
also be added to shapes.