Excel.Interfaces.FormatProtectionData interface

描述通过调用 "formatProtection ()" 返回的数据的接口。An interface describing the data returned by calling "formatProtection.toJSON()".

属性

formulaHidden

表示 Excel 是否隐藏区域中的单元格公式。指示整个区域不具有统一公式隐藏设置的空值。Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

locked

指示 Excel 是否将对象中的单元格锁定。Indicates if Excel locks the cells in the object. 指示整个区域不具有统一锁定设置的空值。A null value indicates that the entire range doesn't have uniform lock setting.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

属性详细信息

formulaHidden

表示 Excel 是否隐藏区域中的单元格公式。指示整个区域不具有统一公式隐藏设置的空值。Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

formulaHidden?: boolean;

属性值

boolean

locked

指示 Excel 是否将对象中的单元格锁定。Indicates if Excel locks the cells in the object. 指示整个区域不具有统一锁定设置的空值。A null value indicates that the entire range doesn't have uniform lock setting.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

locked?: boolean;

属性值

boolean