Esempio n. 1
0
 def save(self):
     self.progress = "Saving formatted document..."
     path = self.story.path
     document = self.document2
     path = regexlib.clipRight(path, ".")
     path += "_formatted.docx"
     document.save(path)
Esempio n. 2
0
 def save(self):
     self.progress = "Saving formatted document..."
     path = self.story.path
     document = self.document2
     path = regexlib.clipRight(path,".")
     path += "_formatted.docx"
     document.save(path)
Esempio n. 3
0
 def open(self):
     self.progress = "Opening file..."
     path = self.story.path
     path = regexlib.clipRight(path, ".")
     path += "_formatted.docx"
     os.system("start " + path)
Esempio n. 4
0
 def open(self):
     self.progress = "Opening file..."
     path = self.story.path
     path = regexlib.clipRight(path,".")
     path += "_formatted.docx"
     os.system("start "+path)