SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    What the panel renders.

    Booleans only — the panel never holds a password. Encryption's lives on the io handle and structure's was only ever a hash, and neither can be read back, so "is there one" is the whole of what a UI can honestly show. Typing happens in PasswordDialog.

    interface Value {
        hasEncryptPassword: boolean;
        hasStructurePassword: boolean;
        locksEditable: boolean;
        lockStructure: boolean;
        lockWindows: boolean;
        structure: boolean;
    }
    Index
    hasEncryptPassword: boolean

    The file is encrypted: its contents cannot be read without the password.

    hasStructurePassword: boolean
    locksEditable: boolean

    Whether the structure locks can be edited.

    false on a protected workbook: the model refuses option changes until it is unprotected, which is Excel's answer too.

    lockStructure: boolean
    lockWindows: boolean
    structure: boolean

    Lock the workbook's structure — a gate the UI honours; it does not hide the data.