Class SharedSpreadsheet

java.lang.Object
com.independentsoft.office.spreadsheet.SharedSpreadsheet

public class SharedSpreadsheet extends Object
The Class SharedSpreadsheet.
  • Method Details

    • getInstance

      public static SharedSpreadsheet getInstance()
      Gets the single instance of SharedSpreadsheet.
      Returns:
      single instance of SharedSpreadsheet
    • getWorkbook

      public Workbook getWorkbook()
      Gets the workbook.
      Returns:
      the workbook
    • setWorkbook

      public void setWorkbook(Workbook workbook)
      Sets the workbook.
      Parameters:
      workbook - the new workbook
    • getCurrentWorksheet

      public Worksheet getCurrentWorksheet()
      Gets the current worksheet.
      Returns:
      the current worksheet
    • setCurrentWorksheet

      public void setCurrentWorksheet(Worksheet currentWorksheet)
      Sets the current worksheet.
      Parameters:
      currentWorksheet - the new current worksheet