All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.harvard.hul.ois.jhove.module.pdf.MessageConstants Maven / Gradle / Ivy

package edu.harvard.hul.ois.jhove.module.pdf;

import edu.harvard.hul.ois.jhove.messages.JhoveMessage;
import edu.harvard.hul.ois.jhove.messages.JhoveMessageFactory;
import edu.harvard.hul.ois.jhove.messages.JhoveMessages;

/**
 * Enum used to externalise the PDF modules message Strings. Using an enum
 * INSTANCE as a "trick" to ensure a single instance of the class. String
 * constants should be prefixed according to their use in the module:
 * 
    *
  • LOG_ for messages used exclusively by the logger.
  • *
  • INF_ for informational messages.
  • *
  • ERR_ for error messages that indicate a file is invalid or not well * formed.
  • *
* When adding new messages try to adopt the following order for the naming * elements: *
    *
  1. PREFIX: one of the three prefixes from the list above.
  2. *
  3. ENTITY_NAME: the name of the PDF entity causing the prohlem, e.g. FONT, * or DOC.
  4. *
  5. Problem: a short indicator of the problem type, e.g. MISSING, ILLEGAL, * etc.
  6. *
* The elements should be separated by underscores. The messages currently don't * follow a consistent vocabulary, that is terms such as invalid, illegal, or * malformed are used without definition. * * @author Carl Wilson * carlwilson AT github * @version 0.1 Created 1 Oct 2016:11:38:18 */ public enum MessageConstants { INSTANCE; public static final JhoveMessageFactory messageFactory = JhoveMessages.getInstance("edu.harvard.hul.ois.jhove.module.pdf.ErrorMessages"); public static final JhoveMessage PDF_HUL_1 = messageFactory.getMessage("PDF-HUL-1"); public static final JhoveMessage PDF_HUL_2 = messageFactory.getMessage("PDF-HUL-2"); public static final JhoveMessage PDF_HUL_3 = messageFactory.getMessage("PDF-HUL-3"); public static final JhoveMessage PDF_HUL_4 = messageFactory.getMessage("PDF-HUL-4"); public static final JhoveMessage PDF_HUL_5 = messageFactory.getMessage("PDF-HUL-5"); public static final JhoveMessage PDF_HUL_6 = messageFactory.getMessage("PDF-HUL-6"); public static final JhoveMessage PDF_HUL_7 = messageFactory.getMessage("PDF-HUL-7"); public static final JhoveMessage PDF_HUL_8 = messageFactory.getMessage("PDF-HUL-8"); public static final JhoveMessage PDF_HUL_9 = messageFactory.getMessage("PDF-HUL-9"); public static final JhoveMessage PDF_HUL_10 = messageFactory.getMessage("PDF-HUL-10"); public static final JhoveMessage PDF_HUL_11 = messageFactory.getMessage("PDF-HUL-11"); public static final JhoveMessage PDF_HUL_12 = messageFactory.getMessage("PDF-HUL-12"); public static final JhoveMessage PDF_HUL_13 = messageFactory.getMessage("PDF-HUL-13"); public static final JhoveMessage PDF_HUL_14 = messageFactory.getMessage("PDF-HUL-14"); public static final JhoveMessage PDF_HUL_15 = messageFactory.getMessage("PDF-HUL-15"); public static final JhoveMessage PDF_HUL_16 = messageFactory.getMessage("PDF-HUL-16"); public static final JhoveMessage PDF_HUL_17 = messageFactory.getMessage("PDF-HUL-17"); public static final JhoveMessage PDF_HUL_18 = messageFactory.getMessage("PDF-HUL-18"); public static final JhoveMessage PDF_HUL_19 = messageFactory.getMessage("PDF-HUL-19"); public static final JhoveMessage PDF_HUL_20 = messageFactory.getMessage("PDF-HUL-20"); public static final JhoveMessage PDF_HUL_21 = messageFactory.getMessage("PDF-HUL-21"); public static final JhoveMessage PDF_HUL_22 = messageFactory.getMessage("PDF-HUL-22"); public static final JhoveMessage PDF_HUL_23 = messageFactory.getMessage("PDF-HUL-23"); public static final JhoveMessage PDF_HUL_24 = messageFactory.getMessage("PDF-HUL-24"); public static final JhoveMessage PDF_HUL_25 = messageFactory.getMessage("PDF-HUL-25"); public static final JhoveMessage PDF_HUL_26 = messageFactory.getMessage("PDF-HUL-26"); public static final JhoveMessage PDF_HUL_27 = messageFactory.getMessage("PDF-HUL-27"); public static final JhoveMessage PDF_HUL_28 = messageFactory.getMessage("PDF-HUL-28"); public static final JhoveMessage PDF_HUL_29 = messageFactory.getMessage("PDF-HUL-29"); public static final JhoveMessage PDF_HUL_30 = messageFactory.getMessage("PDF-HUL-30"); public static final JhoveMessage PDF_HUL_31 = messageFactory.getMessage("PDF-HUL-31"); public static final JhoveMessage PDF_HUL_32 = messageFactory.getMessage("PDF-HUL-32"); public static final JhoveMessage PDF_HUL_33 = messageFactory.getMessage("PDF-HUL-33"); public static final JhoveMessage PDF_HUL_34 = messageFactory.getMessage("PDF-HUL-34"); public static final JhoveMessage PDF_HUL_35 = messageFactory.getMessage("PDF-HUL-35"); public static final JhoveMessage PDF_HUL_36 = messageFactory.getMessage("PDF-HUL-36"); public static final JhoveMessage PDF_HUL_37 = messageFactory.getMessage("PDF-HUL-37"); public static final JhoveMessage PDF_HUL_38 = messageFactory.getMessage("PDF-HUL-38"); public static final JhoveMessage PDF_HUL_39 = messageFactory.getMessage("PDF-HUL-39"); public static final JhoveMessage PDF_HUL_40 = messageFactory.getMessage("PDF-HUL-40"); public static final JhoveMessage PDF_HUL_41 = messageFactory.getMessage("PDF-HUL-41"); public static final JhoveMessage PDF_HUL_42 = messageFactory.getMessage("PDF-HUL-42"); public static final JhoveMessage PDF_HUL_43 = messageFactory.getMessage("PDF-HUL-43"); public static final JhoveMessage PDF_HUL_44 = messageFactory.getMessage("PDF-HUL-44"); public static final JhoveMessage PDF_HUL_45 = messageFactory.getMessage("PDF-HUL-45"); public static final JhoveMessage PDF_HUL_46 = messageFactory.getMessage("PDF-HUL-46"); public static final JhoveMessage PDF_HUL_47 = messageFactory.getMessage("PDF-HUL-47"); public static final JhoveMessage PDF_HUL_48 = messageFactory.getMessage("PDF-HUL-48"); public static final JhoveMessage PDF_HUL_49 = messageFactory.getMessage("PDF-HUL-49"); public static final JhoveMessage PDF_HUL_50 = messageFactory.getMessage("PDF-HUL-50"); public static final JhoveMessage PDF_HUL_51 = messageFactory.getMessage("PDF-HUL-51"); public static final JhoveMessage PDF_HUL_52 = messageFactory.getMessage("PDF-HUL-52"); public static final JhoveMessage PDF_HUL_53 = messageFactory.getMessage("PDF-HUL-53"); public static final JhoveMessage PDF_HUL_54 = messageFactory.getMessage("PDF-HUL-54"); public static final JhoveMessage PDF_HUL_55 = messageFactory.getMessage("PDF-HUL-55"); public static final JhoveMessage PDF_HUL_56 = messageFactory.getMessage("PDF-HUL-56"); public static final JhoveMessage PDF_HUL_57 = messageFactory.getMessage("PDF-HUL-57"); public static final JhoveMessage PDF_HUL_58 = messageFactory.getMessage("PDF-HUL-58"); public static final JhoveMessage PDF_HUL_59 = messageFactory.getMessage("PDF-HUL-59"); public static final JhoveMessage PDF_HUL_60 = messageFactory.getMessage("PDF-HUL-60"); public static final JhoveMessage PDF_HUL_61 = messageFactory.getMessage("PDF-HUL-61"); public static final JhoveMessage PDF_HUL_62 = messageFactory.getMessage("PDF-HUL-62"); public static final JhoveMessage PDF_HUL_63 = messageFactory.getMessage("PDF-HUL-63"); public static final JhoveMessage PDF_HUL_64 = messageFactory.getMessage("PDF-HUL-64"); public static final JhoveMessage PDF_HUL_65 = messageFactory.getMessage("PDF-HUL-65"); public static final JhoveMessage PDF_HUL_66 = messageFactory.getMessage("PDF-HUL-66"); public static final JhoveMessage PDF_HUL_67 = messageFactory.getMessage("PDF-HUL-67"); public static final JhoveMessage PDF_HUL_68 = messageFactory.getMessage("PDF-HUL-68"); public static final JhoveMessage PDF_HUL_69 = messageFactory.getMessage("PDF-HUL-69"); public static final JhoveMessage PDF_HUL_70 = messageFactory.getMessage("PDF-HUL-70"); public static final JhoveMessage PDF_HUL_71 = messageFactory.getMessage("PDF-HUL-71"); public static final JhoveMessage PDF_HUL_72 = messageFactory.getMessage("PDF-HUL-72"); public static final JhoveMessage PDF_HUL_73 = messageFactory.getMessage("PDF-HUL-73"); public static final JhoveMessage PDF_HUL_74 = messageFactory.getMessage("PDF-HUL-74"); public static final JhoveMessage PDF_HUL_75 = messageFactory.getMessage("PDF-HUL-75"); public static final JhoveMessage PDF_HUL_76 = messageFactory.getMessage("PDF-HUL-76"); public static final JhoveMessage PDF_HUL_77 = messageFactory.getMessage("PDF-HUL-77"); public static final JhoveMessage PDF_HUL_78 = messageFactory.getMessage("PDF-HUL-78"); public static final JhoveMessage PDF_HUL_79 = messageFactory.getMessage("PDF-HUL-79"); public static final JhoveMessage PDF_HUL_80 = messageFactory.getMessage("PDF-HUL-80"); public static final JhoveMessage PDF_HUL_81 = messageFactory.getMessage("PDF-HUL-81"); public static final JhoveMessage PDF_HUL_82 = messageFactory.getMessage("PDF-HUL-82"); public static final JhoveMessage PDF_HUL_83 = messageFactory.getMessage("PDF-HUL-83"); public static final JhoveMessage PDF_HUL_84 = messageFactory.getMessage("PDF-HUL-84"); public static final JhoveMessage PDF_HUL_85 = messageFactory.getMessage("PDF-HUL-85"); public static final JhoveMessage PDF_HUL_86 = messageFactory.getMessage("PDF-HUL-86"); public static final JhoveMessage PDF_HUL_87 = messageFactory.getMessage("PDF-HUL-87"); public static final JhoveMessage PDF_HUL_88 = messageFactory.getMessage("PDF-HUL-88"); public static final JhoveMessage PDF_HUL_89 = messageFactory.getMessage("PDF-HUL-89"); public static final JhoveMessage PDF_HUL_90 = messageFactory.getMessage("PDF-HUL-90"); public static final JhoveMessage PDF_HUL_91 = messageFactory.getMessage("PDF-HUL-91"); public static final JhoveMessage PDF_HUL_92 = messageFactory.getMessage("PDF-HUL-92"); public static final JhoveMessage PDF_HUL_93 = messageFactory.getMessage("PDF-HUL-93"); public static final JhoveMessage PDF_HUL_94 = messageFactory.getMessage("PDF-HUL-94"); public static final JhoveMessage PDF_HUL_95 = messageFactory.getMessage("PDF-HUL-95"); public static final JhoveMessage PDF_HUL_96 = messageFactory.getMessage("PDF-HUL-96"); public static final JhoveMessage PDF_HUL_97 = messageFactory.getMessage("PDF-HUL-97"); public static final JhoveMessage PDF_HUL_98 = messageFactory.getMessage("PDF-HUL-98"); public static final JhoveMessage PDF_HUL_99 = messageFactory.getMessage("PDF-HUL-99"); public static final JhoveMessage PDF_HUL_100 = messageFactory.getMessage("PDF-HUL-100"); public static final JhoveMessage PDF_HUL_101 = messageFactory.getMessage("PDF-HUL-101"); public static final JhoveMessage PDF_HUL_102 = messageFactory.getMessage("PDF-HUL-102"); public static final JhoveMessage PDF_HUL_103 = messageFactory.getMessage("PDF-HUL-103"); public static final JhoveMessage PDF_HUL_104 = messageFactory.getMessage("PDF-HUL-104"); public static final JhoveMessage PDF_HUL_105 = messageFactory.getMessage("PDF-HUL-105"); public static final JhoveMessage PDF_HUL_106 = messageFactory.getMessage("PDF-HUL-106"); public static final JhoveMessage PDF_HUL_107 = messageFactory.getMessage("PDF-HUL-107"); public static final JhoveMessage PDF_HUL_108 = messageFactory.getMessage("PDF-HUL-108"); public static final JhoveMessage PDF_HUL_109 = messageFactory.getMessage("PDF-HUL-109"); public static final JhoveMessage PDF_HUL_110 = messageFactory.getMessage("PDF-HUL-110"); public static final JhoveMessage PDF_HUL_111 = messageFactory.getMessage("PDF-HUL-111"); public static final JhoveMessage PDF_HUL_112 = messageFactory.getMessage("PDF-HUL-112"); public static final JhoveMessage PDF_HUL_113 = messageFactory.getMessage("PDF-HUL-113"); public static final JhoveMessage PDF_HUL_114 = messageFactory.getMessage("PDF-HUL-114"); public static final JhoveMessage PDF_HUL_115 = messageFactory.getMessage("PDF-HUL-115"); public static final JhoveMessage PDF_HUL_116 = messageFactory.getMessage("PDF-HUL-116"); public static final JhoveMessage PDF_HUL_117 = messageFactory.getMessage("PDF-HUL-117"); public static final JhoveMessage PDF_HUL_118 = messageFactory.getMessage("PDF-HUL-118"); public static final JhoveMessage PDF_HUL_119 = messageFactory.getMessage("PDF-HUL-119"); public static final JhoveMessage PDF_HUL_120 = messageFactory.getMessage("PDF-HUL-120"); public static final JhoveMessage PDF_HUL_121 = messageFactory.getMessage("PDF-HUL-121"); public static final JhoveMessage PDF_HUL_122 = messageFactory.getMessage("PDF-HUL-122"); public static final JhoveMessage PDF_HUL_123 = messageFactory.getMessage("PDF-HUL-123"); public static final JhoveMessage PDF_HUL_124 = messageFactory.getMessage("PDF-HUL-124"); public static final JhoveMessage PDF_HUL_125 = messageFactory.getMessage("PDF-HUL-125"); public static final JhoveMessage PDF_HUL_126 = messageFactory.getMessage("PDF-HUL-126"); public static final JhoveMessage PDF_HUL_127 = messageFactory.getMessage("PDF-HUL-127"); public static final JhoveMessage PDF_HUL_128 = messageFactory.getMessage("PDF-HUL-128"); public static final JhoveMessage PDF_HUL_129 = messageFactory.getMessage("PDF-HUL-129"); public static final JhoveMessage PDF_HUL_130 = messageFactory.getMessage("PDF-HUL-130"); public static final JhoveMessage PDF_HUL_131 = messageFactory.getMessage("PDF-HUL-131"); public static final JhoveMessage PDF_HUL_132 = messageFactory.getMessage("PDF-HUL-132"); public static final JhoveMessage PDF_HUL_133 = messageFactory.getMessage("PDF-HUL-133"); public static final JhoveMessage PDF_HUL_134 = messageFactory.getMessage("PDF-HUL-134"); public static final JhoveMessage PDF_HUL_135 = messageFactory.getMessage("PDF-HUL-135"); public static final JhoveMessage PDF_HUL_136 = messageFactory.getMessage("PDF-HUL-136"); public static final JhoveMessage PDF_HUL_136_SUB = messageFactory.getMessage("PDF-HUL-136-SUB"); public static final JhoveMessage PDF_HUL_137 = messageFactory.getMessage("PDF-HUL-137"); public static final JhoveMessage PDF_HUL_138 = messageFactory.getMessage("PDF-HUL-138"); public static final JhoveMessage PDF_HUL_139 = messageFactory.getMessage("PDF-HUL-139"); public static final JhoveMessage PDF_HUL_140 = messageFactory.getMessage("PDF-HUL-140"); public static final JhoveMessage PDF_HUL_141 = messageFactory.getMessage("PDF-HUL-141"); public static final JhoveMessage PDF_HUL_142 = messageFactory.getMessage("PDF-HUL-142"); public static final JhoveMessage PDF_HUL_143 = messageFactory.getMessage("PDF-HUL-143"); public static final JhoveMessage PDF_HUL_144 = messageFactory.getMessage("PDF-HUL-144"); public static final JhoveMessage PDF_HUL_145 = messageFactory.getMessage("PDF-HUL-145"); public static final JhoveMessage PDF_HUL_146 = messageFactory.getMessage("PDF-HUL-146"); public static final JhoveMessage PDF_HUL_147 = messageFactory.getMessage("PDF-HUL-147"); public static final JhoveMessage PDF_HUL_148 = messageFactory.getMessage("PDF-HUL-148"); public static final JhoveMessage PDF_HUL_149 = messageFactory.getMessage("PDF-HUL-149"); public static final JhoveMessage PDF_HUL_150 = messageFactory.getMessage("PDF-HUL-150"); /** * Logger Messages */ public static final String LOG_HINT_ARRY_CHK = "Checking hint array"; public static final String LOG_IMAGE_XOBJ = "Image XObject"; public static final String LOG_IMAGE_GET = "Getting image"; public static final String LOG_K_ELEM_IS_ARRY = "Type K element is an array"; public static final String LOG_K_ELEM_IS_DICT = "Type K element is dictionary"; public static final String LOG_LIN_PROF_CHK = "Checking Linearized Profile"; public static final String LOG_NAMES_DICT_EXCEP = "Exception on names dictionary: "; public static final String LOG_NO_CHILD_STRUCT_ELEM = "No children are structure elements"; public static final String LOG_NO_CHILD_OBJS = "No child objects, exiting"; public static final String LOG_REVISION_NUM_RETRIEVAL_EXCEP = "Exception getting revision number: "; public static final String LOG_SUBTREE_BUILDING = "Building subtree"; public static final String LOG_XREF_TABLE_VERIFYING = "Verifying cross-reference table"; // /** // * Prefixes // */ // private static final String preIoExcep = "An IOException was thrown"; // // /** // * Information messages // */ // public static final String INF_FONT_REPORT_LIMIT = "Too many fonts to report; some fonts omitted."; // PDF-HUL-136 // public static final String INF_FONT_REPORT_LIMIT_SUB = "Total fonts = "; // PDF-HUL-150 // public static final String INF_FONTS_SKIPPED = "Fonts exist, but are not displayed; to display " + // PDF-HUL-105 // "remove param value of f from the config file"; // public static final String INF_OUTLINES_SKIPPED = "Outlines exist, but are not displayed; to display " + // PDF-HUL-132 // "remove param value of o from the config file"; // public static final String INF_ANNOTATIONS_SKIPPED = "Annotations exist, but are not displayed; to display " + // PDF-HUL-115 // "remove param value of a from the config file"; // public static final String INF_PAGES_SKIPPED = "Page information is not displayed; to display " + // PDF-HUL-112 // "remove param value of p from the config file"; // public static final String INF_HEADER_CAT_VER_MISMATCH_1 = "File header gives version as "; // PDF-HUL-87 // public static final String INF_HEADER_CAT_VER_MISMATCH_2 = ", but catalog dictionary gives version as "; // PDF-HUL-87 // public static final String INF_OUTLINES_RECURSIVE = "Outlines contain recursive references."; // PDF-HUL-123, PDF-HUL-128, PDF-HUL-129 // // /** // * Error messages // */ // public static final String ERR_ANNOT_DICT_TYPES_MISSING = "Annotation dictionary missing required type (S) entry"; // PDF-HUL-120 // public static final String ERR_ANNOT_INVALID = "Invalid Annotations"; // PDF-HUL-21, PDF-HUL-22 // public static final String ERR_ANNOT_LIST_INVALID = "Invalid Annotation list"; // PDF-HUL-116 // public static final String ERR_ANNOT_OBJ_NOT_DICT = "Annotation object is not a dictionary"; // PDF-HUL-114 // public static final String ERR_ANNOT_PROP_INVALID = "Invalid Annotation property"; // PDF-HUL-121 // public static final String ERR_ARRAY_CONTAINS_UNEXPECTED_TOKEN = "Unexpected token in array"; // PDF-HUL-40 // public static final String ERR_ARRAY_IMPROPERLY_NESTED = "Improperly nested array delimiters"; // PDF-HUL-34 // public static final String ERR_COMPRESSION_INVALID_OR_UNKNOWN = "Compression method is invalid or unknown to JHOVE"; // PDF-HUL-109 // public static final String ERR_DATE_MALFORMED = "Improperly formed date"; // PDF-HUL-133 // public static final String ERR_DEST_OBJ_INVALID = "Invalid destination object"; // PDF-HUL-1, PDF-HUL-2 // public static final String ERR_DEST_IOEXCEP_READING = preIoExcep + " reading destination array id: %d"; // PDF-HUL-3 // public static final String ERR_DESTS_DICT_INVALID = "Invalid destinations dictionary"; // PDF-HUL-91, PDF-HUL-92 // public static final String ERR_DICT_CONTAINS_UNEXPECTED_TOKEN = "Unexpected token in dictionary"; // PDF-HUL-43 // public static final String ERR_DICT_DELIMITERS_IMPROPERLY_NESTED = "Improperly nested dictionary delimiters"; // PDF-HUL-33 // public static final String ERR_DICT_MALFORMED = "Malformed dictionary"; // PDF-HUL-42 // public static final String ERR_DOC_CAT_DICT_MISSING = "No document catalog dictionary";// PDF-HUL-85, PDF-HUL-86 // public static final String ERR_DOC_CAT_OBJ_NUM_INCNSTNT = "Document catalog dictionary object number and trailer root ref number are inconsistent."; // PDF-HUL-140 // public static final String ERR_DOC_CAT_TYPE_INVALID = "Document catalog Type key must have value Catalog"; // PDF-HUL-141 // public static final String ERR_DOC_CAT_NO_TYPE = "Document catalog has no Type key or it has a null value."; // PDF-HUL-142 // public static final String ERR_DOC_CAT_NOT_SIMPLE = "Document catalog Type key does not have a simple String value."; // PDF-HUL-143 // public static final String ERR_DOC_CAT_VERSION_INVALID = "Invalid Version in document catalog"; // PDF-HUL-88 // public static final String ERR_DOC_NODE_DICT_MISSING = "Missing dictionary in document node"; // PDF-HUL-4 // public static final String ERR_DOC_STRUCT_ATT_INVALID = "Invalid attribute in document structure"; // PDF-HUL-56 // public static final String ERR_DOC_STRUCT_ROOT_CONTAINS_INVALID_DATA = "Invalid data in document structure root"; // PDF-HUL-61, PDF-HUL-62 // public static final String ERR_DOC_STRUCT_ROOT_INVALID = "Invalid document structure root"; // PDF-HUL-59, PDF-HUL-60 // public static final String ERR_DOC_STRUCT_TREE_DATA_INVALID = "Invalid data in document structure tree"; // PDF-HUL-58 // public static final String ERR_ENCRYPT_DICT_ALG_INVALID = "Invalid algorithm value in encryption dictionary"; // PDF-HUL-93 // public static final String ERR_EOF_UNEXPECTED = "Unexpected EOF"; // PDF-HUL-64 // public static final String ERR_FILE_SPEC_INVALID = "Invalid file specification"; // PDF-HUL-9 // public static final String ERR_FILE_TRAILER_MISSING = "No file trailer"; // PDF-HUL-71 // public static final String ERR_FILTER_MALFORMED = "Malformed filter"; // PDF-HUL-45 // public static final String ERR_FIND_FONTS_ERR = "Unexpected error in findFonts"; // PDF-HUL-106 // public static final String ERR_FONT_PROP_PARSING = "Unexpected error in parsing font property"; // PDF-HUL-135 // public static final String ERR_HEX_STRING_CHAR_INVALID = "Invalid character in hex string"; // PDF-HUL-11, PDF-HUL-65 // public static final String ERR_INDIRECT_OBJ_REF_MALFORMED = "Malformed indirect object reference"; // PDF-HUL-44 // public static final String ERR_INLINE_STRUCT_ELE_CONTAINS_BLOCK_ATTS = "Block-level attributes in inline structure element"; // PDF-HUL-55 // public static final String ERR_LITERAL_UNTERMINATED = "Unterminated literal in PDF file"; // PDF-HUL-10 // public static final String ERR_NAME_TREE_INVALID = "Invalid name tree"; // PDF-HUL-12, PDF-HUL-13, PDF-HUL-14, PDF-HUL-15, PDF-HUL-16 // public static final String ERR_NAMES_DICT_INVALID = "Invalid Names dictionary"; // PDF-HUL-89, PDF-HUL-90 // public static final String ERR_OBJ_DEF_INVALID = "Invalid object definition"; // PDF-HUL-35, PDF-HUL-36, PDF-HUL-37, PDF-HUL-38 // public static final String ERR_OBJ_NOT_PARSABLE = "Cannot parse object"; // PDF-HUL-39 // public static final String ERR_OBJ_STREAM_IMPROPER_NESTING = "Improper nesting of object streams"; // PDF-HUL-107 // public static final String ERR_OBJ_STREAM_OFFSET_OUT_OF_BOUNDS = "Offset out of bounds in object stream"; // PDF-HUL-17 // public static final String ERR_OBJ_STREAM_OR_NUMBER_INVALID = "Invalid object number or object stream"; // PDF-HUL-108, PDF-HUL-110 // public static final String ERR_OUTLINE_DICT_ITEM_INVALID = "Invalid outline dictionary item"; // PDF-HUL-125, PDF-HUL-126, PDF-HUL-127, PDF-HUL-130, PDF-HUL-131 // public static final String ERR_OUTLINE_DICT_MALFORMED = "Malformed outline dictionary"; // PDF-HUL-124 // public static final String ERR_PAGE_DICT_DATA_INVALID = "Invalid dictionary data for page"; // PDF-HUL-26, PDF-HUL-27, PDF-HUL-28 // public static final String ERR_PAGE_DICT_INVALID = "Invalid page dictionary"; // PDF-HUL-117 // public static final String ERR_PAGE_DICT_NO_TYPE = "Pages dictionary has no Type key or it has a null value."; // PDF-HUL-144 // public static final String ERR_PAGE_DICT_NOT_SIMPLE = "Pages dictionary Type key does not have a simple String value."; // PDF-HUL-145 // public static final String ERR_PAGE_DICT_OBJ_INVALID = "Invalid page dictionary object"; // PDF-HUL-97 // public static final String ERR_PAGE_DICT_TYPE_INVALID = "Pages dictionary Type key must have value /Pages."; // PDF-HUL-146 // public static final String ERR_PAGE_FONT_DICT_MISSING = "Expected dictionary for font entry in page resource"; // PDF-HUL-104 // public static final String ERR_PAGE_LABEL_INFO_INVALID = "Invalid page label info"; // PDF-HUL-113 // public static final String ERR_PAGE_LABEL_NODE_INVALID = "Invalid page label node"; // PDF-HUL-20 // public static final String ERR_PAGE_LABEL_SEQ_INVALID = "Invalid page label sequence"; // PDF-HUL-118 // public static final String ERR_PAGE_LABEL_STRUCT_PROBLEM = "Problem with page label structure"; // PDF-HUL-119 // public static final String ERR_PAGE_LABELS_BAD = "Bad page labels"; // PDF-HUL-111 // public static final String ERR_PAGE_NUMBER_DICT_ELEMENT_MISSING = "Missing expected element in page number dictionary"; // PDF-HUL-18 // public static final String ERR_PAGE_NUMBER_TREE_DATE_INVALID = "Invalid date in page number tree"; // PDF-HUL-19 // public static final String ERR_PAGE_TREE_ARTBOX_MALFORMED = "Malformed ArtBox in page tree"; // PDF-HUL-23 // public static final String ERR_PAGE_TREE_BLEEDBOX_MALFORMED = "Malformed BleedBox in page tree"; // PDF-HUL-25 // public static final String ERR_PAGE_TREE_DEPTH_EXCEEDED = "Excessive depth or infinite recursion in page tree structure"; // PDF-HUL-32 // public static final String ERR_PAGE_TREE_IMPROPERLY_CONSTRUCTED = "Improperly constructed page tree"; // PDF-HUL-30, PDF-HUL-31 // public static final String ERR_PAGE_TREE_MEDIA_BOX_MALFORMED = "Malformed MediaBox in page tree"; // PDF-HUL-7, PDF-HUL-8 // public static final String ERR_PAGE_TREE_MISSING = "Document page tree not found"; // PDF-HUL-95,PDF-HUL-96 // public static final String ERR_PAGE_TREE_NODE_INVALID = "Invalid page tree node"; // PDF-HUL-29 // public static final String ERR_PAGE_TREE_NODE_NOT_FOUND = "Page tree node not found."; // PDF-HUL-147 // public static final String ERR_PAGE_TREE_TRIMBOX_MALFORMED = "Malformed TrimBox in page tree"; // PDF-HUL-24 // public static final String ERR_PDF_HEADER_MISSING = "No PDF header"; // PDF-HUL-137 // public static final String ERR_PDF_MINOR_INVALID = "PDF minor version number is greater than 7."; // PDF-HUL-148 // public static final String ERR_PDF_TRAILER_MISSING = "No PDF trailer"; // PDF-HUL-138 // public static final String ERR_PREV_OFFSET_TRAILER_DICT_INVALID = "Invalid Prev offset in trailer dictionary"; // PDF-HUL-72 // public static final String ERR_RESOURCES_ENTRY_INVALID = "Invalid Resources Entry in document"; // PDF-HUL-5 // public static final String ERR_RESOURCES_FONT_ENTRY_INVALID = "Invalid Font entry in Resources"; // PDF-HUL-6 // public static final String ERR_ROLE_MAP_INVALID = "Invalid RoleMap"; // PDF-HUL-63 // public static final String ERR_SIZE_ENTRY_TRAILER_DICT_INVALID = "Invalid Size entry in trailer dictionary"; // PDF-HUL-73 // public static final String ERR_SIZE_ENTRY_TRAILER_DICT_MISSING = "Size entry missing in trailer dictionary"; // PDF-HUL-74 // public static final String ERR_STARTXREF_MISSING = "Missing startxref keyword or value"; // PDF-HUL-139 // public static final String ERR_STREAM_ASCII_INTEGER_INVALID = "Malformed ASCII number in stream"; // PDF-HUL-46 // public static final String ERR_STREAM_EMBEDDED_IN_OBJ_STREAM = "Streams may not be embedded in object streams"; // PDF-HUL-47, PDF-HUL-48 // public static final String ERR_STRUCT_ATT_INVALID = "Invalid structure attribute"; // PDF-HUL-51, PDF-HUL-52, PDF-HUL-53 // public static final String ERR_STRUCT_ATT_REF_INVALID = "Invalid structure attribute reference"; // PDF-HUL-50 // public static final String ERR_STRUCT_ATT_TYPE_ILLEGAL = "Structure attribute has illegal type"; // PDF-HUL-54 // public static final String ERR_STRUCT_TREE_ELEMENT_UNKNOWN = "Unknown element in structure tree"; // PDF-HUL-49 // public static final String DEP_STRUCT_TYPE_NAME_NON_STANDARD = "Non-standard structure type name"; // PDF-HUL-57 // public static final String ERR_TOKEN_LEXICAL = "Lexical error"; // PDF-HUL-65, PDF-HUL-66 // public static final String ERR_TRAILER_DICT_INFO_KEY_NOT_DIRECT = "Trailer dictionary Info key is not an indirect reference"; // PDF-HUL-76 // public static final String ERR_TRAILER_DICT_ROOT_MISSING = "Root entry missing in trailer dictionary"; // PDF-HUL-75 // public static final String ERR_TRAILER_ID_INVALID = "Invalid ID in trailer"; // PDF-HUL-77, PDF-HUL-78, PDF-HUL-79 // public static final String ERR_UNEXPECTED_EXCEPTION = "Unexpected exception "; // PDF-HUL-94, PDF-HUL-99, PDF-HUL-102, PDF-HUL-103 // public static final String ERR_VECTOR_OBJ_COUNT_NOT_EVEN = MessageConstants.ERR_DICT_MALFORMED // PDF-HUL-41 // + ": Vector must contain an even number of objects, but has "; // public static final String ERR_XMP_INVALID = "Invalid or ill-formed XMP metadata"; // PDF-HUL-100, PDF-HUL-101 // public static final String ERR_XREF_STRM_DICT_ROOT_MISSING = "Root entry missing in cross-ref stream dictionary"; // PDF-HUL-70 // public static final String ERR_XREF_STRM_OBJ_NUM_INVALID = "Invalid object number in cross-reference stream"; // PDF-HUL-80 // public static final String ERR_XREF_STRM_MALFORMED = "Malformed cross-reference stream"; // PDF-HUL-81 // public static final String ERR_XREF_STRM_TYPE_INVALID = "Cross-reference stream must be a stream"; // public static final String ERR_XREF_TABLE_INVALID = "Invalid cross-reference table"; // PDF-HUL-68, PDF-HUL-69 // public static final String ERR_XREF_TABLE_MALFORMED = "Malformed cross-reference table"; // PDF-HUL-82, PDF-HUL-83 // public static final String ERR_XREF_TABLE_OPERATOR_ILLEGAL = "Illegal operator in cross-reference table"; // PDF-HUL-84 // public static final String ERR_XREF_TABLES_BROKEN = "Cross-reference tables are broken"; // PDF-HUL-134 // public static final String ERR_INDIRECT_DEST_INVALID_1 = "Invalid indirect destination - referenced object '"; // PDF-HUL-149 // public static final String ERR_INDIRECT_DEST_INVALID_2 = "' cannot be found"; // PDF-HUL-149 }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy