- getPackagePart
- isEnforcedWith
Verifies the documentProtection tag inside settings.xml file
if the protection is enforced (w:enfor
- isUpdateFields
- 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
- getZoomPercent
Set zoom.
In the zoom tag inside settings.xml file
it sets the value of zoom
sample snippet from se
- isTrackRevisions
Check if revision tracking is turned on.