UNPKG

asposewordscloud

Version:
36 lines (35 loc) 978 B
import { AttributeInfo } from '../internal/attributeInfo'; import { ModelInterface } from './modelInterface'; export declare const importsMapProtectionData: {}; /** * Container for the data about protection of the document. */ export declare class ProtectionData implements ModelInterface { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets type of the protection. */ protectionType: ProtectionData.ProtectionTypeEnum; constructor(init?: Partial<ProtectionData>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; } /** * Enums for ProtectionData */ export declare namespace ProtectionData { enum ProtectionTypeEnum { AllowOnlyRevisions, AllowOnlyComments, AllowOnlyFormFields, ReadOnly, NoProtection } }