(self, filePath)
| 16 | return self._activeDocument |
| 17 | |
| 18 | def openDocument(self, filePath): |
| 19 | if filePath: |
| 20 | newDocument = document.Document(filePath) |
| 21 | newDocument.open() |
| 22 | self._activeDocument = newDocument |
| 23 | return newDocument |
| 24 | |
| 25 | def saveDocument(self, data, filePath, save_as=False): |
| 26 | """ |