Exemplo n.º 1
0
 def __init__(self):
     DocxDocument._clean_all()
     self.content = ''
     self.relationship_file = RelationshipFile()
     self.document_relationship_file = DocumentRelationshipFile()
     self.app_file = AppFile()
     self.core_file = CoreFile()
     self.document_file = DocumentFile()
     self.content_type_file = ContentTypeFile()
     self.settings_file = SettingsFile()
     self.fonttable_file = FontTableFile()
     self.websettings_file = WebSettingsFile()
     self.theme_file = ThemeFile()
     self.style_file = StyleFile()
Exemplo n.º 2
0
 def __init__(self):
     DocxDocument._clean_all()
     self.content = ''
     self.relationship_file = RelationshipFile()
     self.document_relationship_file = DocumentRelationshipFile()
     self.app_file = AppFile()
     self.core_file = CoreFile()
     self.document_file = DocumentFile()
     self.content_type_file = ContentTypeFile()
     self.settings_file = SettingsFile()
     self.fonttable_file = FontTableFile()
     self.websettings_file = WebSettingsFile()
     self.theme_file = ThemeFile()
     self.style_file = StyleFile()
Exemplo n.º 3
0
 def save(self, path):
     self.document_file._set_content(self.content)
     self._create_structure()
     self._create_document(path)
     DocxDocument._clean_all()
Exemplo n.º 4
0
 def save(self, path):
     self.document_file._set_content(self.content)
     self._create_structure()
     self._create_document(path)
     DocxDocument._clean_all()