public class CTWorkbookProtection extends Object implements Child
Java class for CT_WorkbookProtection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_WorkbookProtection">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="workbookPassword" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
<attribute name="workbookPasswordCharacterSet" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="revisionsPassword" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
<attribute name="revisionsPasswordCharacterSet" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="lockStructure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="lockWindows" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="lockRevision" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="revisionsAlgorithmName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="revisionsHashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="revisionsSaltValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="revisionsSpinCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="workbookAlgorithmName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="workbookHashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="workbookSaltValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="workbookSpinCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
lockRevision |
protected Boolean |
lockStructure |
protected Boolean |
lockWindows |
protected String |
revisionsAlgorithmName |
protected byte[] |
revisionsHashValue |
protected byte[] |
revisionsPassword |
protected String |
revisionsPasswordCharacterSet |
protected byte[] |
revisionsSaltValue |
protected Long |
revisionsSpinCount |
protected String |
workbookAlgorithmName |
protected byte[] |
workbookHashValue |
protected byte[] |
workbookPassword |
protected String |
workbookPasswordCharacterSet |
protected byte[] |
workbookSaltValue |
protected Long |
workbookSpinCount |
| Constructor and Description |
|---|
CTWorkbookProtection() |
| 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.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
String |
getRevisionsAlgorithmName()
Gets the value of the revisionsAlgorithmName property.
|
byte[] |
getRevisionsHashValue()
Gets the value of the revisionsHashValue property.
|
byte[] |
getRevisionsPassword()
Gets the value of the revisionsPassword property.
|
String |
getRevisionsPasswordCharacterSet()
Gets the value of the revisionsPasswordCharacterSet property.
|
byte[] |
getRevisionsSaltValue()
Gets the value of the revisionsSaltValue property.
|
Long |
getRevisionsSpinCount()
Gets the value of the revisionsSpinCount property.
|
String |
getWorkbookAlgorithmName()
Gets the value of the workbookAlgorithmName property.
|
byte[] |
getWorkbookHashValue()
Gets the value of the workbookHashValue property.
|
byte[] |
getWorkbookPassword()
Gets the value of the workbookPassword property.
|
String |
getWorkbookPasswordCharacterSet()
Gets the value of the workbookPasswordCharacterSet property.
|
byte[] |
getWorkbookSaltValue()
Gets the value of the workbookSaltValue property.
|
Long |
getWorkbookSpinCount()
Gets the value of the workbookSpinCount property.
|
boolean |
isLockRevision()
Gets the value of the lockRevision property.
|
boolean |
isLockStructure()
Gets the value of the lockStructure property.
|
boolean |
isLockWindows()
Gets the value of the lockWindows property.
|
void |
setLockRevision(Boolean value)
Sets the value of the lockRevision property.
|
void |
setLockStructure(Boolean value)
Sets the value of the lockStructure property.
|
void |
setLockWindows(Boolean value)
Sets the value of the lockWindows property.
|
void |
setParent(Object parent) |
void |
setRevisionsAlgorithmName(String value)
Sets the value of the revisionsAlgorithmName property.
|
void |
setRevisionsHashValue(byte[] value)
Sets the value of the revisionsHashValue property.
|
void |
setRevisionsPassword(byte[] value)
Sets the value of the revisionsPassword property.
|
void |
setRevisionsPasswordCharacterSet(String value)
Sets the value of the revisionsPasswordCharacterSet property.
|
void |
setRevisionsSaltValue(byte[] value)
Sets the value of the revisionsSaltValue property.
|
void |
setRevisionsSpinCount(Long value)
Sets the value of the revisionsSpinCount property.
|
void |
setWorkbookAlgorithmName(String value)
Sets the value of the workbookAlgorithmName property.
|
void |
setWorkbookHashValue(byte[] value)
Sets the value of the workbookHashValue property.
|
void |
setWorkbookPassword(byte[] value)
Sets the value of the workbookPassword property.
|
void |
setWorkbookPasswordCharacterSet(String value)
Sets the value of the workbookPasswordCharacterSet property.
|
void |
setWorkbookSaltValue(byte[] value)
Sets the value of the workbookSaltValue property.
|
void |
setWorkbookSpinCount(Long value)
Sets the value of the workbookSpinCount property.
|
protected byte[] workbookPassword
protected String workbookPasswordCharacterSet
protected byte[] revisionsPassword
protected String revisionsPasswordCharacterSet
protected Boolean lockStructure
protected Boolean lockWindows
protected Boolean lockRevision
protected String revisionsAlgorithmName
protected byte[] revisionsHashValue
protected byte[] revisionsSaltValue
protected Long revisionsSpinCount
protected String workbookAlgorithmName
protected byte[] workbookHashValue
protected byte[] workbookSaltValue
protected Long workbookSpinCount
public byte[] getWorkbookPassword()
Stringpublic void setWorkbookPassword(byte[] value)
value - allowed object is
Stringpublic String getWorkbookPasswordCharacterSet()
Stringpublic void setWorkbookPasswordCharacterSet(String value)
value - allowed object is
Stringpublic byte[] getRevisionsPassword()
Stringpublic void setRevisionsPassword(byte[] value)
value - allowed object is
Stringpublic String getRevisionsPasswordCharacterSet()
Stringpublic void setRevisionsPasswordCharacterSet(String value)
value - allowed object is
Stringpublic boolean isLockStructure()
Booleanpublic void setLockStructure(Boolean value)
value - allowed object is
Booleanpublic boolean isLockWindows()
Booleanpublic void setLockWindows(Boolean value)
value - allowed object is
Booleanpublic boolean isLockRevision()
Booleanpublic void setLockRevision(Boolean value)
value - allowed object is
Booleanpublic String getRevisionsAlgorithmName()
Stringpublic void setRevisionsAlgorithmName(String value)
value - allowed object is
Stringpublic byte[] getRevisionsHashValue()
public void setRevisionsHashValue(byte[] value)
value - allowed object is
byte[]public byte[] getRevisionsSaltValue()
public void setRevisionsSaltValue(byte[] value)
value - allowed object is
byte[]public Long getRevisionsSpinCount()
Longpublic void setRevisionsSpinCount(Long value)
value - allowed object is
Longpublic String getWorkbookAlgorithmName()
Stringpublic void setWorkbookAlgorithmName(String value)
value - allowed object is
Stringpublic byte[] getWorkbookHashValue()
public void setWorkbookHashValue(byte[] value)
value - allowed object is
byte[]public byte[] getWorkbookSaltValue()
public void setWorkbookSaltValue(byte[] value)
value - allowed object is
byte[]public Long getWorkbookSpinCount()
Longpublic void setWorkbookSpinCount(Long value)
value - allowed object is
Longpublic 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-2022. All Rights Reserved.