Class PreflightConstants

java.lang.Object
org.apache.pdfbox.preflight.PreflightConstants

public class PreflightConstants extends Object
This interface provide a set of constants which identify validation error.
  • Field Details

    • FORMAT_PDF_A1B

      public static final String FORMAT_PDF_A1B
      See Also:
    • FORMAT_PDF_A1A

      public static final String FORMAT_PDF_A1A
      See Also:
    • EDOC_TOKEN_MGR_ERROR

      public static final int EDOC_TOKEN_MGR_ERROR
      See Also:
    • EDOC_TOKEN_MGR_ERROR_TAG

      public static final String EDOC_TOKEN_MGR_ERROR_TAG
      See Also:
    • MAX_DICT_ENTRIES

      public static final int MAX_DICT_ENTRIES
      See Also:
    • MAX_ARRAY_ELEMENTS

      public static final int MAX_ARRAY_ELEMENTS
      See Also:
    • MAX_NAME_SIZE

      public static final int MAX_NAME_SIZE
      See Also:
    • MAX_STRING_LENGTH

      public static final int MAX_STRING_LENGTH
      See Also:
    • MAX_INDIRECT_OBJ

      public static final int MAX_INDIRECT_OBJ
      See Also:
    • MAX_CID

      public static final int MAX_CID
      See Also:
    • MAX_GRAPHIC_STATES

      public static final int MAX_GRAPHIC_STATES
      See Also:
    • MAX_DEVICE_N_LIMIT

      public static final int MAX_DEVICE_N_LIMIT
      See Also:
    • MAX_POSITIVE_FLOAT

      public static final float MAX_POSITIVE_FLOAT
      See Also:
    • MAX_NEGATIVE_FLOAT

      public static final float MAX_NEGATIVE_FLOAT
      See Also:
    • FONT_DICTIONARY_VALUE_COMPOSITE

      public static final String FONT_DICTIONARY_VALUE_COMPOSITE
      See Also:
    • FONT_DICTIONARY_VALUE_TRUETYPE

      public static final String FONT_DICTIONARY_VALUE_TRUETYPE
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE1

      public static final String FONT_DICTIONARY_VALUE_TYPE1
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE1C

      public static final String FONT_DICTIONARY_VALUE_TYPE1C
      See Also:
    • FONT_DICTIONARY_VALUE_MMTYPE

      public static final String FONT_DICTIONARY_VALUE_MMTYPE
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE3

      public static final String FONT_DICTIONARY_VALUE_TYPE3
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE0

      public static final String FONT_DICTIONARY_VALUE_TYPE0
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE0C

      public static final String FONT_DICTIONARY_VALUE_TYPE0C
      See Also:
    • FONT_DICTIONARY_VALUE_TYPE2

      public static final String FONT_DICTIONARY_VALUE_TYPE2
      See Also:
    • FONT_DICTIONARY_VALUE_CMAP_IDENTITY_H

      public static final String FONT_DICTIONARY_VALUE_CMAP_IDENTITY_H
      See Also:
    • FONT_DICTIONARY_VALUE_CMAP_IDENTITY_V

      public static final String FONT_DICTIONARY_VALUE_CMAP_IDENTITY_V
      See Also:
    • FONT_DICTIONARY_DEFAULT_CMAP_WMODE

      public static final int FONT_DICTIONARY_DEFAULT_CMAP_WMODE
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_LZW

      public static final String STREAM_DICTIONARY_VALUE_FILTER_LZW
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_ASCII_HEX

      public static final String STREAM_DICTIONARY_VALUE_FILTER_ASCII_HEX
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_ASCII_85

      public static final String STREAM_DICTIONARY_VALUE_FILTER_ASCII_85
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_RUN

      public static final String STREAM_DICTIONARY_VALUE_FILTER_RUN
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_CCITTFF

      public static final String STREAM_DICTIONARY_VALUE_FILTER_CCITTFF
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_JBIG

      public static final String STREAM_DICTIONARY_VALUE_FILTER_JBIG
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_DCT

      public static final String STREAM_DICTIONARY_VALUE_FILTER_DCT
      See Also:
    • STREAM_DICTIONARY_VALUE_FILTER_FLATE_DECODE

      public static final String STREAM_DICTIONARY_VALUE_FILTER_FLATE_DECODE
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_LZW

      public static final String INLINE_DICTIONARY_VALUE_FILTER_LZW
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_ASCII_HEX

      public static final String INLINE_DICTIONARY_VALUE_FILTER_ASCII_HEX
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_ASCII_85

      public static final String INLINE_DICTIONARY_VALUE_FILTER_ASCII_85
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_RUN

      public static final String INLINE_DICTIONARY_VALUE_FILTER_RUN
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_CCITTFF

      public static final String INLINE_DICTIONARY_VALUE_FILTER_CCITTFF
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_DCT

      public static final String INLINE_DICTIONARY_VALUE_FILTER_DCT
      See Also:
    • INLINE_DICTIONARY_VALUE_FILTER_FLATE_DECODE

      public static final String INLINE_DICTIONARY_VALUE_FILTER_FLATE_DECODE
      See Also:
    • ANNOT_DICTIONARY_VALUE_SUBTYPE_PRINTERMARK

      public static final String ANNOT_DICTIONARY_VALUE_SUBTYPE_PRINTERMARK
      See Also:
    • ANNOT_DICTIONARY_VALUE_SUBTYPE_TRAPNET

      public static final String ANNOT_DICTIONARY_VALUE_SUBTYPE_TRAPNET
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_NOOP

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_NOOP
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_SETSTATE

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_SETSTATE
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_NAMED_NEXT

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_NAMED_NEXT
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_NAMED_PREV

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_NAMED_PREV
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_NAMED_FIRST

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_NAMED_FIRST
      See Also:
    • ACTION_DICTIONARY_VALUE_ATYPE_NAMED_LAST

      public static final String ACTION_DICTIONARY_VALUE_ATYPE_NAMED_LAST
      See Also:
    • ERROR_UNKNOWN_ERROR

      public static final String ERROR_UNKNOWN_ERROR
      Error code uses by the Validator when there is an error without error code.
      See Also:
    • ERROR_SYNTAX_MAIN

      public static final String ERROR_SYNTAX_MAIN
      Error code for syntax error
      See Also:
    • ERROR_SYNTAX_COMMON

      public static final String ERROR_SYNTAX_COMMON
      See Also:
    • ERROR_SYNTAX_TOO_MANY_ENTRIES

      public static final String ERROR_SYNTAX_TOO_MANY_ENTRIES
      Too many entries in a dictionary object
      See Also:
    • ERROR_SYNTAX_ARRAY_TOO_LONG

      public static final String ERROR_SYNTAX_ARRAY_TOO_LONG
      Too many element in an array object
      See Also:
    • ERROR_SYNTAX_NAME_TOO_LONG

      public static final String ERROR_SYNTAX_NAME_TOO_LONG
      The name length is too long
      See Also:
    • ERROR_SYNTAX_LITERAL_TOO_LONG

      public static final String ERROR_SYNTAX_LITERAL_TOO_LONG
      The literal string is too long
      See Also:
    • ERROR_SYNTAX_HEXA_STRING_TOO_LONG

      public static final String ERROR_SYNTAX_HEXA_STRING_TOO_LONG
      The hexa string is too long
      See Also:
    • ERROR_SYNTAX_NUMERIC_RANGE

      public static final String ERROR_SYNTAX_NUMERIC_RANGE
      The number is out of Range ( ex : greater than 2^31-1)
      See Also:
    • ERROR_SYNTAX_DICTIONARY_KEY_INVALID

      public static final String ERROR_SYNTAX_DICTIONARY_KEY_INVALID
      A dictionary key isn't a name
      See Also:
    • ERROR_SYNTAX_LANG_NOT_RFC1766

      public static final String ERROR_SYNTAX_LANG_NOT_RFC1766
      The language declared doesn't match with the RFC1766
      See Also:
    • ERROR_SYNTAX_INDIRECT_OBJ_RANGE

      public static final String ERROR_SYNTAX_INDIRECT_OBJ_RANGE
      There are too many objects
      See Also:
    • ERROR_SYNTAX_CID_RANGE

      public static final String ERROR_SYNTAX_CID_RANGE
      CID too long
      See Also:
    • ERROR_SYNTAX_HEXA_STRING_EVEN_NUMBER

      public static final String ERROR_SYNTAX_HEXA_STRING_EVEN_NUMBER
      Hexa string shall contain even number of non white space char
      See Also:
    • ERROR_SYNTAX_HEXA_STRING_INVALID

      public static final String ERROR_SYNTAX_HEXA_STRING_INVALID
      Hexa string contain non hexadecimal characters
      See Also:
    • ERROR_SYNTAX_MISSING_OFFSET

      public static final String ERROR_SYNTAX_MISSING_OFFSET
      An object is missing from the document
      See Also:
    • ERROR_SYNTAX_INVALID_OFFSET

      public static final String ERROR_SYNTAX_INVALID_OFFSET
      An object has an invalid offset
      See Also:
    • ERROR_SYNTAX_HEADER

      public static final String ERROR_SYNTAX_HEADER
      See Also:
    • ERROR_SYNTAX_HEADER_FIRST_CHAR

      public static final String ERROR_SYNTAX_HEADER_FIRST_CHAR
      See Also:
    • ERROR_SYNTAX_HEADER_FILE_TYPE

      public static final String ERROR_SYNTAX_HEADER_FILE_TYPE
      See Also:
    • ERROR_SYNTAX_BODY

      public static final String ERROR_SYNTAX_BODY
      Common error about body syntax
      See Also:
    • ERROR_SYNTAX_OBJ_DELIMITER

      public static final String ERROR_SYNTAX_OBJ_DELIMITER
      Error on the object delimiters (obj / endobj)
      See Also:
    • ERROR_SYNTAX_STREAM_DELIMITER

      public static final String ERROR_SYNTAX_STREAM_DELIMITER
      Error on the stream delimiters (stream / endstream)
      See Also:
    • ERROR_SYNTAX_DICT_INVALID

      public static final String ERROR_SYNTAX_DICT_INVALID
      Required fields are missing from the dictionary
      See Also:
    • ERROR_SYNTAX_STREAM_LENGTH_MISSING

      public static final String ERROR_SYNTAX_STREAM_LENGTH_MISSING
      The length entry is missing from the stream dictionary
      See Also:
    • ERROR_SYNTAX_STREAM_LENGTH_INVALID

      public static final String ERROR_SYNTAX_STREAM_LENGTH_INVALID
      The length of the stream dictionary and the stream length is inconsistent
      See Also:
    • ERROR_SYNTAX_STREAM_FX_KEYS

      public static final String ERROR_SYNTAX_STREAM_FX_KEYS
      F or/and FFilter or/and FDecodeParms are present in a stream dictionary
      See Also:
    • ERROR_SYNTAX_STREAM_INVALID_FILTER

      public static final String ERROR_SYNTAX_STREAM_INVALID_FILTER
      The stream uses an invalid filter (The LZW)
      See Also:
    • ERROR_SYNTAX_CONTENT_STREAM_INVALID

      public static final String ERROR_SYNTAX_CONTENT_STREAM_INVALID
      The content stream has some syntax errors
      See Also:
    • ERROR_SYNTAX_EMBEDDED_FILES

      public static final String ERROR_SYNTAX_EMBEDDED_FILES
      EmbeddedFile entry is present in a FileSpecification dictionary
      See Also:
    • ERROR_SYNTAX_CONTENT_STREAM_UNSUPPORTED_OP

      public static final String ERROR_SYNTAX_CONTENT_STREAM_UNSUPPORTED_OP
      The content stream uses an unsupported operator
      See Also:
    • ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT

      public static final String ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT
      The content stream contains an invalid argument for the operator
      See Also:
    • ERROR_SYNTAX_STREAM_UNDEFINED_FILTER

      public static final String ERROR_SYNTAX_STREAM_UNDEFINED_FILTER
      The stream uses a filter which isn't defined in the PDF Reference document.
      See Also:
    • ERROR_SYNTAX_STREAM_DAMAGED

      public static final String ERROR_SYNTAX_STREAM_DAMAGED
      The stream can't be processed
      See Also:
    • ERROR_SYNTAX_NOCATALOG

      public static final String ERROR_SYNTAX_NOCATALOG
      There are no catalog dictionary in the PDF File
      See Also:
    • ERROR_SYNTAX_CROSS_REF

      public static final String ERROR_SYNTAX_CROSS_REF
      Common error about the cross ref table
      See Also:
    • ERROR_SYNTAX_TRAILER

      public static final String ERROR_SYNTAX_TRAILER
      Common error about the trailer
      See Also:
    • ERROR_SYNTAX_TRAILER_MISSING_ID

      public static final String ERROR_SYNTAX_TRAILER_MISSING_ID
      ID is missing from the trailer
      See Also:
    • ERROR_SYNTAX_TRAILER_ENCRYPT

      public static final String ERROR_SYNTAX_TRAILER_ENCRYPT
      Encrypt is forbidden
      See Also:
    • ERROR_SYNTAX_TRAILER_TYPE_INVALID

      public static final String ERROR_SYNTAX_TRAILER_TYPE_INVALID
      An trailer entry has an invalid type
      See Also:
    • ERROR_SYNTAX_TRAILER_MISSING_SIZE

      public static final String ERROR_SYNTAX_TRAILER_MISSING_SIZE
      Size is missing from the trailer
      See Also:
    • ERROR_SYNTAX_TRAILER_MISSING_ROOT

      public static final String ERROR_SYNTAX_TRAILER_MISSING_ROOT
      Root is missing from the trailer
      See Also:
    • ERROR_SYNTAX_TRAILER_ID_CONSISTENCY

      public static final String ERROR_SYNTAX_TRAILER_ID_CONSISTENCY
      ID in 1st trailer and the last is different
      See Also:
    • ERROR_SYNTAX_TRAILER_CATALOG_EMBEDDEDFILES

      public static final String ERROR_SYNTAX_TRAILER_CATALOG_EMBEDDEDFILES
      EmbeddedFile entry is present in the Names dictionary
      See Also:
    • ERROR_SYNTAX_TRAILER_CATALOG_OCPROPERTIES

      public static final String ERROR_SYNTAX_TRAILER_CATALOG_OCPROPERTIES
      Optional content is forbidden
      See Also:
    • ERROR_SYNTAX_TRAILER_OUTLINES_INVALID

      public static final String ERROR_SYNTAX_TRAILER_OUTLINES_INVALID
      Errors in the Outlines dictionary
      See Also:
    • ERROR_SYNTAX_TRAILER_EOF

      public static final String ERROR_SYNTAX_TRAILER_EOF
      Last %%EOF sequence is followed by data
      See Also:
    • ERROR_GRAPHIC_MAIN

      public static final String ERROR_GRAPHIC_MAIN
      Main error code for graphical problems
      See Also:
    • ERROR_GRAPHIC_INVALID

      public static final String ERROR_GRAPHIC_INVALID
      See Also:
    • ERROR_GRAPHIC_INVALID_BBOX

      public static final String ERROR_GRAPHIC_INVALID_BBOX
      BBox Entry of a Form XObject is missing or isn't an Array
      See Also:
    • ERROR_GRAPHIC_OUTPUT_INTENT_INVALID_ENTRY

      public static final String ERROR_GRAPHIC_OUTPUT_INTENT_INVALID_ENTRY
      The OutputIntent dictionary is invalid
      See Also:
    • ERROR_GRAPHIC_OUTPUT_INTENT_S_VALUE_INVALID

      public static final String ERROR_GRAPHIC_OUTPUT_INTENT_S_VALUE_INVALID
      The S entry of the OutputIntent isn't GTS_PDFA1
      See Also:
    • ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_INVALID

      public static final String ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_INVALID
      The ICC Profile is invalid
      See Also:
    • ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_MULTIPLE

      public static final String ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_MULTIPLE
      There are more than one ICC Profile
      See Also:
    • ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_TOO_RECENT

      public static final String ERROR_GRAPHIC_OUTPUT_INTENT_ICC_PROFILE_TOO_RECENT
      Profile version is too recent for PDF 1.4 document
      See Also:
    • ERROR_GRAPHIC_MISSING_FIELD

      public static final String ERROR_GRAPHIC_MISSING_FIELD
      See Also:
    • ERROR_GRAPHIC_TOO_MANY_GRAPHIC_STATES

      public static final String ERROR_GRAPHIC_TOO_MANY_GRAPHIC_STATES
      See Also:
    • ERROR_GRAPHIC_MISSING_OBJECT

      public static final String ERROR_GRAPHIC_MISSING_OBJECT
      See Also:
    • ERROR_GRAPHIC_XOBJECT_INVALID_TYPE

      public static final String ERROR_GRAPHIC_XOBJECT_INVALID_TYPE
      See Also:
    • ERROR_GRAPHIC_TRANSPARENCY

      public static final String ERROR_GRAPHIC_TRANSPARENCY
      Main error code for graphical transparency problems
      See Also:
    • ERROR_GRAPHIC_TRANSPARENCY_GROUP

      public static final String ERROR_GRAPHIC_TRANSPARENCY_GROUP
      A Group entry with S = Transparency is used or the S = Null
      See Also:
    • ERROR_GRAPHIC_TRANSPARENCY_SMASK

      public static final String ERROR_GRAPHIC_TRANSPARENCY_SMASK
      A XObject SMask value isn't None
      See Also:
    • ERROR_GRAPHIC_UNEXPECTED_KEY

      public static final String ERROR_GRAPHIC_UNEXPECTED_KEY
      A XObject has an unexpected key defined
      See Also:
    • ERROR_GRAPHIC_UNEXPECTED_VALUE_FOR_KEY

      public static final String ERROR_GRAPHIC_UNEXPECTED_VALUE_FOR_KEY
      A XObject has an unexpected value for a defined key
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE
      An invalid color space is used
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_RGB

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_RGB
      RGB color space used in the PDF file but the DestOutputProfile isn't RGB
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_CMYK

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_CMYK
      CMYK color space used in the PDF file but the DestOutputProfile isn't CMYK
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_MISSING

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_MISSING
      color space used in the PDF file but the DestOutputProfile is missing
      See Also:
    • ERROR_GRAPHIC_INVALID_UNKNOWN_COLOR_SPACE

      public static final String ERROR_GRAPHIC_INVALID_UNKNOWN_COLOR_SPACE
      Unknown ColorSpace
      See Also:
    • ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN

      public static final String ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN
      The pattern color space can't be used
      See Also:
    • ERROR_GRAPHIC_INVALID_PATTERN_DEFINITION

      public static final String ERROR_GRAPHIC_INVALID_PATTERN_DEFINITION
      The pattern is invalid due to missing key or invalid value
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_ALTERNATE

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_ALTERNATE
      alternate color space used in the PDF file but the DestOutputProfile isn't consistent
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_INDEXED

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_INDEXED
      Base ColorSpace in the Indexed color space is invalid
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_FORBIDDEN

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_FORBIDDEN
      ColorSpace is forbidden due to some restriction (ex : Only DeviceXXX are auth in inlined image)
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_TOO_MANY_COMPONENTS_DEVICEN

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_TOO_MANY_COMPONENTS_DEVICEN
      See Also:
    • ERROR_GRAPHIC_INVALID_COLOR_SPACE_ICCBASED

      public static final String ERROR_GRAPHIC_INVALID_COLOR_SPACE_ICCBASED
      ICC Based color space used in the PDF file is invalid
      See Also:
    • ERROR_GRAPHIC_MISSING_COLOR_SPACE_ICCBASED

      public static final String ERROR_GRAPHIC_MISSING_COLOR_SPACE_ICCBASED
      Validation asked on a missing ColorSpace
      See Also:
    • ERROR_FONTS_MAIN

      public static final String ERROR_FONTS_MAIN
      Main error code for font problems
      See Also:
    • ERROR_FONTS_INVALID_DATA

      public static final String ERROR_FONTS_INVALID_DATA
      See Also:
    • ERROR_FONTS_DICTIONARY_INVALID

      public static final String ERROR_FONTS_DICTIONARY_INVALID
      Some mandatory fields are missing from the FONT Dictionary
      See Also:
    • ERROR_FONTS_DESCRIPTOR_INVALID

      public static final String ERROR_FONTS_DESCRIPTOR_INVALID
      Some mandatory fields are missing from the FONT Descriptor Dictionary
      See Also:
    • ERROR_FONTS_FONT_FILEX_INVALID

      public static final String ERROR_FONTS_FONT_FILEX_INVALID
      Error on the "Font File x" in the Font Descriptor (ex : FontFile and FontFile2 are present in the same dictionary)
      See Also:
    • ERROR_FONTS_CHARSET_MISSING_FOR_SUBSET

      public static final String ERROR_FONTS_CHARSET_MISSING_FOR_SUBSET
      Charset declaration is missing in a Type 1 Subset
      See Also:
    • ERROR_FONTS_ENCODING

      public static final String ERROR_FONTS_ENCODING
      Encoding is inconsistent with the Font (ex : Symbolic TrueType mustn't declare encoding)
      See Also:
    • ERROR_FONTS_METRICS

      public static final String ERROR_FONTS_METRICS
      Width array and Font program Width are inconsistent
      See Also:
    • ERROR_FONTS_CIDKEYED_INVALID

      public static final String ERROR_FONTS_CIDKEYED_INVALID
      Required entry in a Composite Font dictionary is missing
      See Also:
    • ERROR_FONTS_CIDKEYED_SYSINFO

      public static final String ERROR_FONTS_CIDKEYED_SYSINFO
      The CIDSystemInfo dictionary is invalid
      See Also:
    • ERROR_FONTS_CIDKEYED_CIDTOGID

      public static final String ERROR_FONTS_CIDKEYED_CIDTOGID
      The CIDToGID is invalid
      See Also:
    • ERROR_FONTS_CIDKEYED_CMAP_INVALID_OR_MISSING

      public static final String ERROR_FONTS_CIDKEYED_CMAP_INVALID_OR_MISSING
      The CMap of the Composite Font is missing or invalid
      See Also:
    • ERROR_FONTS_CIDSET_MISSING_FOR_SUBSET

      public static final String ERROR_FONTS_CIDSET_MISSING_FOR_SUBSET
      The CIDSet entry i mandatory from a subset of composite font
      See Also:
    • ERROR_FONTS_ENCODING_ERROR

      public static final String ERROR_FONTS_ENCODING_ERROR
      The CMap of the Composite Font is missing or invalid
      See Also:
    • ERROR_FONTS_ENCODING_IO

      public static final String ERROR_FONTS_ENCODING_IO
      Encoding entry can't be read due to IOException
      See Also:
    • ERROR_FONTS_UNKNOWN_FONT_TYPE

      public static final String ERROR_FONTS_UNKNOWN_FONT_TYPE
      The font type is unknown
      See Also:
    • ERROR_FONTS_DAMAGED

      public static final String ERROR_FONTS_DAMAGED
      The embedded font is damaged
      See Also:
    • ERROR_FONTS_TYPE1_DAMAGED

      public static final String ERROR_FONTS_TYPE1_DAMAGED
      The embedded Type1 font is damaged
      See Also:
    • ERROR_FONTS_TRUETYPE_DAMAGED

      public static final String ERROR_FONTS_TRUETYPE_DAMAGED
      The embedded TrueType font is damaged
      See Also:
    • ERROR_FONTS_CID_DAMAGED

      public static final String ERROR_FONTS_CID_DAMAGED
      The embedded composite font is damaged
      See Also:
    • ERROR_FONTS_TYPE3_DAMAGED

      public static final String ERROR_FONTS_TYPE3_DAMAGED
      The embedded type 3 font is damaged
      See Also:
    • ERROR_FONTS_CID_CMAP_DAMAGED

      public static final String ERROR_FONTS_CID_CMAP_DAMAGED
      The embedded CID Map is damaged
      See Also:
    • ERROR_FONTS_GLYPH

      public static final String ERROR_FONTS_GLYPH
      Common error for a Glyph problem
      See Also:
    • ERROR_FONTS_GLYPH_MISSING

      public static final String ERROR_FONTS_GLYPH_MISSING
      a glyph is missing
      See Also:
    • ERROR_FONTS_UNKNOWN_FONT_REF

      public static final String ERROR_FONTS_UNKNOWN_FONT_REF
      a glyph is missing
      See Also:
    • ERROR_TRANSPARENCY_MAIN

      public static final String ERROR_TRANSPARENCY_MAIN
      See Also:
    • ERROR_TRANSPARENCY_EXT_GRAPHICAL_STATE

      public static final String ERROR_TRANSPARENCY_EXT_GRAPHICAL_STATE
      Common transparency error
      See Also:
    • ERROR_TRANSPARENCY_EXT_GS_SOFT_MASK

      public static final String ERROR_TRANSPARENCY_EXT_GS_SOFT_MASK
      Soft mask entry is present but is forbidden
      See Also:
    • ERROR_TRANSPARENCY_EXT_GS_CA

      public static final String ERROR_TRANSPARENCY_EXT_GS_CA
      Ca or/and ca entry are present but the value isn't 1.0
      See Also:
    • ERROR_TRANSPARENCY_EXT_GS_BLEND_MODE

      public static final String ERROR_TRANSPARENCY_EXT_GS_BLEND_MODE
      BlendMode value isn't valid (only Normal and Compatible are authorized)
      See Also:
    • ERROR_ANNOT_MAIN

      public static final String ERROR_ANNOT_MAIN
      See Also:
    • ERROR_ANNOT_MISSING_FIELDS

      public static final String ERROR_ANNOT_MISSING_FIELDS
      Common missing field error in annotation dictionary
      See Also:
    • ERROR_ANNOT_MISSING_SUBTYPE

      public static final String ERROR_ANNOT_MISSING_SUBTYPE
      The subtype entry is missing from the annotation dictionary
      See Also:
    • ERROR_ANNOT_MISSING_AP_N_CONTENT

      public static final String ERROR_ANNOT_MISSING_AP_N_CONTENT
      The AP dictionary of the annotation contains forbidden/invalid entries (only the N entry is authorized)
      See Also:
    • ERROR_ANNOT_MISSING_ANNOTATION_DICTIONARY

      public static final String ERROR_ANNOT_MISSING_ANNOTATION_DICTIONARY
      An annotation validation is required but there are no element to validate
      See Also:
    • ERROR_ANNOT_FORBIDDEN_ELEMENT

      public static final String ERROR_ANNOT_FORBIDDEN_ELEMENT
      Common forbidden field error in annotation dictionary
      See Also:
    • ERROR_ANNOT_FORBIDDEN_SUBTYPE

      public static final String ERROR_ANNOT_FORBIDDEN_SUBTYPE
      This type of annotation is forbidden (ex : Movie)
      See Also:
    • ERROR_ANNOT_FORBIDDEN_FLAG

      public static final String ERROR_ANNOT_FORBIDDEN_FLAG
      The annotation uses a flag which is forbidden.
      See Also:
    • ERROR_ANNOT_FORBIDDEN_COLOR

      public static final String ERROR_ANNOT_FORBIDDEN_COLOR
      Annotation uses a Color profile which isn't the same than the profile contained by the OutputIntent
      See Also:
    • ERROR_ANNOT_FORBIDDEN_DEST

      public static final String ERROR_ANNOT_FORBIDDEN_DEST
      Dest entry can't be used if the A element is used too
      See Also:
    • ERROR_ANNOT_FORBIDDEN_AA

      public static final String ERROR_ANNOT_FORBIDDEN_AA
      The AA field is forbidden for the Widget annotation when the PDF is a PDF/A
      See Also:
    • ERROR_ANNOT_CATALOG_FORBIDDEN_AA

      public static final String ERROR_ANNOT_CATALOG_FORBIDDEN_AA
      The AA field is forbidden for the Catalog when the PDF is a PDF/A
      See Also:
    • ERROR_ANNOT_INVALID_ELEMENT

      public static final String ERROR_ANNOT_INVALID_ELEMENT
      Common Invalid field error in annotation dictionary
      See Also:
    • ERROR_ANNOT_INVALID_AP_CONTENT

      public static final String ERROR_ANNOT_INVALID_AP_CONTENT
      The AP dictionary of the annotation contains forbidden/invalid entries (only the N entry is authorized)
      See Also:
    • ERROR_ANNOT_INVALID_CA

      public static final String ERROR_ANNOT_INVALID_CA
      Ca or/and ca entry are present but the value isn't 1.0
      See Also:
    • ERROR_ANNOT_INVALID_DEST

      public static final String ERROR_ANNOT_INVALID_DEST
      Dest entry of an annotation can't be checked due to an IO Exception
      See Also:
    • ERROR_ACTION_MAIN

      public static final String ERROR_ACTION_MAIN
      See Also:
    • ERROR_ACTION_INVALID_ACTIONS

      public static final String ERROR_ACTION_INVALID_ACTIONS
      Common invalid action error
      See Also:
    • ERROR_ACTION_MISING_KEY

      public static final String ERROR_ACTION_MISING_KEY
      A mandatory entry in the action dictionary is missing
      See Also:
    • ERROR_ACTION_INVALID_TYPE

      public static final String ERROR_ACTION_INVALID_TYPE
      Some elements of the annotation dictionary have an invalid type (ex : array instead of Dictionary)
      See Also:
    • ERROR_ACTION_HIDE_H_INVALID

      public static final String ERROR_ACTION_HIDE_H_INVALID
      The H entry of a Hide action is set to true (so some annotation can be hide)
      See Also:
    • ERROR_ACTION_MISSING_ACTION_DICTIONARY

      public static final String ERROR_ACTION_MISSING_ACTION_DICTIONARY
      An action validation is required but there are no element to validate
      See Also:
    • ERROR_ACTION_FORBIDDEN_ACTIONS

      public static final String ERROR_ACTION_FORBIDDEN_ACTIONS
      Common forbidden action error
      See Also:
    • ERROR_ACTION_FORBIDDEN_ACTIONS_NAMED

      public static final String ERROR_ACTION_FORBIDDEN_ACTIONS_NAMED
      Named action other than predefined not allowed
      See Also:
    • ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTION

      public static final String ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTION
      Additional action entry is forbidden
      See Also:
    • ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTIONS_FIELD

      public static final String ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTIONS_FIELD
      Additional action entry is forbidden in a form field object
      See Also:
    • ERROR_ACTION_FORBIDDEN_WIDGET_ACTION_FIELD

      public static final String ERROR_ACTION_FORBIDDEN_WIDGET_ACTION_FIELD
      A widget annotation linked with a form field shall not have any action
      See Also:
    • ERROR_ACTION_FORBIDDEN_ACTIONS_EXPLICITLY_FORBIDDEN

      public static final String ERROR_ACTION_FORBIDDEN_ACTIONS_EXPLICITLY_FORBIDDEN
      An explicitly forbidden action is used in the PDF file.
      See Also:
    • ERROR_ACTION_FORBIDDEN_ACTIONS_UNDEF

      public static final String ERROR_ACTION_FORBIDDEN_ACTIONS_UNDEF
      Actions is rejected if it isn't defined in the PDF Reference Third Edition This is to avoid not consistent file due to new features of the PDF format.
      See Also:
    • ERROR_METADATA_MAIN

      public static final String ERROR_METADATA_MAIN
      Main metadata error code
      See Also:
    • ERROR_METADATA_FORMAT

      public static final String ERROR_METADATA_FORMAT
      Invalid metadata found
      See Also:
    • ERROR_METADATA_PROPERTY_UNKNOWN

      public static final String ERROR_METADATA_PROPERTY_UNKNOWN
      Unknown metadata
      See Also:
    • ERROR_METADATA_PROPERTY_FORMAT

      public static final String ERROR_METADATA_PROPERTY_FORMAT
      Invalid xmp metadata format
      See Also:
    • ERROR_METADATA_FORMAT_UNKNOWN

      public static final String ERROR_METADATA_FORMAT_UNKNOWN
      Unexpected type of a Metadata entry
      See Also:
    • ERROR_METADATA_FORMAT_STREAM

      public static final String ERROR_METADATA_FORMAT_STREAM
      Invalid metadata, unable to process the font due to IOException
      See Also:
    • ERROR_METADATA_FORMAT_XPACKET

      public static final String ERROR_METADATA_FORMAT_XPACKET
      Invalid metadata, unable to process the font due to Invalid XPacket exception
      See Also:
    • ERROR_METADATA_MISMATCH

      public static final String ERROR_METADATA_MISMATCH
      Metadata mismatch between PDF Dictionary and xmp
      See Also:
    • ERROR_METADATA_XPACKET_DEPRECATED

      public static final String ERROR_METADATA_XPACKET_DEPRECATED
      Invalid information in xpacket processing instruction
      See Also:
    • ERROR_METADATA_ABSENT_DESCRIPTION_SCHEMA

      public static final String ERROR_METADATA_ABSENT_DESCRIPTION_SCHEMA
      Description schema required not embedded
      See Also:
    • ERROR_METADATA_NS_URI_MISSING

      public static final String ERROR_METADATA_NS_URI_MISSING
      A required namespace URI missing
      See Also:
    • ERROR_METADATA_WRONG_NS_URI

      public static final String ERROR_METADATA_WRONG_NS_URI
      A namespace URI has an unexpected value
      See Also:
    • ERROR_METADATA_WRONG_NS_PREFIX

      public static final String ERROR_METADATA_WRONG_NS_PREFIX
      A namespace prefix has an unexpected value
      See Also:
    • ERROR_METADATA_PROPERTY_MISSING

      public static final String ERROR_METADATA_PROPERTY_MISSING
      Required property is missing
      See Also:
    • ERROR_METADATA_UNKNOWN_VALUETYPE

      public static final String ERROR_METADATA_UNKNOWN_VALUETYPE
      A valueType is used but is not declared
      See Also:
    • ERROR_METADATA_PDFA_ID_MISSING

      public static final String ERROR_METADATA_PDFA_ID_MISSING
      PDF/A Identification Schema not found
      See Also:
    • ERROR_METADATA_INVALID_PDFA_CONFORMANCE

      public static final String ERROR_METADATA_INVALID_PDFA_CONFORMANCE
      PDF/A Identification Conformance Invalid
      See Also:
    • ERROR_METADATA_INVALID_PDFA_VERSION_ID

      public static final String ERROR_METADATA_INVALID_PDFA_VERSION_ID
      PDF/A Identification Version Identifier Invalid (pdfaid:part)
      See Also:
    • ERROR_METADATA_RDF_ABOUT_ATTRIBUTE_MISSING

      public static final String ERROR_METADATA_RDF_ABOUT_ATTRIBUTE_MISSING
      rdf:about is missing
      See Also:
    • ERROR_METADATA_RDF_ABOUT_ATTRIBUTE_INEQUAL_VALUE

      public static final String ERROR_METADATA_RDF_ABOUT_ATTRIBUTE_INEQUAL_VALUE
      One of rdf:about attribute embedded in RDF:rdf have a different value than the others
      See Also:
    • ERROR_METADATA_CATEGORY_PROPERTY_INVALID

      public static final String ERROR_METADATA_CATEGORY_PROPERTY_INVALID
      a category has an invalid value in one property description (must be internal or external)
      See Also:
    • ERROR_METADATA_DICT_INFO_CORRUPT

      public static final String ERROR_METADATA_DICT_INFO_CORRUPT
      the info dictionary is corrupt or value can't be read
      See Also:
    • ERROR_PDF_PROCESSING

      public static final String ERROR_PDF_PROCESSING
      Error about PDF processing : that is not necessary a specific PDF/A validation error but a PDF specification requirement that isn't respected.
      See Also:
    • ERROR_PDF_PROCESSING_MISSING

      public static final String ERROR_PDF_PROCESSING_MISSING
      A Mandatory element is missing
      See Also:
  • Constructor Details

    • PreflightConstants

      private PreflightConstants()