com.lowagie.text.rtf.document
public final class RtfProtection extends Object
RtfProtection
See ECMA Specification for WordprocessingML documentProtection element. Reference: Standard ECMA-376 1st Edition / December 2006 Office Open XML File Formats
Since: 2.1.1
Field Summary | |
---|---|
static int | AUTOFMTOVERRIDE
STYLELOCKBACKCOMP
Allow AutoFormat to override styles and formatting restrictions. |
static int[][] | encryptionMatrixencryptionMatrix Table from ECMA-376 Specification |
static int[] | initialCodeArrayinitialCodeArray Table from ECMA-376 Specification |
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.
see also \allprot (forms controlword) |
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. |
Method Summary | |
---|---|
static String | generateHash(String pwd)generateHash generates the password hash from a clear text string.
|
Since: 2.1.1
encryptionMatrix
Table from ECMA-376 SpecificationSince: 2.1.1
initialCodeArray
Table from ECMA-376 SpecificationSince: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
Since: 2.1.1
generateHash
generates the password hash from a clear text string.
Parameters: pwd Clear text string input
Returns: hex encoded password hash
Since: 2.1.1