def newWorksheetFile(self, server=None): if not server: server = ServerConfigurations.getDefault() #Create a new worksheet. self.clear() self.worksheet_controller = WorksheetController.withNewWorksheet(self, server=server)
def openWorksheetFile(self, file_name, server=None): if not server: server = ServerConfigurations.getDefault() self.clear() self.worksheet_controller = WorksheetController.withWorksheetFile(self, file_name, server=server)