#NEWLINE# def appproperties( ) : #NEWLINE# #INDENT# '\n    Create app-specific properties. See docproperties() for more common\n    document properties.\n\n    ' #NEWLINE# appprops = makeelement ( 'Properties' , nsprefix = 'ep' ) #NEWLINE# appprops = etree . fromstring ( '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"></Properties>' ) #NEWLINE# props = { #NEWLINE# #INDENT# 'Template' : 'Normal.dotm' , #NEWLINE# 'TotalTime' : '6' , #NEWLINE# 'Pages' : '1' , #NEWLINE# 'Words' : '83' , #NEWLINE# 'Characters' : '475' , #NEWLINE# 'Application' : 'Microsoft Word 12.0.0' , #NEWLINE# 'DocSecurity' : '0' , #NEWLINE# 'Lines' : '12' , #NEWLINE# 'Paragraphs' : '8' , #NEWLINE# 'ScaleCrop' : 'false' , #NEWLINE# 'LinksUpToDate' : 'false' , #NEWLINE# 'CharactersWithSpaces' : '583' , #NEWLINE# 'SharedDoc' : 'false' , #NEWLINE# 'HyperlinksChanged' : 'false' , #NEWLINE# 'AppVersion' : '12.0000' , #NEWLINE# #UNINDENT# } #NEWLINE# for prop in props : #NEWLINE# #INDENT# appprops . append ( makeelement ( prop , tagtext = props [ appprops ] , nsprefix = None ) ) #NEWLINE# #UNINDENT# return appprops