Table of Contents

Enum DocumentEditRestriction

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

What editing a document's protection settings allow (ECMA-376 Part 1 §17.15.1.29 w:documentProtection/@w:edit).

public enum DocumentEditRestriction

Fields

None = 0

No restriction was recorded.

ReadOnly = 1

The document is read-only (w:edit="readOnly").

Comments = 2

Only comments may be added (w:edit="comments").

TrackedChanges = 3

Editing is allowed but every change is tracked (w:edit="trackedChanges").

Forms = 4

Only form fields may be filled in (w:edit="forms").

Unrecognized = 5

The document carried a w:edit value DocWright does not recognize. The raw token is still available on RawEditToken.