|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.rtf.document.RtfProtection
public final class RtfProtection
RtfProtection
See ECMA Specification for WordprocessingML documentProtection element. Reference: Standard ECMA-376 1st Edition / December 2006 Office Open XML File Formats
Field Summary | |
---|---|
static int |
AUTOFMTOVERRIDE
STYLELOCKBACKCOMP Allow AutoFormat to override styles and formatting restrictions. |
static int |
LEVEL_ANNOTPROT
ANNNOTPROT Mutually exclusive This document is protected for comments (annotations). |
static int |
LEVEL_FORMPROT
FORMPROT Mutually exclusive Document is protected for forms. |
static int |
LEVEL_NONE
Default for protection level. |
static int |
LEVEL_READPROT
READPROT Mutually exclusive but can be combined with ANNOTPROT for backward compatibility Document is protected for editing, except areas marked as exceptions by \protstart and\protend |
static int |
LEVEL_REVPROT
REVPROT Mutually exclusive This document is protected for revisions. |
static int |
STYLELOCK
STYLELOCK The document contains styles and formatting restrictions. |
static int |
STYLELOCKBACKCOMP
STYLELOCKBACKCOMP Style lockdown backward compatibility flag, indicating we emitted protection keywords to get documents with styles and formatting restrictions to behave in a reasonable way when opened by older versions. |
static int |
STYLELOCKENFORCED
STYLELOCKENFORCED The styles and formatting restrictions are being enforced. |
Constructor Summary | |
---|---|
RtfProtection()
|
Method Summary | |
---|---|
static java.lang.String |
generateHash(java.lang.String pwd)
generateHash generates the password hash from a clear text string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LEVEL_NONE
public static final int LEVEL_REVPROT
public static final int LEVEL_ANNOTPROT
public static final int LEVEL_FORMPROT
public static final int LEVEL_READPROT
public static final int STYLELOCK
public static final int STYLELOCKENFORCED
public static final int STYLELOCKBACKCOMP
public static final int AUTOFMTOVERRIDE
Constructor Detail |
---|
public RtfProtection()
Method Detail |
---|
public static final java.lang.String generateHash(java.lang.String pwd)
generateHash
generates the password hash from a clear text string.
pwd
- Clear text string input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |