Class WindowProtectRecord

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public final class WindowProtectRecord
    extends StandardRecord
    Flags whether workbook windows are protected
    • Constructor Detail

      • WindowProtectRecord

        public WindowProtectRecord​(int options)
      • WindowProtectRecord

        public WindowProtectRecord​(boolean protect)
    • Method Detail

      • setProtect

        public void setProtect​(boolean protect)
        set whether this window should be protected or not
        Parameters:
        protect - or not
      • getProtect

        public boolean getProtect()
        is this window protected or not
        Returns:
        protected or not
      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
        Returns:
        he id for this record
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()