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(javax.xml.bind.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()
String
public void setWorkbookPassword(byte[] value)
value
- allowed object is
String
public String getWorkbookPasswordCharacterSet()
String
public void setWorkbookPasswordCharacterSet(String value)
value
- allowed object is
String
public byte[] getRevisionsPassword()
String
public void setRevisionsPassword(byte[] value)
value
- allowed object is
String
public String getRevisionsPasswordCharacterSet()
String
public void setRevisionsPasswordCharacterSet(String value)
value
- allowed object is
String
public boolean isLockStructure()
Boolean
public void setLockStructure(Boolean value)
value
- allowed object is
Boolean
public boolean isLockWindows()
Boolean
public void setLockWindows(Boolean value)
value
- allowed object is
Boolean
public boolean isLockRevision()
Boolean
public void setLockRevision(Boolean value)
value
- allowed object is
Boolean
public String getRevisionsAlgorithmName()
String
public void setRevisionsAlgorithmName(String value)
value
- allowed object is
String
public 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()
Long
public void setRevisionsSpinCount(Long value)
value
- allowed object is
Long
public String getWorkbookAlgorithmName()
String
public void setWorkbookAlgorithmName(String value)
value
- allowed object is
String
public 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()
Long
public void setWorkbookSpinCount(Long value)
value
- allowed object is
Long
public Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2014. All Rights Reserved.