ProtectionType module

class ProtectionType.ProtectionType(value)

Bases: Enum

Enum class representing the type of protection in the document.

AllowOnlyComments = 1
AllowOnlyFormFields = 2
AllowOnlyReading = 3
AllowOnlyRevisions = 0
NoProtection = -1