Skip to main content

ComplianceRule Enum

Lists PDF/A and PDF/UA compliance rules.

Declaration

public enum ComplianceRule extends Enum<ComplianceRule> implements IIntEnum

Members

Name Description
ACCESSIBILITY_PERMISSION_MISSING

Document permissions do not allow text extraction for accessibility.

ACTIONS_REMOVED

The API removed actions that the target standard does not allow.

ALTERNATE_DESCRIPTION_MISSING

A structure element or a link does not have an alternate description or replacement text.

ANNOTATIONS_REMOVED

The API removed annotations that the target standard does not allow.

ANNOTATION_APPEARANCE_MISSING

An annotation or a pending signature does not have a normal appearance stream.

ANNOTATION_FLAG_INVALID

An annotation does not have the Print flag, or has the Invisible, Hidden, or NoView flag (or the ToggleNoView flag in PDF/A-2 and later).

ANNOTATION_NOT_IN_STRUCTURE_TREE

An annotation is not included in the structure tree.

CONFORMANCE_CLAIM_MISMATCH

The conformance level declared in XMP metadata differs from the conformance level to validate against.

CONFORMANCE_CLAIM_MISSING

The document does not declare the PDF/A or PDF/UA conformance level in XMP metadata.

CONTENT_NOT_TAGGED

Page content (text, an image, or vector graphics) is not marked as an artifact and is not associated with a structure element.

CONTENT_VALIDATION_FAILED

The API cannot read page content to verify tagging.

CROSS_REFERENCE_STREAM

The document contains cross-reference streams or is a hybrid-reference file.

DEVICE_CMYK_NOT_CONVERTIBLE

The API cannot convert DeviceCMYK colors.

DEVICE_COLOR_CONVERTED

The API embedded a default ICC profile for DeviceRGB, DeviceCMYK, or DeviceGray colors.

DEVICE_COLOR_WITHOUT_OUTPUT_INTENT

The document uses DeviceRGB, DeviceCMYK, or DeviceGray colors without a matching output intent.

DISPLAY_DOC_TITLE_NOT_SET

The DisplayDocTitle viewer preference is not set.

DOCUMENT_TITLE_MISSING

XMP metadata does not contain a document title.

DYNAMIC_XFA_NOT_CONVERTIBLE

The document is a dynamic XFA form without interactive form fields. The API cannot convert the document.

EMBEDDED_FILE

The document contains an embedded file that the standard does not allow or that the API cannot verify.

EMBEDDED_FILES_NOT_VALIDATED

The document contains embedded files. The API cannot verify that the embedded files meet PDF/A-2 requirements.

EMBEDDED_FILES_REMOVED

The API removed embedded files.

ENCRYPTED

The document is encrypted. PDF/A does not allow encryption.

ENCRYPTION_REMOVED

The API removed document encryption.

FILE_ID_MISSING

The file trailer does not contain a file identifier.

FILE_SPECIFICATION_INCOMPLETE

An embedded file specification does not contain a file name or a description.

FONT_INCOMPATIBLE

A font is not compatible with the target standard.

FONT_NOT_EMBEDDED

A font that renders text is not embedded.

FONT_NOT_FOUND

The API cannot find a font to embed.

FONT_SUBSET_EMBEDDED

The API embedded a font subset.

FONT_SUBSTITUTED

The API did not find a font and embedded a subset of a substitute font.

FORM_FIELD_ALTERNATE_NAME_MISSING

A form field does not have an alternate name.

HEADING_HIERARCHY_INVALID

Numbered headings skip a level or do not start with H1.

LANGUAGE_MISSING

The document does not specify a default language.

LZW_FILTER

The document contains LZW-compressed streams.

MARK_INFO_MISSING

The document is not marked as a tagged document.

METADATA_NOT_SYNCHRONIZED

A document property does not match the corresponding XMP metadata property.

NEED_APPEARANCES_TRUE

The interactive form asks PDF viewers to generate form field appearances (the NeedAppearances flag is set).

NOTE_ID_INVALID

A Note structure element does not have a unique identifier.

OPI_REMOVED

The API removed OPI (Open Prepress Interface) information.

OPTIONAL_CONTENT

The document contains optional content. PDF/A-1 does not allow optional content.

OPTIONAL_CONTENT_CONFIGURATION_NAME_MISSING

An optional content configuration does not have a name.

OPTIONAL_CONTENT_REMOVED

The API removed optional content properties. All optional content groups are visible.

OUTPUT_INTENT_MISSING

The PDF/A output intent does not contain a valid destination output profile.

PDF_VERSION_MISMATCH

The PDF file version does not match the version that the standard requires.

PROHIBITED_ACTION

The document contains an action type that the standard does not allow.

PROHIBITED_ANNOTATION

The document contains an annotation type that the standard does not allow.

SIGNATURES_INVALIDATED

The conversion invalidates existing digital signatures. The API saves the converted document as a whole.

SIGNATURE_APPEARANCE_NOT_VALIDATED

The API does not validate colors and fonts of a generated signature appearance before signing.

STRUCTURE_NESTING_INVALID

A structure element or an annotation is in a position in the structure tree that the standard does not allow.

STRUCTURE_TREE_MISSING

The document does not contain a logical structure tree.

STRUCTURE_TYPE_NOT_MAPPED

A custom structure type is not mapped to a standard structure type, or the role mapping is circular.

SUSPECTS_PRESENT

The Suspects flag in the document’s mark information is set.

SYMBOLIC_TRUE_TYPE_ENCODING

A TrueType font specifies an encoding that the standard does not allow.

TAB_ORDER_NOT_STRUCTURE

A page that contains annotations does not use the structure tab order.

TRANSPARENCY

The document contains transparency. PDF/A-1 does not allow transparency.

TRANSPARENCY_REMOVED

The API removed transparency. The document appearance can change.

TYPE_1_FONT_EMBEDDED

The API replaced a Type 1 font with another font.

UNSUPPORTED_CONVERSION_TARGET

The API does not support conversion to the target conformance level.

XFA_FORM

The document contains an XFA form.

XFA_REMOVED

The API removed XFA forms.

fromValue(int value)

Returns the ComplianceRule enumeration constant with the specified integer value.

getName()

Returns the name of the ComplianceRule enumeration constant.

getValue()

Returns the integer value of the ComplianceRule enumeration constant.

toString()

Returns the string representation of the ComplianceRule enumeration constant.

valueOf(String name)

Returns the ComplianceRule enumeration constant with the specified name.

values()

Returns an array of all ComplianceRule enumeration constants.

Remarks

Call the ComplianceIssue.getRule() method to get the rule that a compliance issue concerns.

Implements

com.devexpress.java.enums.IIntEnum

Inherited Members

java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)
java.lang.Enum.clone()
java.lang.Enum.compareTo(E)
java.lang.Enum.describeConstable()
java.lang.Enum.equals(java.lang.Object)
java.lang.Enum.finalize()
java.lang.Enum.getDeclaringClass()
java.lang.Enum.hashCode()
java.lang.Enum.name()
java.lang.Enum.ordinal()
java.lang.Enum.toString()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
java.lang.Enum
ComplianceRule