def OpenDocumentDrawing():
 doc = OpenDocument('application/vnd.oasis.opendocument.graphics')
 doc.drawing = Drawing()
 doc.body.addElement(doc.drawing)
 return doc

def OpenDocumentDrawing ( ) : doc = OpenDocument ( 'application/vnd.oasis.opendocument.graphics' ) doc . drawing = Drawing ( ) doc . body . addElement ( doc . drawing ) return doc
creates a drawing document .