def OpenDocumentImage():
 doc = OpenDocument('application/vnd.oasis.opendocument.image')
 doc.image = Image()
 doc.body.addElement(doc.image)
 return doc

def OpenDocumentImage ( ) : doc = OpenDocument ( 'application/vnd.oasis.opendocument.image' ) doc . image = Image ( ) doc . body . addElement ( doc . image ) return doc
creates an image document .