PresentationML

From Apache OpenOffice Wiki
Revision as of 13:39, 19 March 2007 by Hub (Talk | contribs)

Jump to: navigation, search

PresentationML is the XML format used by Microsoft PowerPoint 2007 and that is part of the Office Open XML specification. It defines all the structure for the presentation related data. Pure graphic data (ie the content of the slide) is described using DrawingML.

Finding sample files

Use google and look for "download pptx".

Code organisation

oox/source/ppt/ contain the PresentationML specific code for the importer as well as dealing with presentation specific data.

oox/source/drawingml is for DrawingML. Most of the slide content is actually DrawingML.

Data Model

SlidePersist is the class that contain the slide data, including reference to the associated theme and color scheme. It can be a slide, a master slide, note page or handout master.

It is all stored in some way in a XModel.

Animation

There are 3 parts: slide transition, slide timing and animations

Transitions

Transition in OOx and OpenDocument are not the same as there is no 1 to 1 mapping.

There are also some limitations: OOo does not seem to support "stopping sound".

Timing

Personal tools