public class CTWorkbookProtection extends java.lang.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 java.lang.Boolean |
lockRevision |
protected java.lang.Boolean |
lockStructure |
protected java.lang.Boolean |
lockWindows |
protected java.lang.String |
revisionsAlgorithmName |
protected byte[] |
revisionsHashValue |
protected byte[] |
revisionsPassword |
protected java.lang.String |
revisionsPasswordCharacterSet |
protected byte[] |
revisionsSaltValue |
protected java.lang.Long |
revisionsSpinCount |
protected java.lang.String |
workbookAlgorithmName |
protected byte[] |
workbookHashValue |
protected byte[] |
workbookPassword |
protected java.lang.String |
workbookPasswordCharacterSet |
protected byte[] |
workbookSaltValue |
protected java.lang.Long |
workbookSpinCount |
| Constructor and Description |
|---|
CTWorkbookProtection() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
java.lang.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.
|
java.lang.String |
getRevisionsPasswordCharacterSet()
Gets the value of the revisionsPasswordCharacterSet property.
|
byte[] |
getRevisionsSaltValue()
Gets the value of the revisionsSaltValue property.
|
java.lang.Long |
getRevisionsSpinCount()
Gets the value of the revisionsSpinCount property.
|
java.lang.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.
|
java.lang.String |
getWorkbookPasswordCharacterSet()
Gets the value of the workbookPasswordCharacterSet property.
|
byte[] |
getWorkbookSaltValue()
Gets the value of the workbookSaltValue property.
|
java.lang.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(java.lang.Boolean value)
Sets the value of the lockRevision property.
|
void |
setLockStructure(java.lang.Boolean value)
Sets the value of the lockStructure property.
|
void |
setLockWindows(java.lang.Boolean value)
Sets the value of the lockWindows property.
|
void |
setParent(java.lang.Object parent) |
void |
setRevisionsAlgorithmName(java.lang.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(java.lang.String value)
Sets the value of the revisionsPasswordCharacterSet property.
|
void |
setRevisionsSaltValue(byte[] value)
Sets the value of the revisionsSaltValue property.
|
void |
setRevisionsSpinCount(java.lang.Long value)
Sets the value of the revisionsSpinCount property.
|
void |
setWorkbookAlgorithmName(java.lang.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(java.lang.String value)
Sets the value of the workbookPasswordCharacterSet property.
|
void |
setWorkbookSaltValue(byte[] value)
Sets the value of the workbookSaltValue property.
|
void |
setWorkbookSpinCount(java.lang.Long value)
Sets the value of the workbookSpinCount property.
|
protected byte[] workbookPassword
protected java.lang.String workbookPasswordCharacterSet
protected byte[] revisionsPassword
protected java.lang.String revisionsPasswordCharacterSet
protected java.lang.Boolean lockStructure
protected java.lang.Boolean lockWindows
protected java.lang.Boolean lockRevision
protected java.lang.String revisionsAlgorithmName
protected byte[] revisionsHashValue
protected byte[] revisionsSaltValue
protected java.lang.Long revisionsSpinCount
protected java.lang.String workbookAlgorithmName
protected byte[] workbookHashValue
protected byte[] workbookSaltValue
protected java.lang.Long workbookSpinCount
public byte[] getWorkbookPassword()
Stringpublic void setWorkbookPassword(byte[] value)
value - allowed object is
Stringpublic java.lang.String getWorkbookPasswordCharacterSet()
Stringpublic void setWorkbookPasswordCharacterSet(java.lang.String value)
value - allowed object is
Stringpublic byte[] getRevisionsPassword()
Stringpublic void setRevisionsPassword(byte[] value)
value - allowed object is
Stringpublic java.lang.String getRevisionsPasswordCharacterSet()
Stringpublic void setRevisionsPasswordCharacterSet(java.lang.String value)
value - allowed object is
Stringpublic boolean isLockStructure()
Booleanpublic void setLockStructure(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isLockWindows()
Booleanpublic void setLockWindows(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isLockRevision()
Booleanpublic void setLockRevision(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getRevisionsAlgorithmName()
Stringpublic void setRevisionsAlgorithmName(java.lang.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 java.lang.Long getRevisionsSpinCount()
Longpublic void setRevisionsSpinCount(java.lang.Long value)
value - allowed object is
Longpublic java.lang.String getWorkbookAlgorithmName()
Stringpublic void setWorkbookAlgorithmName(java.lang.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 java.lang.Long getWorkbookSpinCount()
Longpublic void setWorkbookSpinCount(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.