DocumentProtection Element (Microsoft Word)

Specifies whether a document is protected and describes the type of protection. 

Contained In

WordDocument

Remarks

This element may contain one of the following values:

Example

This example shows a document protected as a form; it is set up to not display form field shading and to print only the form data, not the form.

 <w:WordDocument>
  <w:PrintFormsData/>
  <w:DocumentProtection>Forms</w:DocumentProtection>
  <w:DoNotShadeFormData/>
 </w:WordDocument>