public class CTSheetProtection extends Object implements Child
Java class for CT_SheetProtection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SheetProtection">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="password" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
<attribute name="algorithmName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="hashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="saltValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="spinCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="sheet" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="objects" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="scenarios" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="formatCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="formatColumns" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="formatRows" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="insertColumns" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="insertRows" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="insertHyperlinks" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="deleteColumns" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="deleteRows" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="selectLockedCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="sort" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="autoFilter" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="pivotTables" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="selectUnlockedCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithmName |
protected Boolean |
autoFilter |
protected Boolean |
deleteColumns |
protected Boolean |
deleteRows |
protected Boolean |
formatCells |
protected Boolean |
formatColumns |
protected Boolean |
formatRows |
protected byte[] |
hashValue |
protected Boolean |
insertColumns |
protected Boolean |
insertHyperlinks |
protected Boolean |
insertRows |
protected Boolean |
objects |
protected byte[] |
password |
protected Boolean |
pivotTables |
protected byte[] |
saltValue |
protected Boolean |
scenarios |
protected Boolean |
selectLockedCells |
protected Boolean |
selectUnlockedCells |
protected Boolean |
sheet |
protected Boolean |
sort |
protected Long |
spinCount |
| Constructor and Description |
|---|
CTSheetProtection() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
byte[] |
getHashValue()
Gets the value of the hashValue property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
byte[] |
getPassword()
Gets the value of the password property.
|
byte[] |
getSaltValue()
Gets the value of the saltValue property.
|
Long |
getSpinCount()
Gets the value of the spinCount property.
|
boolean |
isAutoFilter()
Gets the value of the autoFilter property.
|
boolean |
isDeleteColumns()
Gets the value of the deleteColumns property.
|
boolean |
isDeleteRows()
Gets the value of the deleteRows property.
|
boolean |
isFormatCells()
Gets the value of the formatCells property.
|
boolean |
isFormatColumns()
Gets the value of the formatColumns property.
|
boolean |
isFormatRows()
Gets the value of the formatRows property.
|
boolean |
isInsertColumns()
Gets the value of the insertColumns property.
|
boolean |
isInsertHyperlinks()
Gets the value of the insertHyperlinks property.
|
boolean |
isInsertRows()
Gets the value of the insertRows property.
|
boolean |
isObjects()
Gets the value of the objects property.
|
boolean |
isPivotTables()
Gets the value of the pivotTables property.
|
boolean |
isScenarios()
Gets the value of the scenarios property.
|
boolean |
isSelectLockedCells()
Gets the value of the selectLockedCells property.
|
boolean |
isSelectUnlockedCells()
Gets the value of the selectUnlockedCells property.
|
boolean |
isSheet()
Gets the value of the sheet property.
|
boolean |
isSort()
Gets the value of the sort property.
|
void |
setAlgorithmName(String value)
Sets the value of the algorithmName property.
|
void |
setAutoFilter(Boolean value)
Sets the value of the autoFilter property.
|
void |
setDeleteColumns(Boolean value)
Sets the value of the deleteColumns property.
|
void |
setDeleteRows(Boolean value)
Sets the value of the deleteRows property.
|
void |
setFormatCells(Boolean value)
Sets the value of the formatCells property.
|
void |
setFormatColumns(Boolean value)
Sets the value of the formatColumns property.
|
void |
setFormatRows(Boolean value)
Sets the value of the formatRows property.
|
void |
setHashValue(byte[] value)
Sets the value of the hashValue property.
|
void |
setInsertColumns(Boolean value)
Sets the value of the insertColumns property.
|
void |
setInsertHyperlinks(Boolean value)
Sets the value of the insertHyperlinks property.
|
void |
setInsertRows(Boolean value)
Sets the value of the insertRows property.
|
void |
setObjects(Boolean value)
Sets the value of the objects property.
|
void |
setParent(Object parent) |
void |
setPassword(byte[] value)
Sets the value of the password property.
|
void |
setPivotTables(Boolean value)
Sets the value of the pivotTables property.
|
void |
setSaltValue(byte[] value)
Sets the value of the saltValue property.
|
void |
setScenarios(Boolean value)
Sets the value of the scenarios property.
|
void |
setSelectLockedCells(Boolean value)
Sets the value of the selectLockedCells property.
|
void |
setSelectUnlockedCells(Boolean value)
Sets the value of the selectUnlockedCells property.
|
void |
setSheet(Boolean value)
Sets the value of the sheet property.
|
void |
setSort(Boolean value)
Sets the value of the sort property.
|
void |
setSpinCount(Long value)
Sets the value of the spinCount property.
|
protected byte[] password
protected String algorithmName
protected byte[] hashValue
protected byte[] saltValue
protected Long spinCount
protected Boolean sheet
protected Boolean objects
protected Boolean scenarios
protected Boolean formatCells
protected Boolean formatColumns
protected Boolean formatRows
protected Boolean insertColumns
protected Boolean insertRows
protected Boolean insertHyperlinks
protected Boolean deleteColumns
protected Boolean deleteRows
protected Boolean selectLockedCells
protected Boolean sort
protected Boolean autoFilter
protected Boolean pivotTables
protected Boolean selectUnlockedCells
public byte[] getPassword()
Stringpublic void setPassword(byte[] value)
value - allowed object is
Stringpublic String getAlgorithmName()
Stringpublic void setAlgorithmName(String value)
value - allowed object is
Stringpublic byte[] getHashValue()
public void setHashValue(byte[] value)
value - allowed object is
byte[]public byte[] getSaltValue()
public void setSaltValue(byte[] value)
value - allowed object is
byte[]public Long getSpinCount()
Longpublic void setSpinCount(Long value)
value - allowed object is
Longpublic boolean isSheet()
Booleanpublic void setSheet(Boolean value)
value - allowed object is
Booleanpublic boolean isObjects()
Booleanpublic void setObjects(Boolean value)
value - allowed object is
Booleanpublic boolean isScenarios()
Booleanpublic void setScenarios(Boolean value)
value - allowed object is
Booleanpublic boolean isFormatCells()
Booleanpublic void setFormatCells(Boolean value)
value - allowed object is
Booleanpublic boolean isFormatColumns()
Booleanpublic void setFormatColumns(Boolean value)
value - allowed object is
Booleanpublic boolean isFormatRows()
Booleanpublic void setFormatRows(Boolean value)
value - allowed object is
Booleanpublic boolean isInsertColumns()
Booleanpublic void setInsertColumns(Boolean value)
value - allowed object is
Booleanpublic boolean isInsertRows()
Booleanpublic void setInsertRows(Boolean value)
value - allowed object is
Booleanpublic boolean isInsertHyperlinks()
Booleanpublic void setInsertHyperlinks(Boolean value)
value - allowed object is
Booleanpublic boolean isDeleteColumns()
Booleanpublic void setDeleteColumns(Boolean value)
value - allowed object is
Booleanpublic boolean isDeleteRows()
Booleanpublic void setDeleteRows(Boolean value)
value - allowed object is
Booleanpublic boolean isSelectLockedCells()
Booleanpublic void setSelectLockedCells(Boolean value)
value - allowed object is
Booleanpublic boolean isSort()
Booleanpublic void setSort(Boolean value)
value - allowed object is
Booleanpublic boolean isAutoFilter()
Booleanpublic void setAutoFilter(Boolean value)
value - allowed object is
Booleanpublic boolean isPivotTables()
Booleanpublic void setPivotTables(Boolean value)
value - allowed object is
Booleanpublic boolean isSelectUnlockedCells()
Booleanpublic void setSelectUnlockedCells(Boolean value)
value - allowed object is
Booleanpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2021. All Rights Reserved.