public abstract class ProtectionSettings extends 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() |
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 Object getSignatureHelper() throws Docx4JException
certificateIS
- password
- Docx4JException
Copyright © 2007-2019. All Rights Reserved.