Class SharedSpreadsheet
java.lang.Object
com.independentsoft.office.spreadsheet.SharedSpreadsheet
The Class SharedSpreadsheet.
-
Method Summary
Modifier and TypeMethodDescriptionGets the current worksheet.static SharedSpreadsheetGets the single instance of SharedSpreadsheet.Gets the workbook.voidsetCurrentWorksheet(Worksheet currentWorksheet)Sets the current worksheet.voidsetWorkbook(Workbook workbook)Sets the workbook.
-
Method Details
-
getInstance
Gets the single instance of SharedSpreadsheet.- Returns:
- single instance of SharedSpreadsheet
-
getWorkbook
Gets the workbook.- Returns:
- the workbook
-
setWorkbook
Sets the workbook.- Parameters:
workbook- the new workbook
-
getCurrentWorksheet
Gets the current worksheet.- Returns:
- the current worksheet
-
setCurrentWorksheet
Sets the current worksheet.- Parameters:
currentWorksheet- the new current worksheet
-