@ironsoftware/ironpdf
Version:
IronPDF for Node
28 lines • 1.8 kB
TypeScript
import { PdfiumPageP__Output } from "../../generated_proto/ironpdfengineproto/PdfiumPageP";
import { PageInfo, PageRotation } from "../../../public/page";
import { PdfiumPageRotationP, PdfiumPageRotationP__Output } from "../../generated_proto/ironpdfengineproto/PdfiumPageRotationP";
import { PdfPermission } from "../../../public/security";
import { PdfiumPdfDocumentPermissionsP__Output } from "../../generated_proto/ironpdfengineproto/PdfiumPdfDocumentPermissionsP";
import { StringDictionaryP, StringDictionaryP__Output } from "../../generated_proto/ironpdfengineproto/StringDictionaryP";
export declare function PageInfoFromProto(proto: PdfiumPageP__Output): PageInfo;
export declare function PageRotationFromProto(proto?: PdfiumPageRotationP__Output): PageRotation;
export declare function PageRotationToProto(value?: PageRotation): PdfiumPageRotationP;
declare enum PdfDocumentPermissionsEnum {
None = -3904,
AllowAccessibilityExtractContent = 512,
AllowAnnotations = 32,
AllowAssembleDocument = 1024,
AllowExtractContent = 16,
AllowFillForms = 256,
AllowPrintFullQuality = 2048,
AllowModify = 8,
AllowPrint = 4,
AllowAll = -4
}
export declare function pdfPermissionFromProto(pdfPermissionP: PdfiumPdfDocumentPermissionsP__Output): PdfPermission;
export declare function StringDictionaryFromProto(stringDictionaryP: StringDictionaryP__Output | undefined): Map<string, string>;
export declare function StringDictionaryToProto(map: Map<string, string>): StringDictionaryP;
export declare function convertPermissionsEnumToInterface(inputEnum: PdfDocumentPermissionsEnum): PdfPermission;
export declare function convertPermissionsInterfaceToEnum(inputInterface: PdfPermission): PdfDocumentPermissionsEnum;
export {};
//# sourceMappingURL=converter.d.ts.map