/** * Defines possible types of {@link RichMediaAnnotation} content. */ export declare enum RichMediaAnnotationContentType { /** * Video content. */ Video = 0, /** * Sound content. */ Sound = 1 } /** * Defines possible check mark styles for {@link RadioButtonField} and {@link CheckBoxField}. */ export declare enum CheckStyle { /** * The check mark looks like a check. */ Check = 0, /** * The check mark looks like a circle. */ Circle = 1, /** * The check mark looks like a cross. */ Cross = 2, /** * The check mark looks like a diamond. */ Diamond = 3, /** * The check mark looks like a square. */ Square = 4, /** * The check mark looks like a star. */ Star = 5 } /** * Specifies the relative positions of text and image in an annotation. */ export declare enum CaptionImageRelation { /** * No image; caption only. */ CaptionOnly = 0, /** * No caption; image only. */ ImageOnly = 1, /** * Caption below the image. */ CaptionBelowIcon = 2, /** * Caption above the image. */ CaptionAboveIcon = 3, /** * Caption to the right of the image. */ CaptionAtRight = 4, /** * Caption to the left of the image. */ CaptionAtLeft = 5, /** * Caption overlaid directly on the image. */ CaptionOverlaid = 6 } /** * Specifies the circumstances under which the image should be scaled inside the button rectangle. */ export declare enum ImageScaleMode { /** * Always scale. */ Always = 0, /** * Scale only when the image is bigger than the button rectangle. */ Bigger = 1, /** * Scale only when the image is smaller than the button rectangle. */ Smaller = 2, /** * Never scale. */ Never = 3 } /** * Defines possible text markup types. */ export declare enum TextMarkupType { /** * Highlighting markup. */ Highlight = 0, /** * Underline markup. */ Underline = 1, /** * Squiggly markup. */ Squiggly = 2, /** * Strikeout markup. */ StrikeOut = 3 } /** * Defines audio formats supported by {@link SoundObject}. */ export declare enum AudioFormat { /** * Auto detect audio format. */ Auto = 0, /** * The WAV format. */ Wav = 1, /** * The AIFF format. */ Aiff = 2 } /** * Specifies the possible positions of a text for {@link LineAnnotation}. */ export declare enum LineAnnotationTextPosition { /** * Text is not shown. */ None = 0, /** * Text is centered inside the line. */ Inline = 1, /** * Text is on top of the line. */ Top = 2 } /** * Specifies how deleting text affects the surrounding content. */ export declare enum DeleteTextMode { /** * Any text following the deleted text will be shifted * into the space previously occupied by the deleted text. * In some cases (depending on the specifics of the current PDF) * this may yield unexpected results. */ Standard = 0, /** * The space that was occupied by the deleted text will become blank. * Other page content will not be affected. */ PreserveSpace = 1 } /** * Defines possible algorithms that can be used to recognize * the logical structure of a PDF when building text maps. */ export declare enum RecognitionAlgorithm { /** * Advanced algorithm that employs various heuristics and strategies * to try to correctly recognize the logical document structure * when building text maps. * * Please note that because the details of this algorithm may change from version * to version, the text maps for a specific PDF may also change when DsPdfJS is updated. */ Advanced = 0, /** * Algorithm that primarily relies on the physical structure of a PDF when building text maps. * Results yielded by this algorithm are consistent with how * Acrobat Reader handles text when searching, selecting etc. */ AcrobatLike = 1 } /** * Specifies text justification to be used when displaying variable text in {@link FreeTextAnnotation}, * {@link WidgetAnnotation} etc. */ export declare enum VariableTextJustification { /** * Text is left justified. */ LeftJustified = 0, /** * Text is centered. */ Centered = 1, /** * Text is right justified. */ RightJustified = 2 } /** * Defines possible styles of outline text. */ export declare enum OutlineNodeFontStyle { /** * Regular. */ Regular = 0, /** * Italic style. */ Italic = 1, /** * Bold style. */ Bold = 2 } /** * Defines possible border styles for fields. */ export declare enum BorderStyle { /** * No border. */ None = 0, /** * Solid border. */ Solid = 1, /** * Dashed border. */ Dashed = 2, /** * Beveled, a simulated embossed rectangle that appears to be raised above the surface of the page. */ Beveled = 3, /** * Inset, a simulated engraved rectangle that appears to be recessed below the surface of the page. */ Inset = 4, /** * Underline, a single line along the bottom of the annotation rectangle. */ Underline = 5, /** * Value is unknown. */ Unknown = 6 } /** * Defines possible values of {@link ActionSubmitForm#submitFormat} property. */ export declare enum SubmitFormatType { /** * Field names and values are submitted in HTML Form format. */ HtmlForm = 0, /** * Field names and values are submitted in Forms Data Format (FDF). */ FDF = 1, /** * Field names and values are submitted as XFDF. */ XFDF = 2, /** * Document is submitted as PDF, using the MIME content type "application/pdf". */ PDF = 3 } /** * Defines possible values of {@link ActionSubmitForm#htmlFormFormat} property. */ export declare enum HtmlFormFormatFlags { /** * Indicates whether field names and values are submitted using an HTTP GET request, * otherwise they are submitted using a POST request. */ GetMethod = 8, /** * Indicates whether the coordinates of the mouse click that caused the submit-form * action are transmitted as part of the form data. * The coordinate values are relative to the upper-left corner of the field's rectangle. * They are represented in the data in the format * name.x = xval & name.y = yval * where name is the {@link Field#mappingName} if present; otherwise, name is the field name. * If the value of the {@link Field#mappingName} is a single space character, * both the name and the dot following it are suppressed, resulting in the format * x = xval & y = yval */ SubmitCoordinates = 16 } /** * Defines possible values of {@link ActionSubmitForm#fdfFormat} property. */ export declare enum FDFFormatFlags { /** * If set, the submitted FDF file includes the contents of all incremental updates to the underlying PDF document, * as contained in the Differences entry in the FDF dictionary. * If clear, the incremental updates are not included. */ IncludeAppendSaves = 64, /** * If set, the submitted FDF file includes all markup annotations in the underlying PDF document. * If clear, markup annotations are not included. */ IncludeAnnotations = 128, /** * Meaningful only when the {@link IncludeAnnotations} flag is set. * If set, it includes only those markup annotations whose {@link MarkupAnnotation#userName} matches the name of the current user, * as determined by the remote server to which the form is being submitted. * This allows multiple users to collaborate in annotating a single remote PDF document * without affecting one another's annotations. */ ExclNonUserAnnots = 1024, /** * If set, the submitted FDF excludes the F entry. */ ExclFKey = 2048, /** * If set, the F entry of the submitted FDF is a file specification containing an embedded file stream * representing the PDF file from which the FDF is being submitted. */ EmbedForm = 8192 } /** * Defines possible values of {@link ActionSubmitForm#pdfFormat} property. */ export declare enum PDFFormatFlags { /** * Indicates whether the PDF document submitted using an HTTP GET request, * otherwise it is submitted using a POST request. */ GetMethod = 8 } /** * Enumerates the possible types of border effects. */ export declare enum BorderEffectType { /** * No effect. */ None = 0, /** * The border should appear "cloudy". */ Cloudy = 1 } /** * Specifies the possible highlighting modes for various annotations, {@link LinkAnnotation} etc. */ export declare enum HighlightingMode { /** * No highlighting. */ None = 0, /** * Invert the contents of the annotation rectangle. */ Invert = 1, /** * Invert the annotation's border. */ Outline = 2, /** * Display the annotation as if it were being pushed below the surface of the page. */ Push = 3 } /** * Specifies the various characteristics of an {@link AnnotationBase}. */ export declare enum AnnotationFlags { /** * Empty. */ None = 0, /** * Do not display the annotation if it does not belong to one of the standard annotation types and no annotation handler * is available. If clear, display such an unknown annotation using an appearance stream specified by its * appearance dictionary, if any. */ Invisible = 1, /** * Do not display or print the annotation or allow it to interact with the user, * regardless of its annotation type or whether an annotation handler is available. * In cases where screen space is limited, the ability to hide and show annotations selectively * can be used in combination with appearance streams to display auxiliary pop-up information similar * in function to online help systems. */ Hidden = 2, /** * Print the annotation when the page is printed. * If clear, never print the annotation, regardless of whether it is displayed on the screen. * This can be useful, for example, for annotations representing interactive pushbuttons, * which would serve no meaningful purpose on the printed page. */ Print = 4, /** * Do not scale the annotation's appearance to match the magnification of the page. * The location of the annotation on the page (defined by the upper-left corner of its annotation rectangle) remains fixed, * regardless of the page magnification. */ NoZoom = 8, /** * Do not rotate the annotation's appearance to match the rotation of the page. * The upper-left corner of the annotation rectangle remains in a fixed location on the page, * regardless of the page rotation. */ NoRotate = 16, /** * Do not display the annotation on the screen or allow it to interact with the user. * The annotation may be printed (depending on the setting of the Print flag) but should be considered hidden * for purposes of on-screen display and user interaction. */ NoView = 32, /** * Do not allow the annotation to interact with the user. * The annotation may be displayed or printed (depending on the settings of the NoView and Print flags) * but should not respond to mouse clicks or change its appearance in response to mouse motions. * This flag is ignored for widget annotations; its function is subsumed by the ReadOnly flag of the associated form field. */ ReadOnly = 64, /** * Do not allow the annotation to be deleted or its properties (including position and size) to be modified by the user. * However, this flag does not restrict changes to the annotation's contents, such as the value of a form field. */ Locked = 128, /** * Invert the interpretation of the NoView flag for certain events. * A typical use is to have an annotation that appears only when a mouse cursor is held over it. */ ToggleNoView = 256, /** * Do not allow the contents of the annotation to be modified by the user. * This flag does not restrict deletion of the annotation or changes to other annotation properties, * such as position and size. */ LockedContents = 512 } /** * Specifies the possible line ending styles. */ export declare enum LineEndingStyle { /** * No line ending. */ None = 0, /** * A square filled with the annotation's interior color, if any. */ Square = 1, /** * A circle filled with the annotation's interior color, if any. */ Circle = 2, /** * A diamond shape filled with the annotation's interior color, if any. */ Diamond = 3, /** * Two short lines meeting in an acute angle to form an open arrowhead. */ OpenArrow = 4, /** * Two short lines meeting in an acute angle as in the OpenArrow style and connected by a third line to form * a triangular closed arrowhead filled with the annotation's interior color, if any. */ ClosedArrow = 5, /** * A short line at the endpoint perpendicular to the line itself. */ Butt = 6, /** * Two short lines in the reverse direction from OpenArrow. */ ROpenArrow = 7, /** * A triangular closed arrowhead in the reverse direction from ClosedArrow. */ RClosedArrow = 8, /** * A short line at the endpoint approximately 30 degrees clockwise from perpendicular to the line itself */ Slash = 9 } /** * Defines supported encryption options. */ export declare enum EncryptionLevel { /** * The AES-256 encryption. */ AES256 = 0, /** * The AES-128 encryption. */ AES128 = 1, /** * The RC-128 encryption. */ RC128 = 2 } /** * Enumerates possible permissions that control the printing of a document. */ export declare enum PrintingPermissions { /** * Printing is enabled with maximum quality. */ Enabled = 0, /** * Printing is disabled. */ Disabled = 1, /** * Printing is limited to a low-level representation of the appearance, possibly of degraded quality. */ LowResolution = 2 } /** * Flags specifying possible permissions that control the editing of a document. */ export declare enum EditingPermissions { /** * Editing is disabled. */ Disabled = 0, /** * Allows creating or modifying interactive form fields. */ CreateModifyFormFields = 1, /** * Allows adding or modifying text annotations and filling in interactive form fields. */ CreateModifyAnnotationsFillFieldValues = 2, /** * Allows filling in existing interactive form fields (including signature fields). */ FillFieldValues = 4, /** * Allows assembling the document (insert, rotate, or delete pages and create bookmarks or thumbnail images). */ AssembleDocument = 8, /** * Editing is enabled. */ Enabled = 15 } /** * Defines possible access types for a PDF document. */ export declare enum AccessType { /** * Invalid password specified. */ InvalidPassword = 0, /** * User access. */ User = 1, /** * Owner access. */ Owner = 2 } /** * Defines the flags that describe a PDF's password protection status. * See {@link StandardSecurityHandler#passwordMatches} property for details. */ export declare enum PasswordMatches { /** * The document is not encrypted. */ None = 0, /** * The document is encrypted with an empty User password. */ UserPasswordEmpty = 1, /** * The document is encrypted with an empty Owner password. */ OwnerPasswordEmpty = 2, /** * The password passed to the {@link PdfDocument.load} method * matches the document's User password. */ UserPasswordMatch = 4, /** * The password passed to the {@link PdfDocument.load} method * matches the document's Owner password. */ OwnerPasswordMatch = 8 } /** * Defines the decryption status of a loaded document. */ export declare enum DecryptionStatus { /** * The loaded document is not encrypted. */ NotEncrypted = 0, /** * The document was successfully decrypted. */ Success = 1, /** * Decryption failed. */ Failed = 2 } /** * Specifies the namespace for a custom metadata property. */ export declare enum UserPropNamespace { /** * Dublin Core Properties. */ Dublin = 0, /** * XMP Core Properties. */ Xmp = 1, /** * PDF Properties. */ Pdf = 2, /** * Custom Properties. */ Custom = 3 } /** * Specifies the angle units. **/ export declare enum AngleUnits { /** * An angle is in radians (Math.PI * 2 is a full turn). **/ Radians = 0, /** * An angle is in degrees (360 is a full turn). **/ Degrees = 1, /** * An angle is in gradians (400 is a full turn). **/ Gradians = 2, /** * An angle is a fraction of a full turn. **/ Turns = 3 } /** * Specifies whether an arc should be greater than 180 degrees. **/ export declare enum ArcSize { /** * An arc's sweep should be 180 degrees or less. **/ Small = 0, /** * An arc's sweep should be 180 degrees or greater. **/ Large = 1 } /** * Defines methods of mixing source and destination colors when drawing. **/ export declare enum BlendMode { /** * No blending takes place. The source color replaces the destination color. **/ Normal = 0, /** * The source color is multiplied by the destination color and replaces the destination. **/ Multiply = 1, /** * Multiplies the complements of the backdrop and source color values, then complements the result. **/ Screen = 2, /** * Multiplies or screens the colors, depending on the backdrop color value. **/ Overlay = 3, /** * Selects the darker of the backdrop and source colors. **/ Darken = 4, /** * Selects the lighter of the backdrop and source colors. **/ Lighten = 5, /** * Brightens the backdrop color to reflect the source color. **/ ColorDodge = 6, /** * Darkens the backdrop color to reflect the source color. **/ ColorBurn = 7, /** * Multiplies or screens the colors, depending on the source color value. **/ HardLight = 8, /** * Darkens or lightens the colors, depending on the source color value. **/ SoftLight = 9, /** * Subtracts the darker of the two constituent colors from the lighter color. **/ Difference = 10, /** * Produces an effect similar to that of the Difference mode but lower in contrast. **/ Exclusion = 11, /** * Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color. **/ Hue = 12, /** * Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color. **/ Saturation = 13, /** * Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color. **/ Color = 14, /** * Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color. **/ Luminosity = 15 } /** * Identifies the type of the brush. **/ export declare enum BrushType { /** * Represents a solid brush. **/ Solid = 0, /** * Represents a linear gradient brush. **/ LinearGradient = 1, /** * Represents a radial gradient brush. **/ RadialGradient = 2, /** * Represents a hatch brush. **/ Hatch = 3, /** * Represents an image brush. **/ Image = 4 } /** * Specifies the color channel to operate on. **/ export declare enum ColorChannel { /** * Selects the Blue channel. **/ Blue = 0, /** * Selects the Green channel. **/ Green = 1, /** * Selects the Red channel. **/ Red = 2, /** * Selects the Alpha channel. **/ Alpha = 3 } /** * Specifies the Porter Duff compositing method in which two pixels (source and destination) may contribute to the final color of the pixel. **/ export declare enum CompositeMode { /** * No regions are enabled. **/ Clear = 0, /** * Only the source will be present. **/ Copy = 1, /** * The source is copied to the destination, excluding the transparent pixels. **/ BoundedCopy = 2, /** * Only the destination will be present. **/ Destination = 3, /** * Source is placed over the destination. **/ SourceOver = 4, /** * Destination is placed over the source. **/ DestinationOver = 5, /** * The source that overlaps the destination, replaces the destination. **/ SourceIn = 6, /** * Destination which overlaps the source, replaces the source. **/ DestinationIn = 7, /** * Source is placed, where it falls outside of the destination. **/ SourceOut = 8, /** * Destination is placed, where it falls outside of the source. **/ DestinationOut = 9, /** * Source which overlaps the destination, replaces the destination. Destination is placed elsewhere. **/ SourceAtop = 10, /** * Destination which overlaps the source replaces the source. Source is placed elsewhere. **/ DestinationAtop = 11, /** * The non-overlapping regions of source and destination are combined. **/ XOR = 12, /** * Display the sum of the source image and destination image. **/ Lighter = 13 } /** * Specifies values that indicate whether a compression operation emphasizes speed or compression size. **/ export declare enum CompressionLevel { /** * The compression operation should optimally balance compression speed and output size. **/ Optimal = 0, /** * The compression operation should complete as quickly as possible, even if the result is not optimally compressed. **/ Fastest = 1, /** * No compression should be performed. **/ NoCompression = 2, /** * The compression operation should create output as small as possible, even if the operation takes a longer time to complete. **/ SmallestSize = 3 } /** * Identifies the type of the drawing context. **/ export declare enum ContextType { /** * Identifies the BmpContext object. **/ BMP = 0, /** * Identifies the PdfContext object. **/ PDF = 1, /** * Identifies the SvgContext object. **/ SVG = 2 } /** * Specifies the method of two-dimensional error diffusion dithering. **/ export declare enum DitheringMethod { /** * Don't spread the error to neighbor pixels. **/ NoDithering = 0, /** * Floyd-Steinberg dithering. **/ FloydSteinberg = 1, /** * Jarvis, Judice, and Ninke filter. **/ JarvisJudiceNinke = 2, /** * Stucki dithering. **/ Stucki = 3, /** * Bill Atkinson's formula. **/ Atkinson = 4, /** * Burkes dithering. **/ Burkes = 5, /** * Frankie Sierra's dithering algorithm (sometimes called Sierra-3). **/ Sierra = 6, /** * Simplified two-row Sierra algorithm. **/ TwoRowSierra = 7, /** * Sierra Lite dithering. **/ SierraLite = 8 } /** * Specifies the style of dashed lines drawn with a Pen object. **/ export declare enum DashStyle { /** * A solid line. **/ Solid = 0, /** * A line consisting of dashes. **/ Dash = 1, /** * A line consisting of dots. **/ Dot = 2, /** * A line consisting of a repeating pattern of dash-dot. **/ DashDot = 3, /** * A line consisting of a repeating pattern of dash-dot-dot. **/ DashDotDot = 4, /** * User-defined custom dash style. **/ Custom = 5 } /** * Defines possible encryption algorithms. **/ export declare enum EncryptionAlgorithm { /** * The RC4 algorithm. **/ RC4 = 0, /** * The AES algorithm. **/ AES = 1 } /** * Specifies how the interior of a closed path is filled. **/ export declare enum FillMode { /** * The alternate fill mode. **/ Alternate = 0, /** * The winding fill mode. **/ Winding = 1 } /** * Specifies the flip and rotate transformations. **/ export declare enum FlipRotateAction { /** * No transformation. **/ None = 0, /** * A clockwise rotation of 90 degrees. **/ Rotate90 = 1, /** * A clockwise rotation of 180 degrees. **/ Rotate180 = 2, /** * A counter-clockwise rotation of 90 degrees. **/ Rotate270 = 3, /** * A horizontal flip. Pixels are flipped around the vertical y-axis. **/ FlipHorizontal = 4, /** * A horizontal flip, then a clockwise rotation of 90 degrees. **/ FlipHRotate90 = 5, /** * A horizontal flip, then a counter-clockwise rotation of 90 degrees. **/ FlipHRotate270 = 6, /** * A vertical flip. Pixels are flipped around the horizontal x-axis. **/ FlipVertical = 7 } /** * Indicates the direction of how lines of text are placed relative to one another. **/ export declare enum FlowDirection { /** * Specifies that horizontal text lines are placed from top to bottom. **/ HorizontalTopToBottom = 0, /** * Specifies that vertical text lines are placed from right to left. **/ VerticalRightToLeft = 1, /** * Specifies that vertical text lines are placed from left to right. **/ VerticalLeftToRight = 2 } /** * Specifies the available font embedding modes. **/ export declare enum FontEmbedMode { /** * Fonts are not embedded. **/ NotEmbed = 0, /** * A subset of the fonts are embedded. **/ EmbedSubset = 1, /** * The whole fonts are embedded. **/ EmbedFullFont = 2, /** * A subset of fonts are embedded for static content. **/ EmbedSubsetNoForms = 3 } /** * Restricts the set of available fallback fonts for the Layout instance. **/ export declare enum FontFallbackScope { /** * Search fallback fonts in the custom font collection, then search in the default font collection. **/ Default = 0, /** * Search fallback fonts in the custom font collection only, if any specified. **/ FontCollectionOnly = 1, /** * Do not search for the font fallbacks. **/ None = 2 } /** * The mapping mode for the pixels outside of the border in the Gaussian blur effect. **/ export declare enum GaussianBlurBorderMode { /** * Blend the border pixels with surrounding pixels, if possible, or with borderColor if the border is at the edge of the source image. **/ Default = 0, /** * Always blend the border pixels with borderColor. **/ BorderColor = 1, /** * Repeat the very border pixel color: aaaaaa|abcdefgh|hhhhhh. **/ RepeatEdge = 2, /** * Take colors from the opposite edge: cdefgh|abcdefgh|abcdef. **/ Wrap = 3, /** * Mirror the last few border pixels: fedcba|abcdefgh|hgfedcb. **/ Mirror = 4, /** * Bounce off the border: gfedcb|abcdefgh|gfedcb. **/ Bounce = 5 } /** * Specifies the preferred glyph widths (generally used in CJKV fonts). **/ export declare enum GlyphWidths { /** * Don't apply any special glyph-width features. **/ Default = 0, /** * Replace glyphs set on uniform widths (typically full or half-em) with proportionally spaced glyphs using the 'pwid' font feature. **/ ProportionalWidths = 1, /** * Respace glyphs designed to be set on full-em widths, fitting them onto individual (more or less proportional) horizontal widths ('palt'). **/ ProportionalAlternateWidths = 2, /** * Replace glyphs set on other widths with glyphs set on full (usually em) widths using the 'fwid' font feature. **/ FullWidths = 3, /** * Replace glyphs other than half an em, with glyphs on half-em (en) widths using the 'hwid' font feature. **/ HalfWidths = 4, /** * Replace glyphs designed to be set on full-em widths, fitting them onto half-em widths using the 'halt' font feature. **/ AlternateHalfWidths = 5, /** * Replace glyphs on other widths with glyphs set on widths of one third of an em using the 'twid' font feature. **/ ThirdWidths = 6, /** * Replace glyphs on other widths with glyphs set on widths of one quarter of an em using the 'qwid' font feature. **/ QuarterWidths = 7 } /** * Specifies the standard used for converting full-color image to monochromatic gray. **/ export declare enum GrayscaleStandard { /** * Corresponds to the standard color TV and video systems such as PAL and NTSC. **/ BT601 = 0, /** * Corresponds to the ITU-R BT.709 standard used for HDTV. **/ BT709 = 1, /** * Corresponds to the ITU-R BT.2100 standard for HDR television. **/ BT2100 = 2 } /** * Enumerates the different patterns available for {@link HatchBrush} objects. **/ export declare enum HatchStyle { /** * Horizontal stripes: Alternating horizontal lines **/ AlternatingHorizontalLines = 0, /** * Vertical stripes: Alternating vertical lines **/ AlternatingVerticalLines = 1, /** * Stripes: Backslashes **/ Backslashes = 2, /** * A pattern of backward diagonal lines. **/ BackwardDiagonal = 3, /** * A pattern of thick diagonal lines. **/ DarkDiagonal = 4, /** * Diagonal stripes: Dark downward **/ DarkDownwardDiagonalStripes = 5, /** * Horizontal stripes: Dark **/ DarkHorizontalStripes = 6, /** * Diagonal stripes: Dark upward **/ DarkUpwardDiagonalStripes = 7, /** * Vertical stripes: Dark **/ DarkVerticalStripes = 8, /** * A pattern of diagonal lines. **/ Diagonal = 9, /** * Diagonal brick **/ DiagonalBrick = 10, /** * Divot **/ Divot = 11, /** * Dotted: 5% **/ Dotted05 = 12, /** * Dotted: 10% **/ Dotted10 = 13, /** * Dotted: 20% **/ Dotted20 = 14, /** * Dotted: 25% **/ Dotted25 = 15, /** * Dotted: 30% **/ Dotted30 = 16, /** * Dotted: 40% **/ Dotted40 = 17, /** * Dotted: 50% **/ Dotted50 = 18, /** * Dotted: 60% **/ Dotted60 = 19, /** * Dotted: 70% **/ Dotted70 = 20, /** * Dotted: 75% **/ Dotted75 = 21, /** * Dotted: 80% **/ Dotted80 = 22, /** * Dotted: 90% **/ Dotted90 = 23, /** * Dotted diamond grid **/ DottedDiamondGrid = 24, /** * Dotted grid **/ DottedGrid = 25, /** * A pattern of forward diagonal lines. **/ ForwardDiagonal = 26, /** * A pattern of horizontal lines. **/ Horizontal = 27, /** * Horizontal brick **/ HorizontalBrick = 28, /** * Large checker board **/ LargeCheckerBoard = 29, /** * Large confetti **/ LargeConfetti = 30, /** * Large grid **/ LargeGrid = 31, /** * A pattern of thin backward diagonal lines. **/ LightBackwardDiagonal = 32, /** * A pattern of thin diagonal lines. **/ LightDiagonal = 33, /** * Diagonal stripes: Light downward **/ LightDownwardDiagonalStripes = 34, /** * A pattern of thin forward diagonal lines. **/ LightForwardDiagonal = 35, /** * A pattern of thin vertical and horizontal lines. **/ LightGrid = 36, /** * A pattern of thin horizontal lines. **/ LightHorizontal = 37, /** * Horizontal stripes: Light **/ LightHorizontalStripes = 38, /** * Diagonal stripes: Light upward **/ LightUpwardDiagonalStripes = 39, /** * A pattern of thin vertical lines. **/ LightVertical = 40, /** * Vertical stripes: Light **/ LightVerticalStripes = 41, /** * Horizontal stripes: Narrow **/ NarrowHorizontalStripes = 42, /** * Vertical stripes: Narrow **/ NarrowVerticalStripes = 43, /** * Outlined diamond grid **/ OutlinedDiamondGrid = 44, /** * Specifies a 12-percent hatch. The ratio of foreground color to background color is 12:88. **/ Percent12 = 45, /** * Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75. **/ Percent25 = 46, /** * Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50. **/ Percent50 = 47, /** * Specifies a 6-percent hatch. The ratio of foreground color to background color is 6:94. **/ Percent6 = 48, /** * Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25. **/ Percent75 = 49, /** * Plaid **/ Plaid = 50, /** * Shingle **/ Shingle = 51, /** * Stripes: Slashes **/ Slashes = 52, /** * Small checker board **/ SmallCheckerBoard = 53, /** * Small confetti **/ SmallConfetti = 54, /** * Small grid **/ SmallGrid = 55, /** * Solid diamond grid **/ SolidDiamondGrid = 56, /** * A pattern of rare thin backward diagonal lines. **/ SparseBackwardDiagonal = 57, /** * A pattern of rare thin forward diagonal lines. **/ SparseForwardDiagonal = 58, /** * A pattern of rare thin horizontal lines. **/ SparseHorizontal = 59, /** * A pattern of rare thin vertical lines. **/ SparseVertical = 60, /** * Sphere **/ Sphere = 61, /** * Trellis **/ Trellis = 62, /** * A pattern of vertical lines. **/ Vertical = 63, /** * Wave **/ Wave = 64, /** * Weave **/ Weave = 65, /** * Diagonal stripes: Wide downward **/ WideDownwardDiagonalStripes = 66, /** * Diagonal stripes: Wide upward **/ WideUpwardDiagonalStripes = 67, /** * Zig zag **/ ZigZag = 68 } /** * Specifies the horizontal alignment of images. **/ export declare enum ImageAlignHorz { /** * The image is left-aligned. **/ Left = 0, /** * The image is centered horizontally. **/ Center = 1, /** * The image is right-aligned. **/ Right = 2 } /** * Specifies the vertical alignment of images. **/ export declare enum ImageAlignVert { /** * The image is top-aligned. **/ Top = 0, /** * The image is centered vertically. **/ Center = 1, /** * The image is bottom-aligned. **/ Bottom = 2 } /** * Provides a hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing. **/ export declare enum ImageRendering { /** * Indicates that the user agent shall make appropriate tradeoffs to balance speed and quality, but quality shall be given more importance than speed. **/ Auto = 0, /** * Indicates that the user agent shall emphasize quality over rendering speed. **/ OptimizeQuality = 1, /** * Indicates that the user agent shall emphasize rendering speed over quality. **/ OptimizeSpeed = 2 } /** * Identifies the type of the image. **/ export declare enum ImageType { /** * The image is in JPEG format. **/ JPEG = 0, /** * The image is in PNG format. **/ PNG = 1 } /** * Specifies the sampling or filtering mode to use when scaling an image. **/ export declare enum InterpolationMode { /** * The output pixel is assigned the value of the pixel that the point falls within. No other pixels are considered. **/ NearestNeighbor = 0, /** * The output pixel values are computed as a weighted average of the nearest four pixels in a 2x2 grid. **/ Linear = 1, /** * Destination pixel values are computed as a weighted average of the nearest sixteen pixels in a 4x4 grid. **/ Cubic = 2, /** * Destination pixel values are computed as a weighted average of the all the pixels that map to the new pixel. **/ Downscale = 3 } /** * Specifies the line breaking algorithm. **/ export declare enum LineBreakingRules { /** * Break lines in accordance with the Unicode line breaking algorithm (see a Unicode Standard Annex #14). **/ Unicode = 0, /** * Simplified line breaking rules similar to those of MS Excel. **/ Simplified = 1 } /** * Specifies how outlines are handled when merging two documents. **/ export declare enum OutlineMergeMode { /** * Outlines from the source document are ignored. **/ None = 0, /** * All outlines from the source document will be copied to the destination document. **/ All = 1, /** * Only outlines linked with merged objects will be copied to the destination document. **/ LinkedWithMergedObjects = 2 } /** * Specifies the alignment of paragraph text along the flow direction axis. **/ export declare enum ParagraphAlignment { /** * The top of the text flow is aligned to the top edge of the layout box. **/ Near = 0, /** * The bottom of the text flow is aligned to the bottom edge of the layout box. **/ Far = 1, /** * The center of the text flow is aligned to the center of the layout box. **/ Center = 2, /** * The lines of text are justified between the top and bottom edges of the layout box. **/ Justified = 3, /** * Same as "Justified" except the case with a single line which is centered. **/ Distributed = 4 } /** * Defines the PDF conformance levels. **/ export declare enum PdfAConformanceLevel { /** * Without PDF/A conformance. **/ None = 0, /** * PDF/A 1a conformance level. **/ PdfA1a = 1, /** * PDF/A 1b conformance level. **/ PdfA1b = 2, /** * PDF/A 2a conformance level. **/ PdfA2a = 3, /** * PDF/A 2b conformance level. **/ PdfA2b = 4, /** * PDF/A 2u conformance level. **/ PdfA2u = 5, /** * PDF/A 3a conformance level. **/ PdfA3a = 6, /** * PDF/A 3b conformance level. **/ PdfA3b = 7, /** * PDF/A 3u conformance level. **/ PdfA3u = 8 } /** * Defines methods of mixing source and destination colors when drawing. **/ export declare enum PdfBlendMode { /** * No blending takes place. The source color replaces the destination color. **/ Normal = 0, /** * The source color is multiplied by the destination color and replaces the destination. **/ Multiply = 1, /** * Multiplies the complements of the backdrop and source color values, then complements the result. **/ Screen = 2, /** * Multiplies or screens the colors, depending on the backdrop color value. **/ Overlay = 3, /** * Selects the darker of the backdrop and source colors. **/ Darken = 4, /** * Selects the lighter of the backdrop and source colors. **/ Lighten = 5, /** * Brightens the backdrop color to reflect the source color. **/ ColorDodge = 6, /** * Darkens the backdrop color to reflect the source color. **/ ColorBurn = 7, /** * Multiplies or screens the colors, depending on the source color value. **/ HardLight = 8, /** * Darkens or lightens the colors, depending on the source color value. **/ SoftLight = 9, /** * Subtracts the darker of the two constituent colors from the lighter color. **/ Difference = 10, /** * Produces an effect similar to that of the Difference mode but lower in contrast. **/ Exclusion = 11 } /** * Specifies available formats used to represent a font in a PDF document. * "Type0AutoOneByteEncoding" - * "Type0IdentityEncoding" - **/ export declare enum PdfFontFormat { /** * The font is saved as one or more Type0 PDF fonts, where each character is encoded by one byte. **/ Type0AutoOneByteEncoding = 0, /** * The font is saved as a single Type0 font with Identity encoding, where each character is encoded with two bytes. **/ Type0IdentityEncoding = 1 } /** * Defines how to process existing PDF streams in a loaded document. **/ export declare enum PdfStreamHandling { /** * Copy the content of the original stream to the output as is without any changes. **/ Copy = 0, /** * Decompress existing PDF streams and re-compress them using PdfDocumentOptions.compressionLevel. **/ UseCompressionLevel = 1, /** * Copy existing streams or re-compress them to achieve optimal (minimal) size. **/ MinimizeSize = 2 } /** * Describes the shape at the end of a line or segment. **/ export declare enum PenLineCap { /** * A cap that does not extend past the last point of the line. **/ Flat = 0, /** * A semicircle that has a diameter equal to the line thickness. **/ Round = 1, /** * Half of a square that has a length equal to the line thickness. **/ Square = 2 } /** * Describes the shape that joins two lines or segments. **/ export declare enum PenLineJoin { /** * Beveled vertices. **/ Bevel = 0, /** * Regular angular vertices. **/ Miter = 1, /** * Rounded vertices. **/ Round = 2 } /** * Defines the modes of saving a PDF. **/ export declare enum SaveMode { /** * Default mode. In this mode, the PDF is not linearized and incremental update is not used. **/ Default = 0, /** * The document is saved using incremental update. **/ IncrementalUpdate = 2 } /** * Provides a hint to the implementation about what tradeoffs to make as it renders vector graphics elements and basic shapes. **/ export declare enum ShapeRendering { /** * Indicates that the user agent shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edges. **/ Auto = 0, /** * Indicates that the user agent shall emphasize rendering speed over geometric precision and crisp edges. **/ OptimizeSpeed = 1, /** * Indicates that the user agent shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision. **/ CrispEdges = 2, /** * Indicates that the user agent shall emphasize geometric precision over speed and crisp edges. **/ GeometricPrecision = 3 } /** * Describes the result of the {@link Layout#split} method. **/ export declare enum SplitResult { /** * The text split successfully between instances of Layout. **/ Split = 0, /** * All text fits into the original Layout. **/ FitAll = 1, /** * Unable to split the text without leaving the first part empty. **/ CannotSplit = 2 } /** * Indentifies a standard PDF font. **/ export declare enum StandardPdfFont { /** * Represents the standard Helvetica font. **/ Helvetica = 0, /** * Represents the standard Helvetica Bold font. **/ HelveticaBold = 1, /** * Represents the standard Helvetica Italic font. **/ HelveticaItalic = 2, /** * Represents the standard Helvetica Bold Italic font. **/ HelveticaBoldItalic = 3, /** * Represents the standard Courier font. **/ Courier = 4, /** * Represents the standard Courier Bold font. **/ CourierBold = 5, /** * Represents the standard Courier Italic font. **/ CourierItalic = 6, /** * Represents the standard Courier Bold Italic font. **/ CourierBoldItalic = 7, /** * Represents the standard Times font. **/ Times = 8, /** * Represents the standard Times Bold font. **/ TimesBold = 9, /** * Represents the standard Times Italic font. **/ TimesItalic = 10, /** * Represents the standard Times Bold Italic font. **/ TimesBoldItalic = 11, /** * Represents the standard Zapf Dingbats font. **/ ZapfDingbats = 12, /** * Represents the standard Symbol font. **/ Symbol = 13 } /** * Defines the direction that an elliptical arc is drawn. **/ export declare enum SweepDirection { /** * Arcs are drawn in a counterclockwise (negative-angle) direction. **/ CounterClockwise = 0, /** * Arcs are drawn in a clockwise (positive-angle) direction. **/ Clockwise = 1 } /** * Specifies the tab stop alignment options. **/ export declare enum TabStopAlignment { /** * Text is aligned to the right of the tab stop. **/ Leading = 0, /** * Text is aligned to the left of the tab stop and extends to the left. **/ Trailing = 1, /** * Text is centered relative to the tab stop. **/ Center = 2, /** * Characters are aligned to the left of a specified separator. **/ Separator = 3 } /** * Specifies the type of the leader line displayed under the tab character. **/ export declare enum TabStopLeader { /** * No tab stop leader. **/ None = 0, /** * Dotted leader line. **/ Dot = 1, /** * Dashed tab stop leader line. **/ Hyphen = 2, /** * Solid leader line. **/ Underline = 3, /** * Middle dot leader line. **/ MiddleDot = 4 } /** * Specifies the alignment of paragraph text along the reading direction axis. **/ export declare enum TextAlignment { /** * The leading edge of the paragraph text is aligned to the leading edge of the layout box. **/ Leading = 0, /** * The trailing edge of the paragraph text is aligned to the trailing edge of the layout box. **/ Trailing = 1, /** * The center of the paragraph text is aligned to the center of the layout box. **/ Center = 2, /** * Aligns text to the leading side, and also justifies text to fill the lines. **/ Justified = 3, /** * Justifies all text lines regardless of paragraph breaks. **/ Distributed = 4 } /** * Specifies the rules for text extension when text is justified. **/ export declare enum TextExtensionStrategy { /** * Text extension is based on justifiedSpaceExtension and justifiedTextExtension properties. **/ Default = 0, /** * Same as "Default". **/ Normal = 1, /** * Allow text extension for wide characters and white spaces (not for narrow characters). **/ EastAsianExcel = 2, /** * Allow text extension for white spaces only. **/ Excel = 3 } /** * Specifies the text granularity used to trim text overflowing the layout box. **/ export declare enum TrimmingGranularity { /** * No trimming occurs. Text flows beyond the layout width or height. **/ None = 0, /** * Trimming occurs at a character cluster boundary. **/ Character = 1, /** * Trimming occurs at a word boundary. **/ Word = 2 } /** * Defines how to use object streams when saving a PDF document. **/ export declare enum UseObjectStreams { /** * Do not use object streams. **/ None = 0, /** * Use a single object stream for the entire document. Enabling this option can significantly reduce the PDF file size, though it may introduce a delay when opening the PDF in a viewer. **/ Single = 1, /** * Uses multiple object streams. This may slightly increase the file size compared to "Single", but the PDF will open without delay in a viewer. **/ Multiple = 2 } /** * Defines the possible document view modes. **/ export declare enum ViewStateMode { /** * The document is being viewed. **/ View = 0, /** * The document is being printed. **/ Print = 1, /** * The document is being exported. **/ Export = 2 } /** * Specifies the word breaking algorithm. **/ export declare enum WordBoundaryRules { /** * Set word boundaries in accordance with the Unicode text segmentation algorithm (see a Unicode Standard Annex #29). **/ Unicode = 0, /** * Simplified word breaking rules not allowing to break words on any characters other than white spaces. **/ Simplified = 1 } /** * Specifies how text lines are broken to avoid text overflowing the layout box. **/ export declare enum WrapMode { /** * Text lines are broken in accordance with the Unicode line breaking algorithm (see Unicode Standard Annex #14). **/ WordWrap = 0, /** * Text lines can be broken at the grapheme cluster boundaries (see Unicode Standard Annex #29). **/ CharWrap = 1, /** * Text lines can not be broken. **/ NoWrap = 2 } /** * Represents a character encoding. **/ export declare enum XmlEncoding { /** * Represents UTF-8 encoding. **/ UTF8 = 0, /** * Represents UTF-16 big-endian encoding. **/ UTF16BE = 1, /** * Represents UTF-16 little-endian encoding. **/ UTF16LE = 2 }