def OpenDocumentPresentation():
 doc = OpenDocument('application/vnd.oasis.opendocument.presentation')
 doc.presentation = Presentation()
 doc.body.addElement(doc.presentation)
 return doc

def OpenDocumentPresentation ( ) : doc = OpenDocument ( 'application/vnd.oasis.opendocument.presentation' ) doc . presentation = Presentation ( ) doc . body . addElement ( doc . presentation ) return doc
creates a presentation document .