Class PdfUAExceptionMessageConstants
- Namespace
- iText.Pdfua.Exceptions
- Assembly
- itext.pdfua.dll
Class that bundles all the error message templates as constants.
public sealed class PdfUAExceptionMessageConstants
- Inheritance
-
PdfUAExceptionMessageConstants
- Inherited Members
Fields
ANNOTATION_OF_TYPE_0_SHOULD_HAVE_CONTENTS_OR_ALT_KEY
public const string ANNOTATION_OF_TYPE_0_SHOULD_HAVE_CONTENTS_OR_ALT_KEY = "Annotation of type {0} should have contents or alternate description."
Field Value
ANNOT_TRAP_NET_IS_NOT_PERMITTED
public const string ANNOT_TRAP_NET_IS_NOT_PERMITTED = "Annotations of subtype TrapNet shall not be permitted."
Field Value
ARTIFACT_CANT_BE_INSIDE_REAL_CONTENT
public const string ARTIFACT_CANT_BE_INSIDE_REAL_CONTENT = "Content marked as artifact may only reside in Artifact content."
Field Value
CELL_CANT_BE_DETERMINED_ALGORITHMICALLY
public const string CELL_CANT_BE_DETERMINED_ALGORITHMICALLY = "TD cell row:{0} col:{1} in table {2} does not contain a valid Headers attribute, and Headers for this cell cannot be determined algorithmically."
Field Value
CELL_HAS_INVALID_ROLE
public const string CELL_HAS_INVALID_ROLE = "Cell: row {0} ({1}) col {2} has invalid role."
Field Value
CONTENT_IS_NOT_REAL_CONTENT_AND_NOT_ARTIFACT
public const string CONTENT_IS_NOT_REAL_CONTENT_AND_NOT_ARTIFACT = "Content is neither marked as Artifact nor tagged as real content."
Field Value
CONTENT_WITH_MCID_BUT_MCID_NOT_FOUND_IN_STRUCT_TREE_ROOT
public const string CONTENT_WITH_MCID_BUT_MCID_NOT_FOUND_IN_STRUCT_TREE_ROOT = "Content with MCID, but MCID wasn't found in StructTreeRoot."
Field Value
CT_OR_ALT_ENTRY_IS_MISSING_IN_MEDIA_CLIP
public const string CT_OR_ALT_ENTRY_IS_MISSING_IN_MEDIA_CLIP = "CT or Alt entry is missing from the media clip data dictionary."
Field Value
DOCUMENT_SHALL_CONTAIN_VALID_LANG_ENTRY
public const string DOCUMENT_SHALL_CONTAIN_VALID_LANG_ENTRY = "Document does not contain valid lang entry."
Field Value
DOCUMENT_SHALL_CONTAIN_XMP_METADATA_STREAM
public const string DOCUMENT_SHALL_CONTAIN_XMP_METADATA_STREAM = "Document shall contain a XMP metadata stream."
Field Value
DOCUMENT_USES_BOTH_H_AND_HN
public const string DOCUMENT_USES_BOTH_H_AND_HN = "Document uses both H and H# tags."
Field Value
DYNAMIC_XFA_FORMS_SHALL_NOT_BE_USED
public const string DYNAMIC_XFA_FORMS_SHALL_NOT_BE_USED = "Dynamic XFA forms shall not be used."
Field Value
FILE_SPECIFICATION_DICTIONARY_SHALL_CONTAIN_F_KEY_AND_UF_KEY
public const string FILE_SPECIFICATION_DICTIONARY_SHALL_CONTAIN_F_KEY_AND_UF_KEY = "File specification dictionary shall contain f key and uf key."
Field Value
FONT_SHOULD_BE_EMBEDDED
public const string FONT_SHOULD_BE_EMBEDDED = "Following font(s) are not embedded: {0}"
Field Value
FORMULA_SHALL_HAVE_ALT
public const string FORMULA_SHALL_HAVE_ALT = "Formula tags shall include an alternative representation or replacement text."
Field Value
GLYPH_IS_NOT_DEFINED_OR_WITHOUT_UNICODE
public const string GLYPH_IS_NOT_DEFINED_OR_WITHOUT_UNICODE = "The '{0}' glyph either isn't defined in embedded font or doesn't have unicode mapping."
Field Value
H1_IS_SKIPPED
public const string H1_IS_SKIPPED = "Heading level 1 is skipped in a descending sequence of header levels."
Field Value
HN_IS_SKIPPED
public const string HN_IS_SKIPPED = "Heading level {0} is skipped in a descending sequence of header levels."
Field Value
IMAGE_SHALL_HAVE_ALT
public const string IMAGE_SHALL_HAVE_ALT = "Figure tags shall include an alternative representation or replacement text. call com.itextpdf.kernel.pdf.tagutils.AccessibilityProperties#setActualText or com.itextpdf.kernel.pdf.tagutils.AccessibilityProperties#setAlternateDescription to be PDF/UA compliant."
Field Value
INVALID_PDF_VERSION
public const string INVALID_PDF_VERSION = "Specified document pdf version isn't supported in pdf/ua."
Field Value
LINK_ANNOTATION_SHOULD_HAVE_CONTENTS_KEY
public const string LINK_ANNOTATION_SHOULD_HAVE_CONTENTS_KEY = "Annotation of type Link shall contain an alternate description via their Contents key."
Field Value
LINK_ANNOT_IS_NOT_NESTED_WITHIN_LINK
public const string LINK_ANNOT_IS_NOT_NESTED_WITHIN_LINK = "A link annotation is not nested within a <Link> tag."
Field Value
METADATA_SHALL_BE_PRESENT_IN_THE_CATALOG_DICTIONARY
public const string METADATA_SHALL_BE_PRESENT_IN_THE_CATALOG_DICTIONARY = "Metadata shall be present in the catalog dictionary"
Field Value
METADATA_SHALL_CONTAIN_DC_TITLE_ENTRY
public const string METADATA_SHALL_CONTAIN_DC_TITLE_ENTRY = "Metadata shall contain dc:title entry."
Field Value
METADATA_SHALL_CONTAIN_UA_VERSION_IDENTIFIER
public const string METADATA_SHALL_CONTAIN_UA_VERSION_IDENTIFIER = "Metadata shall contain correct pdfuaid:part version identifier."
Field Value
MISSING_FORM_FIELD_DESCRIPTION
public const string MISSING_FORM_FIELD_DESCRIPTION = "Document form fields missing both TU entry and alternative description. For PdfFormfields use PdfFormfield#setAlternativeName(\"Your alternative description\"); For the layout engine use Element#getAccesibilityProperties().setAlternateDescription(\"your alternative description\")"
Field Value
MISSING_VIEWER_PREFERENCES
public const string MISSING_VIEWER_PREFERENCES = "ViewerPreferences dictionary of the Catalog dictionary does not contain a DisplayDocTitle entry."
Field Value
MORE_THAN_ONE_H_TAG
public const string MORE_THAN_ONE_H_TAG = "A node contains more than one H tag."
Field Value
NAME_ENTRY_IS_MISSING_OR_EMPTY_IN_OCG
public const string NAME_ENTRY_IS_MISSING_OR_EMPTY_IN_OCG = "Name entry is missing or has an empty string as its value in an Optional Content Configuration Dictionary."
Field Value
NON_UNIQUE_ID_ENTRY_IN_STRUCT_TREE_ROOT
public const string NON_UNIQUE_ID_ENTRY_IN_STRUCT_TREE_ROOT = "ID entry '{0}' shall be unique among all elements in the document’s structure hierarchy"
Field Value
NOTE_TAG_SHALL_HAVE_ID_ENTRY
public const string NOTE_TAG_SHALL_HAVE_ID_ENTRY = "Note tags shall include a unique ID entry."
Field Value
OCG_PROPERTIES_CONFIG_SHALL_BE_AN_ARRAY
public const string OCG_PROPERTIES_CONFIG_SHALL_BE_AN_ARRAY = "Optional Content properties configs shall be an array."
Field Value
OCG_SHALL_NOT_CONTAIN_AS_ENTRY
public const string OCG_SHALL_NOT_CONTAIN_AS_ENTRY = "An AS entry appears in an Optional Content."
Field Value
ONE_OR_MORE_STANDARD_ROLE_REMAPPED
public const string ONE_OR_MORE_STANDARD_ROLE_REMAPPED = "One or more standard types are remapped."
Field Value
PAGE_WITH_ANNOT_DOES_NOT_HAVE_TABS_WITH_S
public const string PAGE_WITH_ANNOT_DOES_NOT_HAVE_TABS_WITH_S = "A page with annotation(s) doesn't contains Tabs key with S value."
Field Value
PRINTER_MARK_IS_NOT_PERMITTED
public const string PRINTER_MARK_IS_NOT_PERMITTED = "Annotations of subtype PrinterMark shall not be included in logical structure."
Field Value
P_VALUE_IS_ABSENT_IN_ENCRYPTION_DICTIONARY
public const string P_VALUE_IS_ABSENT_IN_ENCRYPTION_DICTIONARY = "Permissions are absent in pdf encryption dictionary."
Field Value
REAL_CONTENT_CANT_BE_INSIDE_ARTIFACT
public const string REAL_CONTENT_CANT_BE_INSIDE_ARTIFACT = "Content marked as content may not reside in Artifact content."
Field Value
REAL_CONTENT_INSIDE_ARTIFACT_OR_VICE_VERSA
public const string REAL_CONTENT_INSIDE_ARTIFACT_OR_VICE_VERSA = "Tagged content is present inside content marked as Artifact or vice versa."
Field Value
SUSPECTS_ENTRY_IN_MARK_INFO_DICTIONARY_SHALL_NOT_HAVE_A_VALUE_OF_TRUE
public const string SUSPECTS_ENTRY_IN_MARK_INFO_DICTIONARY_SHALL_NOT_HAVE_A_VALUE_OF_TRUE = "Suspects entry in mark info dictionary shall not have a value of true."
Field Value
TABLE_CONTAINS_EMPTY_CELLS
public const string TABLE_CONTAINS_EMPTY_CELLS = "Cell: row {0} ({1}) col {2} is empty, each row should have the same amount of columns when taking into account spanning."
Field Value
TAG_HASNT_BEEN_ADDED_BEFORE_CONTENT_ADDING
public const string TAG_HASNT_BEEN_ADDED_BEFORE_CONTENT_ADDING = "Tag hasn't been added before adding content to the canvas."
Field Value
TAG_MAPPING_DOESNT_TERMINATE_WITH_STANDARD_TYPE
public const string TAG_MAPPING_DOESNT_TERMINATE_WITH_STANDARD_TYPE = "\"{0}\" tag mapping does not terminate with a standard type."
Field Value
TENTH_BIT_OF_P_VALUE_IN_ENCRYPTION_SHOULD_BE_NON_ZERO
public const string TENTH_BIT_OF_P_VALUE_IN_ENCRYPTION_SHOULD_BE_NON_ZERO = "10th bit of P value of Encryption dictionary should be 1 if the document is tagged."
Field Value
VIEWER_PREFERENCES_IS_FALSE
public const string VIEWER_PREFERENCES_IS_FALSE = "ViewerPreferences dictionary of the Catalog dictionary contains a DisplayDocTitle entry with a value of false."