Adding Images to Each Page of Your RTF Output

The previous programs inserted a single graphic at the top of the first page. If you'd like to repeat the graphic on every page, all you need is two modifications. First, you need to modify a different style element and delete the modification for the Body style element:

CLASS SystemTitle  /
   just=left
   preimage="corporatelogo.jpg";

The second change you need to make is to include at least one TITLE statement in your program, even if it only creates a blank title:

TITLE ' ';

The output produced by this last version of the RTFImage style template is shown in Figure 17.29. The graphic now appears in every page. You can also use this technique to put a graphic in every page footer by using the SystemFooter ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.