unlockedFormula: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from unprotected formulas ([ISO/IEC29500-1:2011] section 18.17).
Value
|
Meaning
|
"true"
|
Ignore errors arising from unprotected formulas ([ISO/IEC-29500-1] section 18.17).
|
"false"
|
Do not ignore errors arising from unprotected formulas ([ISO/IEC-29500-1] section 18.17).
|
emptyCellReference: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from references to empty cells.
Value
|
Meaning
|
"true"
|
Ignore errors arising from references to empty cells.
|
"false"
|
Do not ignore errors arising from references to empty cells.
|
listDataValidation: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from data validation.
Value
|
Meaning
|
"true"
|
Ignore errors arising from data validation.
|
"false"
|
Do not ignore errors arising from data validation.
|
calculatedColumn: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to ignore errors arising from calculated column (2) formulas ([ISO/IEC29500-1:2011] section 18.17).
Value
|
Meaning
|
"true"
|
Ignore errors arising from calculated column (2) formulas ([ISO/IEC-29500-1] section 18.17).
|
"false"
|
Do not ignore errors arising from calculated column (2) formulas ([ISO/IEC-29500-1] section 18.17).
|
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.55 CT_ProtectedRanges
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: protectedRanges
A complex type that specifies a group of protected ranges on the sheet (1). MUST contain fewer than 231 elements.
Child Elements:
protectedRange: A CT_ProtectedRange element that specifies the properties for a single protected range.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.56 CT_ProtectedRange
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_ProtectedRanges
A complex type that specifies a cell range to be unprotected. The cell range is editable with a password or proper credentials when sheet (1) protection is on and the cell is locked.
Child Elements:
xm:sqref: A sqref element that specifies the cell range to be unprotected.
Attributes:
password: An ST_UnsignedShortHex ([ISO/IEC29500-4:2011] section 15.7.2) attribute that specifies the verifier value of the password required for editing the cell range. If the value is 0x0000, then there is no password.
The verifier value is calculated in two stages. First, the provided Unicode password string is converted to a new character string in the ANSI code page of the current system by using the algorithm specified in the revisionsPassword attribute in [ISO/IEC29500-1:2011] section 18.2.29. Second, this string is input into the XOR obfuscation algorithm specified in [MS-OFFCRYPTO] section 2.3.7.1 to produce a 16-bit password verifier value.
This attribute MUST NOT be present if algorithmName is present.
algorithmName: An ST_Xstring ([ISO/IEC29500-1:2011] section 22.9.2.19) attribute that specifies the name of the hash algorithm used to calculate hashValue. If this attribute is present, hashValue, saltValue, and spinCount MUST also be present. This attribute MUST NOT be present if password is present.
hashValue: A base64Binary ([XMLSCHEMA2] section 3.2.16) attribute that specifies the hash value for the password required to edit this range. This value will be compared with the resulting hash value after hashing the user-supplied password by using the algorithm specified by algorithmName, and if the two values match, the protection will no longer be enforced.
Password hashes are computed by the algorithm specified in [MS-OFFCRYPTO] section 2.4.2.4. Under some circumstances, the password is first converted to a 16-bit verifier value and reinterpreted as a single Unicode character, which is then passed to the algorithm specified in [MS-OFFCRYPTO] section 2.4.2.4. There is no way to determine which method was used to generate a hash without knowledge of the password; it is necessary to compute both hashes to verify the password.
This attribute MUST be present if and only if algorithmName is present.
Dostları ilə paylaş: |