Interface SWorkbookProtection

  • All Known Implementing Classes:
    WorkbookProtectionImpl

    public interface SWorkbookProtection
    Workbook protection options
    Since:
    5.8.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Boolean isLockStructure()
      Returns if the structure of the workbook is locked
      java.lang.Boolean isLockWindows()
      Returns if the windows of the workbook is locked
      void setLockStructure​(java.lang.Boolean lockStructure)
      Lock the structure of the workbook
      void setLockWindows​(java.lang.Boolean lockWindows)
      Lock the windows of the workbook
    • Method Detail

      • setLockStructure

        void setLockStructure​(java.lang.Boolean lockStructure)
        Lock the structure of the workbook
        Parameters:
        lockStructure - whether to lock the structure of the workbook
      • isLockStructure

        java.lang.Boolean isLockStructure()
        Returns if the structure of the workbook is locked
      • setLockWindows

        void setLockWindows​(java.lang.Boolean lockWindows)
        Lock the windows of the workbook
        Parameters:
        lockWindows - whether to lock the window of the workbook
      • isLockWindows

        java.lang.Boolean isLockWindows()
        Returns if the windows of the workbook is locked