@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
64 lines (63 loc) • 2.7 kB
TypeScript
/**
* This class provides information about the permission settings of the specified PDF file, such as restricting print
* permissions,
* edit permissions etc.
*/
export declare class PermissionSettings {
private readonly _assistiveTechnology?;
private readonly _formFilling?;
private readonly _copying?;
private readonly _pageExtraction?;
private readonly _documentAssembly?;
private readonly _commenting?;
private readonly _printing?;
private readonly _editing?;
/**
* Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.
*
* @returns `true` if the specified PDF file will be supported by a screen reader. False otherwise.
*/
get hasAssistiveTechnology(): boolean | undefined;
/**
* Returns a boolean specifying whether form filling is permitted in the specified PDF file.
*
* @returns `true` if form filling is permitted in the specified PDF file. False otherwise.
*/
get isFormFillingAllowed(): boolean | undefined;
/**
* Returns a boolean specifying whether copying the content of the specified PDF file is permitted.
*
* @returns `true` if copying the content of the specified PDF file is permitted. False otherwise.
*/
get isCopyingAllowed(): boolean | undefined;
/**
* Returns a boolean specifying whether extracting pages of the specified PDF file is permitted.
*
* @returns `true` if extracting pages of the specified PDF file is permitted. False otherwise.
*/
get isPageExtractionAllowed(): boolean | undefined;
/**
* Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.
*
* @returns `true` if adding or inserting pages in the specified PDF file is permitted. False otherwise.
*/
get isDocumentAssemblyAllowed(): boolean | undefined;
/**
* Returns a boolean specifying whether adding comments in the specified PDF file is permitted.
*
* @returns `true` if adding comments in the specified PDF file is permitted. False otherwise.
*/
get isCommentingAllowed(): boolean | undefined;
/**
* Returns a boolean specifying whether editing the content in the specified PDF file is permitted.
*
* @returns `true` if editing the content in the specified PDF file is permitted. False otherwise.
*/
get isEditingAllowed(): boolean | undefined;
/**
* Returns a string specifying permission level for printing the file.
*
* @returns A String denoting the permission level for printing the file.
*/
get printingPermission(): string | undefined;
}