- getPackagePart
- isEnforcedWith
Verifies the documentProtection tag inside settings.xml file
if the protection is enforced (w:enfor
- isUpdateFields
- onDocumentRead
- readFrom
- removeEnforcement
Removes protection enforcement.
In the documentProtection tag inside settings.xml file
it sets the
- safeGetDocumentProtection
- setEnforcementEditValue
Enforces the protection with the option specified by passed editValue and
password.
sample snippet
- setUpdateFields
Enforces fields update on document open (in Word). In the settings.xml file
sets the updateSettings
- getEvenAndOddHeadings
Check if separate even and odd headings is turned on.
- getMirrorMargins
Check if mirrored margins is turned on
- isTrackRevisions
Check if revision tracking is turned on.