Chapter 7. Presentations

Much of what you need to know about presentations has already been covered in the preceding chapter, because a presentation is at heart a series of <draw:page> elements within the <office:presentation> element.


In fact, you can create multiple pages in a drawing document. They are simply stored as separate pages, and don't have any of the transition elements that a presentation permits.

Presentation Styles in styles.xml

In, there's so much information (53K bytes worth) in the styles.xml file for even the simplest of presentations that you probably don't want to create it from scratch. Instead, you will be better off to create an empty presentation with the background elements that you want, and then merge your own content.xml into the resulting jar file. Here are some of the names of <style:style>s that are in the styles.xml file for a plain presentation, along with their salient characteristics. These are styles for; for other applications “your mileage may vary.”

Table 7.1. Default Presentation Styles

Style name Characteristics
standard a 18-point sans-serif font; specifies bulleted lists with 0.6cm indenting at each level. All the other styles are based on this one.
textbody a 16-point font.
title a 44-point font.
title1 a 24-point shadowed font.
title2 a 36-point shadowed font with a bulleted list.
headline, headline1, headline2 a 24-point, 18-point, and 14-point font.
measure a 12-point font with ...

Get OASIS OpenDocument Essentials: Using OASIS OpenDocument XML 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.