public abstract class ProtectionSettings
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
protected OpcPackage |
pkg |
| Constructor and Description |
|---|
ProtectionSettings(OpcPackage pkg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getMarkAsFinal() |
java.lang.Object |
getSignatureHelper()
get the SignatureHelper object, so you can sign the package using custom settings.
|
protected void |
setDocSecurity(int val)
Note, this won't create the DocPropsExtendedPart (app.xml) if it doesn't exist
|
void |
setMarkAsFinal(boolean val) |
protected static org.slf4j.Logger log
protected OpcPackage pkg
public ProtectionSettings(OpcPackage pkg)
public boolean getMarkAsFinal()
public void setMarkAsFinal(boolean val)
protected void setDocSecurity(int val)
val - public java.lang.Object getSignatureHelper()
throws Docx4JException
certificateIS - password - Docx4JExceptionCopyright © 2007–2023. All rights reserved.