예제 #1
0
 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)
예제 #2
0
 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)