def OpenDocumentTextMaster():
 doc = OpenDocument('application/vnd.oasis.opendocument.text-master')
 doc.text = Text()
 doc.body.addElement(doc.text)
 return doc

def OpenDocumentTextMaster ( ) : doc = OpenDocument ( 'application/vnd.oasis.opendocument.text-master' ) doc . text = Text ( ) doc . body . addElement ( doc . text ) return doc
creates a text master document .