Adding Images to Style Elements

If you want to add images to a style template, you need to consider the destination of your output file and the viewer that will open the destination file. For example, ODS places a pointer to an image in the HTML <IMG> tag when it creates an HTML file. When a browser opens the HTML file, the browser dynamically finds and inserts the image. Because images are dynamically inserted in an HTML file by the browser when it opens the HTML file, you must maintain access to the images for anyone who opens the file. On the other hand, ODS embeds an image in the file sent to the PDF or RTF destination. When the PDF or RTF file is opened, the images are already incorporated into the document. Your application must have access ...

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.