define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var PdfAnnotationFlag;
(function (PdfAnnotationFlag) {
PdfAnnotationFlag[PdfAnnotationFlag["default"] = 0] = "default";
PdfAnnotationFlag[PdfAnnotationFlag["invisible"] = 1] = "invisible";
PdfAnnotationFlag[PdfAnnotationFlag["hidden"] = 2] = "hidden";
PdfAnnotationFlag[PdfAnnotationFlag["print"] = 4] = "print";
PdfAnnotationFlag[PdfAnnotationFlag["noZoom"] = 8] = "noZoom";
PdfAnnotationFlag[PdfAnnotationFlag["noRotate"] = 16] = "noRotate";
PdfAnnotationFlag[PdfAnnotationFlag["noView"] = 32] = "noView";
PdfAnnotationFlag[PdfAnnotationFlag["readOnly"] = 64] = "readOnly";
PdfAnnotationFlag[PdfAnnotationFlag["locked"] = 128] = "locked";
PdfAnnotationFlag[PdfAnnotationFlag["toggleNoView"] = 256] = "toggleNoView";
})(PdfAnnotationFlag = exports.PdfAnnotationFlag || (exports.PdfAnnotationFlag = {}));
var PdfLineEndingStyle;
(function (PdfLineEndingStyle) {
PdfLineEndingStyle[PdfLineEndingStyle["none"] = 0] = "none";
PdfLineEndingStyle[PdfLineEndingStyle["openArrow"] = 1] = "openArrow";
PdfLineEndingStyle[PdfLineEndingStyle["closedArrow"] = 2] = "closedArrow";
PdfLineEndingStyle[PdfLineEndingStyle["rOpenArrow"] = 3] = "rOpenArrow";
PdfLineEndingStyle[PdfLineEndingStyle["rClosedArrow"] = 4] = "rClosedArrow";
PdfLineEndingStyle[PdfLineEndingStyle["butt"] = 5] = "butt";
PdfLineEndingStyle[PdfLineEndingStyle["diamond"] = 6] = "diamond";
PdfLineEndingStyle[PdfLineEndingStyle["circle"] = 7] = "circle";
PdfLineEndingStyle[PdfLineEndingStyle["square"] = 8] = "square";
PdfLineEndingStyle[PdfLineEndingStyle["slash"] = 9] = "slash";
})(PdfLineEndingStyle = exports.PdfLineEndingStyle || (exports.PdfLineEndingStyle = {}));
var PdfLineIntent;
(function (PdfLineIntent) {
PdfLineIntent[PdfLineIntent["lineArrow"] = 0] = "lineArrow";
PdfLineIntent[PdfLineIntent["lineDimension"] = 1] = "lineDimension";
})(PdfLineIntent = exports.PdfLineIntent || (exports.PdfLineIntent = {}));
var PathPointType;
(function (PathPointType) {
PathPointType[PathPointType["start"] = 0] = "start";
PathPointType[PathPointType["line"] = 1] = "line";
PathPointType[PathPointType["bezier"] = 3] = "bezier";
PathPointType[PathPointType["pathTypeMask"] = 7] = "pathTypeMask";
PathPointType[PathPointType["dashMode"] = 16] = "dashMode";
PathPointType[PathPointType["pathMarker"] = 32] = "pathMarker";
PathPointType[PathPointType["closePath"] = 128] = "closePath";
})(PathPointType = exports.PathPointType || (exports.PathPointType = {}));
var PdfLineCaptionType;
(function (PdfLineCaptionType) {
PdfLineCaptionType[PdfLineCaptionType["inline"] = 0] = "inline";
PdfLineCaptionType[PdfLineCaptionType["top"] = 1] = "top";
})(PdfLineCaptionType = exports.PdfLineCaptionType || (exports.PdfLineCaptionType = {}));
var PdfBorderStyle;
(function (PdfBorderStyle) {
PdfBorderStyle[PdfBorderStyle["solid"] = 0] = "solid";
PdfBorderStyle[PdfBorderStyle["dashed"] = 1] = "dashed";
PdfBorderStyle[PdfBorderStyle["beveled"] = 2] = "beveled";
PdfBorderStyle[PdfBorderStyle["inset"] = 3] = "inset";
PdfBorderStyle[PdfBorderStyle["underline"] = 4] = "underline";
PdfBorderStyle[PdfBorderStyle["dot"] = 5] = "dot";
})(PdfBorderStyle = exports.PdfBorderStyle || (exports.PdfBorderStyle = {}));
var PdfBorderEffectStyle;
(function (PdfBorderEffectStyle) {
PdfBorderEffectStyle[PdfBorderEffectStyle["solid"] = 0] = "solid";
PdfBorderEffectStyle[PdfBorderEffectStyle["cloudy"] = 1] = "cloudy";
})(PdfBorderEffectStyle = exports.PdfBorderEffectStyle || (exports.PdfBorderEffectStyle = {}));
var PdfRotationAngle;
(function (PdfRotationAngle) {
PdfRotationAngle[PdfRotationAngle["angle0"] = 0] = "angle0";
PdfRotationAngle[PdfRotationAngle["angle90"] = 1] = "angle90";
PdfRotationAngle[PdfRotationAngle["angle180"] = 2] = "angle180";
PdfRotationAngle[PdfRotationAngle["angle270"] = 3] = "angle270";
})(PdfRotationAngle = exports.PdfRotationAngle || (exports.PdfRotationAngle = {}));
var PdfCrossReferenceType;
(function (PdfCrossReferenceType) {
PdfCrossReferenceType[PdfCrossReferenceType["table"] = 0] = "table";
PdfCrossReferenceType[PdfCrossReferenceType["stream"] = 1] = "stream";
})(PdfCrossReferenceType = exports.PdfCrossReferenceType || (exports.PdfCrossReferenceType = {}));
var PdfHighlightMode;
(function (PdfHighlightMode) {
PdfHighlightMode[PdfHighlightMode["noHighlighting"] = 0] = "noHighlighting";
PdfHighlightMode[PdfHighlightMode["invert"] = 1] = "invert";
PdfHighlightMode[PdfHighlightMode["outline"] = 2] = "outline";
PdfHighlightMode[PdfHighlightMode["push"] = 3] = "push";
})(PdfHighlightMode = exports.PdfHighlightMode || (exports.PdfHighlightMode = {}));
var PdfTextAlignment;
(function (PdfTextAlignment) {
PdfTextAlignment[PdfTextAlignment["left"] = 0] = "left";
PdfTextAlignment[PdfTextAlignment["center"] = 1] = "center";
PdfTextAlignment[PdfTextAlignment["right"] = 2] = "right";
PdfTextAlignment[PdfTextAlignment["justify"] = 3] = "justify";
})(PdfTextAlignment = exports.PdfTextAlignment || (exports.PdfTextAlignment = {}));
var PdfFormFieldVisibility;
(function (PdfFormFieldVisibility) {
PdfFormFieldVisibility[PdfFormFieldVisibility["visible"] = 0] = "visible";
PdfFormFieldVisibility[PdfFormFieldVisibility["hidden"] = 1] = "hidden";
PdfFormFieldVisibility[PdfFormFieldVisibility["visibleNotPrintable"] = 2] = "visibleNotPrintable";
PdfFormFieldVisibility[PdfFormFieldVisibility["hiddenPrintable"] = 3] = "hiddenPrintable";
})(PdfFormFieldVisibility = exports.PdfFormFieldVisibility || (exports.PdfFormFieldVisibility = {}));
var PdfMeasurementUnit;
(function (PdfMeasurementUnit) {
PdfMeasurementUnit[PdfMeasurementUnit["inch"] = 0] = "inch";
PdfMeasurementUnit[PdfMeasurementUnit["pica"] = 1] = "pica";
PdfMeasurementUnit[PdfMeasurementUnit["point"] = 3] = "point";
PdfMeasurementUnit[PdfMeasurementUnit["centimeter"] = 4] = "centimeter";
PdfMeasurementUnit[PdfMeasurementUnit["millimeter"] = 6] = "millimeter";
})(PdfMeasurementUnit = exports.PdfMeasurementUnit || (exports.PdfMeasurementUnit = {}));
var PdfCircleMeasurementType;
(function (PdfCircleMeasurementType) {
PdfCircleMeasurementType[PdfCircleMeasurementType["diameter"] = 0] = "diameter";
PdfCircleMeasurementType[PdfCircleMeasurementType["radius"] = 1] = "radius";
})(PdfCircleMeasurementType = exports.PdfCircleMeasurementType || (exports.PdfCircleMeasurementType = {}));
var PdfRubberStampAnnotationIcon;
(function (PdfRubberStampAnnotationIcon) {
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["approved"] = 0] = "approved";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["asIs"] = 1] = "asIs";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["confidential"] = 2] = "confidential";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["departmental"] = 3] = "departmental";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["draft"] = 4] = "draft";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["experimental"] = 5] = "experimental";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["expired"] = 6] = "expired";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["final"] = 7] = "final";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["forComment"] = 8] = "forComment";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["forPublicRelease"] = 9] = "forPublicRelease";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["notApproved"] = 10] = "notApproved";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["notForPublicRelease"] = 11] = "notForPublicRelease";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["sold"] = 12] = "sold";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["topSecret"] = 13] = "topSecret";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["completed"] = 14] = "completed";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["void"] = 15] = "void";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["informationOnly"] = 16] = "informationOnly";
PdfRubberStampAnnotationIcon[PdfRubberStampAnnotationIcon["preliminaryResults"] = 17] = "preliminaryResults";
})(PdfRubberStampAnnotationIcon = exports.PdfRubberStampAnnotationIcon || (exports.PdfRubberStampAnnotationIcon = {}));
var PdfCheckBoxStyle;
(function (PdfCheckBoxStyle) {
PdfCheckBoxStyle[PdfCheckBoxStyle["check"] = 0] = "check";
PdfCheckBoxStyle[PdfCheckBoxStyle["circle"] = 1] = "circle";
PdfCheckBoxStyle[PdfCheckBoxStyle["cross"] = 2] = "cross";
PdfCheckBoxStyle[PdfCheckBoxStyle["diamond"] = 3] = "diamond";
PdfCheckBoxStyle[PdfCheckBoxStyle["square"] = 4] = "square";
PdfCheckBoxStyle[PdfCheckBoxStyle["star"] = 5] = "star";
})(PdfCheckBoxStyle = exports.PdfCheckBoxStyle || (exports.PdfCheckBoxStyle = {}));
var PdfTextMarkupAnnotationType;
(function (PdfTextMarkupAnnotationType) {
PdfTextMarkupAnnotationType[PdfTextMarkupAnnotationType["highlight"] = 0] = "highlight";
PdfTextMarkupAnnotationType[PdfTextMarkupAnnotationType["underline"] = 1] = "underline";
PdfTextMarkupAnnotationType[PdfTextMarkupAnnotationType["squiggly"] = 2] = "squiggly";
PdfTextMarkupAnnotationType[PdfTextMarkupAnnotationType["strikeOut"] = 3] = "strikeOut";
})(PdfTextMarkupAnnotationType = exports.PdfTextMarkupAnnotationType || (exports.PdfTextMarkupAnnotationType = {}));
var PdfPopupIcon;
(function (PdfPopupIcon) {
PdfPopupIcon[PdfPopupIcon["note"] = 0] = "note";
PdfPopupIcon[PdfPopupIcon["comment"] = 1] = "comment";
PdfPopupIcon[PdfPopupIcon["help"] = 2] = "help";
PdfPopupIcon[PdfPopupIcon["insert"] = 3] = "insert";
PdfPopupIcon[PdfPopupIcon["key"] = 4] = "key";
PdfPopupIcon[PdfPopupIcon["newParagraph"] = 5] = "newParagraph";
PdfPopupIcon[PdfPopupIcon["paragraph"] = 6] = "paragraph";
})(PdfPopupIcon = exports.PdfPopupIcon || (exports.PdfPopupIcon = {}));
var PdfAnnotationState;
(function (PdfAnnotationState) {
PdfAnnotationState[PdfAnnotationState["none"] = 0] = "none";
PdfAnnotationState[PdfAnnotationState["accepted"] = 1] = "accepted";
PdfAnnotationState[PdfAnnotationState["rejected"] = 2] = "rejected";
PdfAnnotationState[PdfAnnotationState["cancel"] = 3] = "cancel";
PdfAnnotationState[PdfAnnotationState["completed"] = 4] = "completed";
PdfAnnotationState[PdfAnnotationState["marked"] = 5] = "marked";
PdfAnnotationState[PdfAnnotationState["unmarked"] = 6] = "unmarked";
PdfAnnotationState[PdfAnnotationState["unknown"] = 7] = "unknown";
})(PdfAnnotationState = exports.PdfAnnotationState || (exports.PdfAnnotationState = {}));
var PdfAnnotationStateModel;
(function (PdfAnnotationStateModel) {
PdfAnnotationStateModel[PdfAnnotationStateModel["none"] = 0] = "none";
PdfAnnotationStateModel[PdfAnnotationStateModel["marked"] = 1] = "marked";
PdfAnnotationStateModel[PdfAnnotationStateModel["review"] = 2] = "review";
})(PdfAnnotationStateModel = exports.PdfAnnotationStateModel || (exports.PdfAnnotationStateModel = {}));
var PdfAttachmentIcon;
(function (PdfAttachmentIcon) {
PdfAttachmentIcon[PdfAttachmentIcon["pushPin"] = 0] = "pushPin";
PdfAttachmentIcon[PdfAttachmentIcon["tag"] = 1] = "tag";
PdfAttachmentIcon[PdfAttachmentIcon["graph"] = 2] = "graph";
PdfAttachmentIcon[PdfAttachmentIcon["paperClip"] = 3] = "paperClip";
})(PdfAttachmentIcon = exports.PdfAttachmentIcon || (exports.PdfAttachmentIcon = {}));
var PdfAnnotationIntent;
(function (PdfAnnotationIntent) {
PdfAnnotationIntent[PdfAnnotationIntent["none"] = 0] = "none";
PdfAnnotationIntent[PdfAnnotationIntent["freeTextCallout"] = 1] = "freeTextCallout";
PdfAnnotationIntent[PdfAnnotationIntent["freeTextTypeWriter"] = 2] = "freeTextTypeWriter";
})(PdfAnnotationIntent = exports.PdfAnnotationIntent || (exports.PdfAnnotationIntent = {}));
var PdfDestinationMode;
(function (PdfDestinationMode) {
PdfDestinationMode[PdfDestinationMode["location"] = 0] = "location";
PdfDestinationMode[PdfDestinationMode["fitToPage"] = 1] = "fitToPage";
PdfDestinationMode[PdfDestinationMode["fitR"] = 2] = "fitR";
PdfDestinationMode[PdfDestinationMode["fitH"] = 3] = "fitH";
})(PdfDestinationMode = exports.PdfDestinationMode || (exports.PdfDestinationMode = {}));
var DataFormat;
(function (DataFormat) {
DataFormat[DataFormat["fdf"] = 0] = "fdf";
DataFormat[DataFormat["xfdf"] = 1] = "xfdf";
DataFormat[DataFormat["json"] = 2] = "json";
DataFormat[DataFormat["xml"] = 3] = "xml";
})(DataFormat = exports.DataFormat || (exports.DataFormat = {}));
var PdfFormFieldsTabOrder;
(function (PdfFormFieldsTabOrder) {
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["none"] = 0] = "none";
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["row"] = 1] = "row";
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["column"] = 2] = "column";
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["structure"] = 3] = "structure";
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["manual"] = 4] = "manual";
PdfFormFieldsTabOrder[PdfFormFieldsTabOrder["widget"] = 5] = "widget";
})(PdfFormFieldsTabOrder = exports.PdfFormFieldsTabOrder || (exports.PdfFormFieldsTabOrder = {}));
var PdfPermissionFlag;
(function (PdfPermissionFlag) {
PdfPermissionFlag[PdfPermissionFlag["default"] = 0] = "default";
PdfPermissionFlag[PdfPermissionFlag["print"] = 4] = "print";
PdfPermissionFlag[PdfPermissionFlag["editContent"] = 8] = "editContent";
PdfPermissionFlag[PdfPermissionFlag["copyContent"] = 16] = "copyContent";
PdfPermissionFlag[PdfPermissionFlag["editAnnotations"] = 32] = "editAnnotations";
PdfPermissionFlag[PdfPermissionFlag["fillFields"] = 256] = "fillFields";
PdfPermissionFlag[PdfPermissionFlag["accessibilityCopyContent"] = 512] = "accessibilityCopyContent";
PdfPermissionFlag[PdfPermissionFlag["assembleDocument"] = 1024] = "assembleDocument";
PdfPermissionFlag[PdfPermissionFlag["fullQualityPrint"] = 2048] = "fullQualityPrint";
})(PdfPermissionFlag = exports.PdfPermissionFlag || (exports.PdfPermissionFlag = {}));
var PdfPageOrientation;
(function (PdfPageOrientation) {
PdfPageOrientation[PdfPageOrientation["portrait"] = 0] = "portrait";
PdfPageOrientation[PdfPageOrientation["landscape"] = 1] = "landscape";
})(PdfPageOrientation = exports.PdfPageOrientation || (exports.PdfPageOrientation = {}));
var PdfTextDirection;
(function (PdfTextDirection) {
PdfTextDirection[PdfTextDirection["none"] = 0] = "none";
PdfTextDirection[PdfTextDirection["leftToRight"] = 1] = "leftToRight";
PdfTextDirection[PdfTextDirection["rightToLeft"] = 2] = "rightToLeft";
})(PdfTextDirection = exports.PdfTextDirection || (exports.PdfTextDirection = {}));
var PdfSubSuperScript;
(function (PdfSubSuperScript) {
PdfSubSuperScript[PdfSubSuperScript["none"] = 0] = "none";
PdfSubSuperScript[PdfSubSuperScript["superScript"] = 1] = "superScript";
PdfSubSuperScript[PdfSubSuperScript["subScript"] = 2] = "subScript";
})(PdfSubSuperScript = exports.PdfSubSuperScript || (exports.PdfSubSuperScript = {}));
var PdfBlendMode;
(function (PdfBlendMode) {
PdfBlendMode[PdfBlendMode["normal"] = 0] = "normal";
PdfBlendMode[PdfBlendMode["multiply"] = 1] = "multiply";
PdfBlendMode[PdfBlendMode["screen"] = 2] = "screen";
PdfBlendMode[PdfBlendMode["overlay"] = 3] = "overlay";
PdfBlendMode[PdfBlendMode["darken"] = 4] = "darken";
PdfBlendMode[PdfBlendMode["lighten"] = 5] = "lighten";
PdfBlendMode[PdfBlendMode["colorDodge"] = 6] = "colorDodge";
PdfBlendMode[PdfBlendMode["colorBurn"] = 7] = "colorBurn";
PdfBlendMode[PdfBlendMode["hardLight"] = 8] = "hardLight";
PdfBlendMode[PdfBlendMode["softLight"] = 9] = "softLight";
PdfBlendMode[PdfBlendMode["difference"] = 10] = "difference";
PdfBlendMode[PdfBlendMode["exclusion"] = 11] = "exclusion";
PdfBlendMode[PdfBlendMode["hue"] = 12] = "hue";
PdfBlendMode[PdfBlendMode["saturation"] = 13] = "saturation";
PdfBlendMode[PdfBlendMode["color"] = 14] = "color";
PdfBlendMode[PdfBlendMode["luminosity"] = 15] = "luminosity";
})(PdfBlendMode = exports.PdfBlendMode || (exports.PdfBlendMode = {}));
var PdfFillMode;
(function (PdfFillMode) {
PdfFillMode[PdfFillMode["winding"] = 0] = "winding";
PdfFillMode[PdfFillMode["alternate"] = 1] = "alternate";
})(PdfFillMode = exports.PdfFillMode || (exports.PdfFillMode = {}));
var PdfDashStyle;
(function (PdfDashStyle) {
PdfDashStyle[PdfDashStyle["solid"] = 0] = "solid";
PdfDashStyle[PdfDashStyle["dash"] = 1] = "dash";
PdfDashStyle[PdfDashStyle["dot"] = 2] = "dot";
PdfDashStyle[PdfDashStyle["dashDot"] = 3] = "dashDot";
PdfDashStyle[PdfDashStyle["dashDotDot"] = 4] = "dashDotDot";
PdfDashStyle[PdfDashStyle["custom"] = 5] = "custom";
})(PdfDashStyle = exports.PdfDashStyle || (exports.PdfDashStyle = {}));
var PdfLineCap;
(function (PdfLineCap) {
PdfLineCap[PdfLineCap["flat"] = 0] = "flat";
PdfLineCap[PdfLineCap["round"] = 1] = "round";
PdfLineCap[PdfLineCap["square"] = 2] = "square";
})(PdfLineCap = exports.PdfLineCap || (exports.PdfLineCap = {}));
var PdfLineJoin;
(function (PdfLineJoin) {
PdfLineJoin[PdfLineJoin["miter"] = 0] = "miter";
PdfLineJoin[PdfLineJoin["round"] = 1] = "round";
PdfLineJoin[PdfLineJoin["bevel"] = 2] = "bevel";
})(PdfLineJoin = exports.PdfLineJoin || (exports.PdfLineJoin = {}));
var PdfTextStyle;
(function (PdfTextStyle) {
PdfTextStyle[PdfTextStyle["regular"] = 0] = "regular";
PdfTextStyle[PdfTextStyle["italic"] = 1] = "italic";
PdfTextStyle[PdfTextStyle["bold"] = 2] = "bold";
})(PdfTextStyle = exports.PdfTextStyle || (exports.PdfTextStyle = {}));
var PdfNumberStyle;
(function (PdfNumberStyle) {
PdfNumberStyle[PdfNumberStyle["none"] = 0] = "none";
PdfNumberStyle[PdfNumberStyle["numeric"] = 1] = "numeric";
PdfNumberStyle[PdfNumberStyle["lowerLatin"] = 2] = "lowerLatin";
PdfNumberStyle[PdfNumberStyle["lowerRoman"] = 3] = "lowerRoman";
PdfNumberStyle[PdfNumberStyle["upperLatin"] = 4] = "upperLatin";
PdfNumberStyle[PdfNumberStyle["upperRoman"] = 5] = "upperRoman";
})(PdfNumberStyle = exports.PdfNumberStyle || (exports.PdfNumberStyle = {}));
var PdfUnorderedListStyle;
(function (PdfUnorderedListStyle) {
PdfUnorderedListStyle[PdfUnorderedListStyle["none"] = 0] = "none";
PdfUnorderedListStyle[PdfUnorderedListStyle["disk"] = 1] = "disk";
PdfUnorderedListStyle[PdfUnorderedListStyle["square"] = 2] = "square";
PdfUnorderedListStyle[PdfUnorderedListStyle["asterisk"] = 3] = "asterisk";
PdfUnorderedListStyle[PdfUnorderedListStyle["circle"] = 4] = "circle";
})(PdfUnorderedListStyle = exports.PdfUnorderedListStyle || (exports.PdfUnorderedListStyle = {}));
var PdfLayoutType;
(function (PdfLayoutType) {
PdfLayoutType[PdfLayoutType["paginate"] = 0] = "paginate";
PdfLayoutType[PdfLayoutType["onePage"] = 1] = "onePage";
})(PdfLayoutType = exports.PdfLayoutType || (exports.PdfLayoutType = {}));
var PdfLayoutBreakType;
(function (PdfLayoutBreakType) {
PdfLayoutBreakType[PdfLayoutBreakType["fitPage"] = 0] = "fitPage";
PdfLayoutBreakType[PdfLayoutBreakType["fitElement"] = 1] = "fitElement";
})(PdfLayoutBreakType = exports.PdfLayoutBreakType || (exports.PdfLayoutBreakType = {}));
var PdfListMarkerAlignment;
(function (PdfListMarkerAlignment) {
PdfListMarkerAlignment[PdfListMarkerAlignment["left"] = 0] = "left";
PdfListMarkerAlignment[PdfListMarkerAlignment["right"] = 1] = "right";
})(PdfListMarkerAlignment = exports.PdfListMarkerAlignment || (exports.PdfListMarkerAlignment = {}));
var PdfPrintState;
(function (PdfPrintState) {
PdfPrintState[PdfPrintState["alwaysPrint"] = 0] = "alwaysPrint";
PdfPrintState[PdfPrintState["neverPrint"] = 1] = "neverPrint";
PdfPrintState[PdfPrintState["printWhenVisible"] = 2] = "printWhenVisible";
})(PdfPrintState = exports.PdfPrintState || (exports.PdfPrintState = {}));
var DigestAlgorithm;
(function (DigestAlgorithm) {
DigestAlgorithm[DigestAlgorithm["sha1"] = 0] = "sha1";
DigestAlgorithm[DigestAlgorithm["sha256"] = 1] = "sha256";
DigestAlgorithm[DigestAlgorithm["sha384"] = 2] = "sha384";
DigestAlgorithm[DigestAlgorithm["sha512"] = 3] = "sha512";
DigestAlgorithm[DigestAlgorithm["ripemd160"] = 4] = "ripemd160";
})(DigestAlgorithm = exports.DigestAlgorithm || (exports.DigestAlgorithm = {}));
var CryptographicStandard;
(function (CryptographicStandard) {
CryptographicStandard[CryptographicStandard["cms"] = 0] = "cms";
CryptographicStandard[CryptographicStandard["cades"] = 1] = "cades";
})(CryptographicStandard = exports.CryptographicStandard || (exports.CryptographicStandard = {}));
var PdfCertificationFlags;
(function (PdfCertificationFlags) {
PdfCertificationFlags[PdfCertificationFlags["forbidChanges"] = 1] = "forbidChanges";
PdfCertificationFlags[PdfCertificationFlags["allowFormFill"] = 2] = "allowFormFill";
PdfCertificationFlags[PdfCertificationFlags["allowComments"] = 3] = "allowComments";
})(PdfCertificationFlags = exports.PdfCertificationFlags || (exports.PdfCertificationFlags = {}));
var _PdfX509RevocationMode;
(function (_PdfX509RevocationMode) {
_PdfX509RevocationMode[_PdfX509RevocationMode["noCheck"] = 0] = "noCheck";
_PdfX509RevocationMode[_PdfX509RevocationMode["online"] = 1] = "online";
_PdfX509RevocationMode[_PdfX509RevocationMode["offline"] = 2] = "offline";
})(_PdfX509RevocationMode = exports._PdfX509RevocationMode || (exports._PdfX509RevocationMode = {}));
var _RevocationType;
(function (_RevocationType) {
_RevocationType[_RevocationType["ocsp"] = 0] = "ocsp";
_RevocationType[_RevocationType["crl"] = 1] = "crl";
_RevocationType[_RevocationType["ocspAndCrl"] = 2] = "ocspAndCrl";
_RevocationType[_RevocationType["ocspOrCrl"] = 3] = "ocspOrCrl";
})(_RevocationType = exports._RevocationType || (exports._RevocationType = {}));
var _PdfAnnotationType;
(function (_PdfAnnotationType) {
_PdfAnnotationType[_PdfAnnotationType["highlight"] = 0] = "highlight";
_PdfAnnotationType[_PdfAnnotationType["underline"] = 1] = "underline";
_PdfAnnotationType[_PdfAnnotationType["strikeOut"] = 2] = "strikeOut";
_PdfAnnotationType[_PdfAnnotationType["squiggly"] = 3] = "squiggly";
_PdfAnnotationType[_PdfAnnotationType["redactionAnnotation"] = 4] = "redactionAnnotation";
_PdfAnnotationType[_PdfAnnotationType["textAnnotation"] = 5] = "textAnnotation";
_PdfAnnotationType[_PdfAnnotationType["linkAnnotation"] = 6] = "linkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["documentLinkAnnotation"] = 7] = "documentLinkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["uriAnnotation"] = 8] = "uriAnnotation";
_PdfAnnotationType[_PdfAnnotationType["fileLinkAnnotation"] = 9] = "fileLinkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["freeTextAnnotation"] = 10] = "freeTextAnnotation";
_PdfAnnotationType[_PdfAnnotationType["lineAnnotation"] = 11] = "lineAnnotation";
_PdfAnnotationType[_PdfAnnotationType["circleAnnotation"] = 12] = "circleAnnotation";
_PdfAnnotationType[_PdfAnnotationType["ellipseAnnotation"] = 13] = "ellipseAnnotation";
_PdfAnnotationType[_PdfAnnotationType["squareAnnotation"] = 14] = "squareAnnotation";
_PdfAnnotationType[_PdfAnnotationType["rectangleAnnotation"] = 15] = "rectangleAnnotation";
_PdfAnnotationType[_PdfAnnotationType["polygonAnnotation"] = 16] = "polygonAnnotation";
_PdfAnnotationType[_PdfAnnotationType["polyLineAnnotation"] = 17] = "polyLineAnnotation";
_PdfAnnotationType[_PdfAnnotationType["textMarkupAnnotation"] = 18] = "textMarkupAnnotation";
_PdfAnnotationType[_PdfAnnotationType["caretAnnotation"] = 19] = "caretAnnotation";
_PdfAnnotationType[_PdfAnnotationType["rubberStampAnnotation"] = 20] = "rubberStampAnnotation";
_PdfAnnotationType[_PdfAnnotationType["popupAnnotation"] = 21] = "popupAnnotation";
_PdfAnnotationType[_PdfAnnotationType["fileAttachmentAnnotation"] = 22] = "fileAttachmentAnnotation";
_PdfAnnotationType[_PdfAnnotationType["soundAnnotation"] = 23] = "soundAnnotation";
_PdfAnnotationType[_PdfAnnotationType["movieAnnotation"] = 24] = "movieAnnotation";
_PdfAnnotationType[_PdfAnnotationType["screenAnnotation"] = 25] = "screenAnnotation";
_PdfAnnotationType[_PdfAnnotationType["widgetAnnotation"] = 26] = "widgetAnnotation";
_PdfAnnotationType[_PdfAnnotationType["printerMarkAnnotation"] = 27] = "printerMarkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["trapNetworkAnnotation"] = 28] = "trapNetworkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["watermarkAnnotation"] = 29] = "watermarkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["textWebLinkAnnotation"] = 30] = "textWebLinkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["inkAnnotation"] = 31] = "inkAnnotation";
_PdfAnnotationType[_PdfAnnotationType["richMediaAnnotation"] = 32] = "richMediaAnnotation";
_PdfAnnotationType[_PdfAnnotationType["angleMeasurementAnnotation"] = 33] = "angleMeasurementAnnotation";
_PdfAnnotationType[_PdfAnnotationType["null"] = 34] = "null";
})(_PdfAnnotationType = exports._PdfAnnotationType || (exports._PdfAnnotationType = {}));
var _PdfGraphicsUnit;
(function (_PdfGraphicsUnit) {
_PdfGraphicsUnit[_PdfGraphicsUnit["centimeter"] = 0] = "centimeter";
_PdfGraphicsUnit[_PdfGraphicsUnit["pica"] = 1] = "pica";
_PdfGraphicsUnit[_PdfGraphicsUnit["pixel"] = 2] = "pixel";
_PdfGraphicsUnit[_PdfGraphicsUnit["point"] = 3] = "point";
_PdfGraphicsUnit[_PdfGraphicsUnit["inch"] = 4] = "inch";
_PdfGraphicsUnit[_PdfGraphicsUnit["document"] = 5] = "document";
_PdfGraphicsUnit[_PdfGraphicsUnit["millimeter"] = 6] = "millimeter";
})(_PdfGraphicsUnit = exports._PdfGraphicsUnit || (exports._PdfGraphicsUnit = {}));
var _FieldFlag;
(function (_FieldFlag) {
_FieldFlag[_FieldFlag["default"] = 0] = "default";
_FieldFlag[_FieldFlag["readOnly"] = 1] = "readOnly";
_FieldFlag[_FieldFlag["required"] = 2] = "required";
_FieldFlag[_FieldFlag["noExport"] = 4] = "noExport";
_FieldFlag[_FieldFlag["multiLine"] = 4096] = "multiLine";
_FieldFlag[_FieldFlag["password"] = 8192] = "password";
_FieldFlag[_FieldFlag["fileSelect"] = 1048576] = "fileSelect";
_FieldFlag[_FieldFlag["doNotSpellCheck"] = 4194304] = "doNotSpellCheck";
_FieldFlag[_FieldFlag["doNotScroll"] = 8388608] = "doNotScroll";
_FieldFlag[_FieldFlag["comb"] = 16777216] = "comb";
_FieldFlag[_FieldFlag["richText"] = 33554432] = "richText";
_FieldFlag[_FieldFlag["noToggleToOff"] = 16384] = "noToggleToOff";
_FieldFlag[_FieldFlag["radio"] = 32768] = "radio";
_FieldFlag[_FieldFlag["pushButton"] = 65536] = "pushButton";
_FieldFlag[_FieldFlag["radiosInUnison"] = 33554432] = "radiosInUnison";
_FieldFlag[_FieldFlag["combo"] = 131072] = "combo";
_FieldFlag[_FieldFlag["edit"] = 262144] = "edit";
_FieldFlag[_FieldFlag["sort"] = 524288] = "sort";
_FieldFlag[_FieldFlag["multiSelect"] = 2097152] = "multiSelect";
_FieldFlag[_FieldFlag["commitOnSelectChange"] = 67108864] = "commitOnSelectChange";
})(_FieldFlag = exports._FieldFlag || (exports._FieldFlag = {}));
var _SignatureFlag;
(function (_SignatureFlag) {
_SignatureFlag[_SignatureFlag["none"] = 0] = "none";
_SignatureFlag[_SignatureFlag["signatureExists"] = 1] = "signatureExists";
_SignatureFlag[_SignatureFlag["appendOnly"] = 2] = "appendOnly";
})(_SignatureFlag = exports._SignatureFlag || (exports._SignatureFlag = {}));
var _PdfCheckFieldState;
(function (_PdfCheckFieldState) {
_PdfCheckFieldState[_PdfCheckFieldState["unchecked"] = 0] = "unchecked";
_PdfCheckFieldState[_PdfCheckFieldState["checked"] = 1] = "checked";
_PdfCheckFieldState[_PdfCheckFieldState["pressedUnchecked"] = 2] = "pressedUnchecked";
_PdfCheckFieldState[_PdfCheckFieldState["pressedChecked"] = 3] = "pressedChecked";
})(_PdfCheckFieldState = exports._PdfCheckFieldState || (exports._PdfCheckFieldState = {}));
var _PdfWordWrapType;
(function (_PdfWordWrapType) {
_PdfWordWrapType[_PdfWordWrapType["none"] = 0] = "none";
_PdfWordWrapType[_PdfWordWrapType["word"] = 1] = "word";
_PdfWordWrapType[_PdfWordWrapType["wordOnly"] = 2] = "wordOnly";
_PdfWordWrapType[_PdfWordWrapType["character"] = 3] = "character";
})(_PdfWordWrapType = exports._PdfWordWrapType || (exports._PdfWordWrapType = {}));
var _FontDescriptorFlag;
(function (_FontDescriptorFlag) {
_FontDescriptorFlag[_FontDescriptorFlag["fixedPitch"] = 1] = "fixedPitch";
_FontDescriptorFlag[_FontDescriptorFlag["serif"] = 2] = "serif";
_FontDescriptorFlag[_FontDescriptorFlag["symbolic"] = 4] = "symbolic";
_FontDescriptorFlag[_FontDescriptorFlag["script"] = 8] = "script";
_FontDescriptorFlag[_FontDescriptorFlag["nonSymbolic"] = 32] = "nonSymbolic";
_FontDescriptorFlag[_FontDescriptorFlag["italic"] = 64] = "italic";
_FontDescriptorFlag[_FontDescriptorFlag["forceBold"] = 262144] = "forceBold";
})(_FontDescriptorFlag = exports._FontDescriptorFlag || (exports._FontDescriptorFlag = {}));
var _TrueTypeCmapFormat;
(function (_TrueTypeCmapFormat) {
_TrueTypeCmapFormat[_TrueTypeCmapFormat["apple"] = 0] = "apple";
_TrueTypeCmapFormat[_TrueTypeCmapFormat["microsoft"] = 4] = "microsoft";
_TrueTypeCmapFormat[_TrueTypeCmapFormat["trimmed"] = 6] = "trimmed";
})(_TrueTypeCmapFormat = exports._TrueTypeCmapFormat || (exports._TrueTypeCmapFormat = {}));
var _TrueTypeCmapEncoding;
(function (_TrueTypeCmapEncoding) {
_TrueTypeCmapEncoding[_TrueTypeCmapEncoding["unknown"] = 0] = "unknown";
_TrueTypeCmapEncoding[_TrueTypeCmapEncoding["symbol"] = 1] = "symbol";
_TrueTypeCmapEncoding[_TrueTypeCmapEncoding["unicode"] = 2] = "unicode";
_TrueTypeCmapEncoding[_TrueTypeCmapEncoding["macintosh"] = 3] = "macintosh";
})(_TrueTypeCmapEncoding = exports._TrueTypeCmapEncoding || (exports._TrueTypeCmapEncoding = {}));
var _TrueTypePlatformID;
(function (_TrueTypePlatformID) {
_TrueTypePlatformID[_TrueTypePlatformID["appleUnicode"] = 0] = "appleUnicode";
_TrueTypePlatformID[_TrueTypePlatformID["macintosh"] = 1] = "macintosh";
_TrueTypePlatformID[_TrueTypePlatformID["iSO"] = 2] = "iSO";
_TrueTypePlatformID[_TrueTypePlatformID["microsoft"] = 3] = "microsoft";
})(_TrueTypePlatformID = exports._TrueTypePlatformID || (exports._TrueTypePlatformID = {}));
var _TrueTypeMicrosoftEncodingID;
(function (_TrueTypeMicrosoftEncodingID) {
_TrueTypeMicrosoftEncodingID[_TrueTypeMicrosoftEncodingID["undefined"] = 0] = "undefined";
_TrueTypeMicrosoftEncodingID[_TrueTypeMicrosoftEncodingID["unicode"] = 1] = "unicode";
})(_TrueTypeMicrosoftEncodingID = exports._TrueTypeMicrosoftEncodingID || (exports._TrueTypeMicrosoftEncodingID = {}));
var _TrueTypeMacintoshEncodingID;
(function (_TrueTypeMacintoshEncodingID) {
_TrueTypeMacintoshEncodingID[_TrueTypeMacintoshEncodingID["roman"] = 0] = "roman";
_TrueTypeMacintoshEncodingID[_TrueTypeMacintoshEncodingID["japanese"] = 1] = "japanese";
_TrueTypeMacintoshEncodingID[_TrueTypeMacintoshEncodingID["chinese"] = 2] = "chinese";
})(_TrueTypeMacintoshEncodingID = exports._TrueTypeMacintoshEncodingID || (exports._TrueTypeMacintoshEncodingID = {}));
var _TrueTypeCompositeGlyphFlag;
(function (_TrueTypeCompositeGlyphFlag) {
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["Arg1And2AreWords"] = 1] = "Arg1And2AreWords";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["ArgsAreXyValues"] = 2] = "ArgsAreXyValues";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["RoundXyToGrid"] = 4] = "RoundXyToGrid";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["WeHaveScale"] = 8] = "WeHaveScale";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["Reserved"] = 16] = "Reserved";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["MoreComponents"] = 32] = "MoreComponents";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["WeHaveAnXyScale"] = 64] = "WeHaveAnXyScale";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["WeHaveTwoByTwo"] = 128] = "WeHaveTwoByTwo";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["WeHaveInstructions"] = 256] = "WeHaveInstructions";
_TrueTypeCompositeGlyphFlag[_TrueTypeCompositeGlyphFlag["UseMyMetrics"] = 512] = "UseMyMetrics";
})(_TrueTypeCompositeGlyphFlag = exports._TrueTypeCompositeGlyphFlag || (exports._TrueTypeCompositeGlyphFlag = {}));
var _ImageFormat;
(function (_ImageFormat) {
_ImageFormat[_ImageFormat["unknown"] = 0] = "unknown";
_ImageFormat[_ImageFormat["bmp"] = 1] = "bmp";
_ImageFormat[_ImageFormat["emf"] = 2] = "emf";
_ImageFormat[_ImageFormat["gif"] = 3] = "gif";
_ImageFormat[_ImageFormat["jpeg"] = 4] = "jpeg";
_ImageFormat[_ImageFormat["png"] = 5] = "png";
_ImageFormat[_ImageFormat["wmf"] = 6] = "wmf";
_ImageFormat[_ImageFormat["icon"] = 7] = "icon";
})(_ImageFormat = exports._ImageFormat || (exports._ImageFormat = {}));
var _TokenType;
(function (_TokenType) {
_TokenType[_TokenType["none"] = 0] = "none";
_TokenType[_TokenType["comment"] = 1] = "comment";
_TokenType[_TokenType["number"] = 2] = "number";
_TokenType[_TokenType["real"] = 3] = "real";
_TokenType[_TokenType["string"] = 4] = "string";
_TokenType[_TokenType["hexString"] = 5] = "hexString";
_TokenType[_TokenType["unicodeString"] = 6] = "unicodeString";
_TokenType[_TokenType["unicodeHexString"] = 7] = "unicodeHexString";
_TokenType[_TokenType["name"] = 8] = "name";
_TokenType[_TokenType["operator"] = 9] = "operator";
_TokenType[_TokenType["beginArray"] = 10] = "beginArray";
_TokenType[_TokenType["endArray"] = 11] = "endArray";
_TokenType[_TokenType["eof"] = 12] = "eof";
})(_TokenType = exports._TokenType || (exports._TokenType = {}));
var _PdfColorSpace;
(function (_PdfColorSpace) {
_PdfColorSpace[_PdfColorSpace["rgb"] = 0] = "rgb";
_PdfColorSpace[_PdfColorSpace["cmyk"] = 1] = "cmyk";
_PdfColorSpace[_PdfColorSpace["grayScale"] = 2] = "grayScale";
_PdfColorSpace[_PdfColorSpace["indexed"] = 3] = "indexed";
})(_PdfColorSpace = exports._PdfColorSpace || (exports._PdfColorSpace = {}));
});
|