public static class OutputProfile.Feature extends Object
An OutputProfile
is made up of Features
, which may be
required or denied. This class defines the available features. Broadly
speaking they break down into two categories, those that can be easily
determined, and those that require scanning the PDF to see if they apply.
Those in the first category are returned by the
PDF.getBasicOutputProfile()
method, and are kept up to date as the PDF
is updated. Those in the second category are only available via the
PDF.getFullOutputProfile()
method, which requires the PDF to be scanned
to determine.
An OutputProfile
may be customized by setting these features as
Required
or
Denied
. See that class for more information.
Modifier and Type | Field and Description |
---|---|
static OutputProfile.Feature |
Acrobat5Encryption
The PDF is encrypted with 128-bit encryption.
|
static OutputProfile.Feature |
Acrobat6Encryption
The PDF is encrypted with 128-bit encryption and Acrobat 6.0 features.
|
static OutputProfile.Feature |
ActionGoTo3DView
The PDF contains a GoTo3DView action
This is not allowed in PDF/A-2
(not part of basic profile).
|
static OutputProfile.Feature |
ActionGoToBadPage
The PDF contains a GoTo action that references a non-existant page
(not part of basic profile).
|
static OutputProfile.Feature |
ActionHide
The PDF contains a Hide action (which covers both showing and hiding widgets)
This is not allowed in PDF/A
(not part of basic profile).
|
static OutputProfile.Feature |
ActionImportData
The PDF has ImportData actions (not part of basic profile).
|
static OutputProfile.Feature |
ActionLaunch
The PDF has Launch actions (not part of basic profile).
|
static OutputProfile.Feature |
ActionMovie
The PDF has Movie actions (not part of basic profile).
|
static OutputProfile.Feature |
ActionNamedOther
The PDF has Named actions other than NextPage, PrevPage, FirstPage or LastPage
(not part of basic profile).
|
static OutputProfile.Feature |
ActionRendition
The PDF contains a Rendition action.
|
static OutputProfile.Feature |
ActionResetForm
The PDF has ResetForm actions (not part of basic profile).
|
static OutputProfile.Feature |
Actions
The PDF has Actions (not part of basic profile).
|
static OutputProfile.Feature |
ActionSetOCGState
The PDF contains a SetOCGState action.
|
static OutputProfile.Feature |
ActionsInBookmarks
The PDF has Actions in its Bookmarks (not part of basic profile).
|
static OutputProfile.Feature |
ActionsOnDocument
The PDF has Actions on the Document Catalog (not part of basic profile).
|
static OutputProfile.Feature |
ActionsOnFields
The PDF has Actions on a Form Field
(not part of basic profile).
|
static OutputProfile.Feature |
ActionsOnPages
The PDF has Actions which will run when a Page is opened or closed
(not part of basic profile).
|
static OutputProfile.Feature |
ActionsOnWidgets
The PDF has Actions on a Widget Annotation
(not part of basic profile).
|
static OutputProfile.Feature |
ActionSound
The PDF has Sound actions (not part of basic profile).
|
static OutputProfile.Feature |
ActionTrans
The PDF contains a Transition action.
|
static OutputProfile.Feature |
ActionUnknown
The PDF has an Unknown action.
|
static OutputProfile.Feature |
AdditionalActions
The PDF has Additional Actions (not part of basic profile).
|
static OutputProfile.Feature |
AES256Encryption
The PDF is encrypted with 256-bit AES encryption.
|
static OutputProfile.Feature |
AESEncryption
The PDF is encrypted with AES encryption - the exact keylength is unspecified,
but is assumed to be 128-bits unless
AES256Encryption or
WeakAES256Encryption is also set. |
static OutputProfile.Feature[] |
ALL
This array lists all the Features, for easy iteration.
|
static OutputProfile.Feature |
AltColorSpaceCalGray
The PDF uses a Separation colorspace with a Calibrated Grayscale alternate (not
part of basic profile).
|
static OutputProfile.Feature |
AltColorSpaceCalRGB
The PDF uses a Separation colorspace with a Calibrated RGB alternate (not part
of basic profile).
|
static OutputProfile.Feature |
AltColorSpaceDeviceCMYK
The PDF uses a Separation colorspace with a DeviceCMYK alternate (not part of
basic profile).
|
static OutputProfile.Feature |
AltColorSpaceDeviceGray
The PDF uses a Separation colorspace with a DeviceGray alternate (not part of
basic profile).
|
static OutputProfile.Feature |
AltColorSpaceDeviceRGB
The PDF uses a Separation colorspace with a DeviceRGB alternate (not part of
basic profile).
|
static OutputProfile.Feature |
AltColorSpaceICC
The PDF uses a Separation colorspace with an ICC alternate (not part of basic profile).
|
static OutputProfile.Feature |
AltColorSpaceLab
The PDF uses a Separation colorspace with a L*a*b* alternate (not part of basic
profile).
|
static OutputProfile.Feature |
AlternateImage
The PDF contains at least one image with an Alternate
(not part of basic profile)
|
static OutputProfile.Feature |
AlternateImagePrints
The PDF contains images where the alternate is set to print by default (not part of
basic profile).
|
static OutputProfile.Feature |
Annotation3D
The PDF contains a 3D annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationCaret
The PDF contains a Caret annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationCircle
The PDF contains a Circle annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationColorDeviceCMYK
The PDF uses an Annotation with a DeviceCMYK color (not part of basic profile)
|
static OutputProfile.Feature |
AnnotationColorDeviceGray
The PDF uses an Annotation with a DeviceGray color (not part of basic profile)
|
static OutputProfile.Feature |
AnnotationColorDeviceRGB
The PDF uses an Annotation with a DeviceRGB color (not part of basic profile)
|
static OutputProfile.Feature |
AnnotationColorMismatchesIntent
The PDF contains an annotation that specifies a device color which doesn't match the OutputIntent.
|
static OutputProfile.Feature |
AnnotationColorTransparent
The PDF uses an Annotation with a Transparent Color (not part of basic profile)
|
static OutputProfile.Feature |
AnnotationFile
The PDF contains a
FileAttachment annotation
(not part of basic profile) |
static OutputProfile.Feature |
AnnotationHiddenFlagSet
The PDF contains an Annotation that is hidden.
|
static OutputProfile.Feature |
AnnotationHighlight
The PDF contains a
Highlight annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationInk
The PDF contains an Ink annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationInvisibleFlagSet
The PDF contains an Annotation that is invisible.
|
static OutputProfile.Feature |
AnnotationLine
The PDF contains a Line annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationLink
The PDF contains a
Link annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationMovie
The PDF contains at least one Movie annotation.
|
static OutputProfile.Feature |
AnnotationNote
The PDF contains a
Note annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationNoteNoRotateFlagNotSet
The PDF contains a Note Annotation that does not have the NoRotate flag set.
|
static OutputProfile.Feature |
AnnotationNoteNoZoomFlagNotSet
The PDF contains a Note Annotation that does not have the NoZoom flag set.
|
static OutputProfile.Feature |
AnnotationNoViewFlagSet
The PDF contains an Annotation that has the NoView flag set.
|
static OutputProfile.Feature |
AnnotationPolygon
The PDF contains a Polygon annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationPolyLine
The PDF contains a PolyLine annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationPopup
The PDF contains a Popup annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationPrinterMark
The PDF contains a PrinterMark annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationProjection
The PDF contains a Projection annotation, as defined in ISO 32000-1:2008 extension 3.
|
static OutputProfile.Feature |
AnnotationRedact
The PDF contains a Redaction annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationRichMedia
The PDF contains a RichMedia annotation, as defined in ISO 32000-1:2008 extension 3.
|
static OutputProfile.Feature |
Annotations
The PDF has Annotations (not part of basic profile).
|
static OutputProfile.Feature |
AnnotationScreen
The PDF contains a Screen annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationsInPage
The PDF has Annotations inside the Bleed box (not part of basic profile).
|
static OutputProfile.Feature |
AnnotationSound
The PDF contains at least one Sound annotation.
|
static OutputProfile.Feature |
AnnotationSquare
The PDF contains a Square annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationSquiggly
The PDF contains an
Squiggly annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationStamp
The PDF contains a
Stamp annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationStrikeOut
The PDF contains an
StrikeOut annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationText
The PDF contains a
Text annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationToggleNoViewFlagSet
The PDF contains an Annotation that has the ToggleNoView flag set.
|
static OutputProfile.Feature |
AnnotationTransparency
The PDF contains annotations with Transparency (not part of basic profile).
|
static OutputProfile.Feature |
AnnotationTrapNet
The PDF contains a TrapNet annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationUnderline
The PDF contains an
Underline annotation
(not part of basic profile). |
static OutputProfile.Feature |
AnnotationUnknown
The PDF contains an annotation type that is not defined in the
PDF specification
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationWatermark
The PDF contains a Watermark annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationWidget
The PDF contains a Widget Annotation
(not part of basic profile).
|
static OutputProfile.Feature |
AnnotationWithUnpredictableAppearance
The PDF contains an Annotation with multiple appearance streams, or an annotation
which doesn't have the required "normal" appearance.
|
static OutputProfile.Feature |
ArrayOverflow
The PDF contains an Array with > 8191 elements.
|
static OutputProfile.Feature |
Articles
The PDF contains "Articles" (sometimes known as Threads).
|
static OutputProfile.Feature |
AuthorSignature
The PDF contains an Author digital signature
|
static OutputProfile.Feature |
BadBoxNesting
The PDF has pages where the Boxes are nested incorrectly.
|
static OutputProfile.Feature |
BadTrapNetAnnotation
The PDF has a Trap Annotation that does not meet PDF/X requirements
(not part of basic profile).
|
static OutputProfile.Feature |
BadXMPMetaData
The PDF contains XMPMetadata that does not meet the XMP specification.
|
static OutputProfile.Feature |
BlackAndWhiteImage
The PDF contains a bitmap image that is in Black&White, as opposed to Color or Grayscale.
|
static OutputProfile.Feature |
BlackSeparation
The PDF uses a Separation colorspace with an ink name of Black (not part of
basic profile).
|
static OutputProfile.Feature |
BlendingColorSpaceUndefined
The PDF contains a Page with transparent content, but doesn't define the ColorSpace in which
that content is to be blended.
|
static OutputProfile.Feature |
BlendingColorSpaceUndefinedNoIntent
As for
BlendingColorSpaceUndefined and the GTS_PDFA1 OutputIntent is also not specified. |
static OutputProfile.Feature |
Bookmarks
The PDF has a Bookmarks tree, as returned by
PDF.getBookmarks() . |
static OutputProfile.Feature |
BothTrimAndArtBox
The PDF has pages with both an Art and Trim boxes (not part of basic profile).
|
static OutputProfile.Feature |
BXEXOperator
The PDF contains a stream with BX/EX operators (not part of basic profile).
|
static OutputProfile.Feature |
CatalogRequirements
The PDF Catalog has a "Requirements" key.
|
static OutputProfile.Feature |
CIDCompactFontNotCID
The PDF contains a Compact Font embedded as a CID font, but the font itself
isn't a CID font.
|
static OutputProfile.Feature |
CIDFontCompactEmbedded
The PDF uses an embedded Compact CID font (not part of basic profile).
|
static OutputProfile.Feature |
CIDFontOpenTypeEmbedded
The PDF uses an embedded OpenType CID font (not part of basic profile)
|
static OutputProfile.Feature |
CIDFontSubsetWithoutCIDSet
The PDF embeds a subset CID font without a CIDSet string (not part of basic profile).
|
static OutputProfile.Feature |
CIDFontTrueTypeEmbedded
The PDF uses an embedded TrueType CID font (not part of basic profile).
|
static OutputProfile.Feature |
CIDFontTrueTypeUnembedded
The PDF uses an unembedded TrueType CID font (not part of basic profile).
|
static OutputProfile.Feature |
CIDFontTrueTypeWithoutCIDToGIDMap
The PDF contains a TrueType CIDFont without a CIDToGIDMap entry.
|
static OutputProfile.Feature |
CIDFontType1Embedded
The PDF uses an embedded Type 1 CID font (not part of basic profile).
|
static OutputProfile.Feature |
CIDFontType1Unembedded
The PDF uses an unembedded Type 1 CID font (not part of basic profile).
|
static OutputProfile.Feature |
CIDSetCoverageIncomplete
The PDF contains a subset CID font with a CIDSet that doesn't reference all glyphs
in the font.
|
static OutputProfile.Feature |
CIDSetCoverageIncompleteTolerant
The PDF contains a subset CID font with a CIDSet that doesn't reference all glyphs
in the font.
|
static OutputProfile.Feature |
CIDSystemInfoAndCMapNotCompatible
The PDF contains a CID font where the CIDSystemInfo does not match the CMap dictionary.
|
static OutputProfile.Feature |
CMapEmbeddedWithInvalidWMode
The PDF contains a CMap that contains a non identical WMode integer entry (not
part of basic profile).
|
static OutputProfile.Feature |
CMYKJPEG
The PDF contains CMYK JPEG images (not part of basic profile).
|
static OutputProfile.Feature |
ColorContent
The PDF contains text, shading or vector graphics (anything but bitmap images)
that are in Color rather than grayscale or black-and-white.
|
static OutputProfile.Feature |
ColorImage
The PDF contains a bitmap image that could be in Color.
|
static OutputProfile.Feature |
ColorSpaceCalGray
The PDF uses a calibrated Grayscale colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceCalRGB
The PDF uses a calibrated RGB colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceDeviceCMYK
The PDF uses the DeviceCMYK colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceDeviceGray
The PDF uses the DeviceGray colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceDeviceN
The PDF uses a Device-N colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceDeviceNMissingColorants
The PDF uses a DeviceN or N-Channel colorspace which does not define
all the Colorants array for all its Spot colors.
|
static OutputProfile.Feature |
ColorSpaceDeviceRGB
The PDF uses the DeviceRGB colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpaceICC
The PDF uses an embedded ICC profile (not part of basic profile).
|
static OutputProfile.Feature |
ColorSpaceIndexed
The PDF uses an Indexed colorspace (not part of basic profile).
|
static OutputProfile.Feature |
ColorSpaceLab
The PDF uses a CIE L*a*b* colorspace (not part of basic profile).
|
static OutputProfile.Feature |
ColorSpaceNChannel
The PDF uses an N-Channel colorspace (not part of basic profile)
|
static OutputProfile.Feature |
ColorSpacePattern
The PDF uses a Pattern colorspace (not part of basic profile).
|
static OutputProfile.Feature |
ColorSpaceSeparation
The PDF uses a Separation colorspace (not part of basic profile).
|
static OutputProfile.Feature |
ComplexBlendMode
The PDF contains content to be composited using a blend mode
other than Normal, that may introduce transparency effects
(not part of basic profile).
|
static OutputProfile.Feature |
CompressedXRef
The PDF has a Compressed XRef table.
|
static OutputProfile.Feature |
ContentIsDamaged
The PDF contains a content stream which is damaged.
|
static OutputProfile.Feature |
CyanSeparation
The PDF uses a Separation colorspace with an ink name of Cyan (not part of basic
profile).
|
static OutputProfile.Feature |
Device33ColorSpace
The PDF contains a DeviceN ColorSpace with more than 32 components.
|
static OutputProfile.Feature |
Device9ColorSpace
The PDF contains a DeviceN ColorSpace with more than 8 components.
|
static OutputProfile.Feature |
DeviceCMYKWithGrayIntent
The PDF contains a Device CMYK color but a Grayscale Output Intent.
|
static OutputProfile.Feature |
DeviceCMYKWithRGBIntent
The PDF contains a Device CMYK color but a RGB Output Intent.
|
static OutputProfile.Feature |
DeviceDependentColor
The PDF contains device-dependent Color
(not part of basic profile).
|
static OutputProfile.Feature |
DeviceGrayWithCMYKIntent
The PDF contains a Device Gray color but a CMYK Output Intent.
|
static OutputProfile.Feature |
DeviceGrayWithRGBIntent
The PDF contains a Device Gray color but an RGB Output Intent.
|
static OutputProfile.Feature |
DeviceRGBWithCMYKIntent
The PDF contains a Device RGB color but a CMYK Output Intent.
|
static OutputProfile.Feature |
DeviceRGBWithGrayIntent
The PDF contains a Device RGB color but a Grayscale Output Intent.
|
static OutputProfile.Feature |
DictionaryOverflow
The PDF contains a Dictionary with > 4095 entries.
|
static OutputProfile.Feature |
DigitallySigned
The PDF contains at least one Digital Signature.
|
static OutputProfile.Feature |
DisplayDocTitle
The PDF ViewerPreferences dictionary sets DisplayDocTitle to true.
|
static OutputProfile.Feature |
DocIDMismatch
The PDF is Linearized, but has a mismatch between the Document ID in the final trailer and
the Document ID in the first page trailer.
|
static OutputProfile.Feature |
DocIDMissing
The PDF is missing the Document ID in the primary trailer.
|
static OutputProfile.Feature |
DocumentNeedsRendering
The PDF Catalog has a "NeedsRendering" key.
|
static OutputProfile.Feature |
DuplicateSeparation
The PDF contains a page or canvas with two different Separation ColorSpaces that
have the same name.
|
static OutputProfile.Feature |
EmbeddedFileNotPDFA
The PDF contains an embedded file that does not conform to PDF/A (any revision).
|
static OutputProfile.Feature |
EmbeddedFiles
The PDF has Embedded files (not part of basic profile).
|
static OutputProfile.Feature |
EmbeddedFileSubtypeNotContentType
The PDF contains an embedded file for which the Subtype is not a
MIME content-type.
|
static OutputProfile.Feature |
EmbeddedFileWithoutAFRelationship
The PDF contains a File Specification which does not have the AFRelationship key.
|
static OutputProfile.Feature |
EmbeddedFileWithoutModDate
The PDF contains an embedded file which does not have a modification date.
|
static OutputProfile.Feature |
EmbeddedFileWithoutName
The PDF contains a File Specification which does not have the F key.
|
static OutputProfile.Feature |
EmbeddedFileWithoutParams
The PDF contains an embedded file which does not have the Params key.
|
static OutputProfile.Feature |
EmbeddedFileWithoutSubtype
The PDF contains an embedded file which does not have the Subtype key.
|
static OutputProfile.Feature |
EmbeddedFileWithoutUnicodeName
The PDF contains a File Specification which does not have the F or UF key.
|
static OutputProfile.Feature |
Encryption
The PDF is encrypted.
|
static OutputProfile.Feature |
EncryptionDeniesAccessibility
The PDF is encrypted and the encryption flags disallow
extraction of text content for the purposes of accessibility.
|
static OutputProfile.Feature |
FFilter
The PDF has streams with external file filters and are not allowed in PDF/A
(not part of basic profile)
|
static OutputProfile.Feature |
FileBased
The PDF has been loaded from a
File . |
static OutputProfile.Feature |
FileIsDamaged
The PDF structure was damaged but has been repaired.
|
static OutputProfile.Feature |
FilterASCII85
The PDF has streams compressed with ASCII85 (not part of basic profile)
|
static OutputProfile.Feature |
FilterASCIIHex
The PDF has streams compressed with ASCIIHEX (not part of basic profile)
|
static OutputProfile.Feature |
FilterCCITT
The PDF has streams compressed with CCITT (not part of basic profile).
|
static OutputProfile.Feature |
FilterDCT
The PDF has streams compressed with Discrete cosine (JPEG) encoding (not part
of basic profile)
|
static OutputProfile.Feature |
FilterFlate
The PDF has streams compressed with Flate (not part of basic profile)
|
static OutputProfile.Feature |
FilterInlineASCII85
The PDF contains an inline-image which is encoded with ASCII85 encoding
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineASCIIHex
The PDF contains an inline-image which is encoded with ASCIIHex encoding
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineCCITT
The PDF contains an inline-image which is compressed with CCITT compression
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineDCT
The PDF contains an inline-image which is compressed with DCT (JPEG) encoding
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineFlate
The PDF contains an inline-image which is compressed with Flate compression
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineLZW
The PDF contains an inline-image which is compressed with LZW encoding
(not part of basic profile).
|
static OutputProfile.Feature |
FilterInlineRLE
The PDF contains an inline-image which is compressed with run-length encoding
(not part of basic profile).
|
static OutputProfile.Feature |
FilterJBIG2
The PDF has streams compressed with JBIG2 encoding (not part of basic profile).
|
static OutputProfile.Feature |
FilterJPX
The PDF has streams compressed with JPEG-2000 encoding (not part of basic profile)
If this feature is denied when an OutputProfile is applied, then any
streams compressed with JPX will be recompressed with Flate.
|
static OutputProfile.Feature |
FilterLZW
The PDF has streams compressed with LZW encoding (not part of basic profile).
|
static OutputProfile.Feature |
FilterNoneOnLargeStream
The PDF has large uncompressed streams (not part of basic profile).
|
static OutputProfile.Feature |
FilterRLE
The PDF has streams compressed with Run-Length encoding (not part of basic profile)
|
static OutputProfile.Feature |
FilterUnknown
The PDF contains a stream with a non-standard filter, which will be unreadable.
|
static OutputProfile.Feature |
FontCompactEmbedded
The PDF uses an embedded Compact font (not part of basic profile)
|
static OutputProfile.Feature |
FontEmbeddingRestrictions
The PDF embeds a font with embedding restrictions (not part of basic profile).
|
static OutputProfile.Feature |
FontMultipleMaster
The PDF uses a Multiple-Master font (not part of basic profile)
|
static OutputProfile.Feature |
FontOpenTypeEmbedded
The PDF uses an embedded OpenType font (not part of basic profile)
|
static OutputProfile.Feature |
FontStandard14
The PDF uses the Standard 14 fonts (not part of basic profile)
|
static OutputProfile.Feature |
FontSymbolicStatusUndefined
The PDF contains a font which does not have it's symbolic status correctly defined -
the two bits in its Flags field contradict eachother
(not part of basic profile).
|
static OutputProfile.Feature |
FontTrueTypeEmbedded
The PDF uses an embedded TrueType font (not part of basic profile)
|
static OutputProfile.Feature |
FontTrueTypeUnembedded
The PDF uses an unembedded TrueType font (not part of basic profile)
|
static OutputProfile.Feature |
FontType0
The PDF uses a Type 0 font (not part of basic profile).
|
static OutputProfile.Feature |
FontType1Embedded
The PDF uses an embedded Type-1 font (not part of basic profile)
|
static OutputProfile.Feature |
FontType1SubsetWithIncompleteCharset
The PDF embeds a Type1 font subset with a CharSet string, but the CharSet string does
not list all the glyphs in the font.
|
static OutputProfile.Feature |
FontType1SubsetWithoutCharset
The PDF embeds a Type1 font subset without a CharSet string.
|
static OutputProfile.Feature |
FontType1Unembedded
The PDF uses an unembedded Type 1 font (not part of basic profile)
|
static OutputProfile.Feature |
FontType1WithoutToUnicode
The PDF uses a Type 1 font without a ToUnicode map (not part of basic profile).
|
static OutputProfile.Feature |
FontType3
The PDF uses a Type 3 font (not part of basic profile)
|
static OutputProfile.Feature |
FontWidthsNotConsistent
The PDF embeds a font with inconsistent widths.
|
static OutputProfile.Feature |
FontWithMissingGlyphs
The PDF embeds a font without glyphs for all characters referenced in the document.
|
static OutputProfile.Feature |
FontWithoutMetadata
The PDF contains at least one font without any meta-data (not part of basic
profile).
|
static OutputProfile.Feature |
Form
The PDF contains a Form with at least one element.
|
static OutputProfile.Feature |
FreeFormLink
The PDF contains a Link annotation with a non-rectangular shape (not part of
basic profile).
|
static OutputProfile.Feature |
FullPageImage
The PDF contains a full page image.
|
static OutputProfile.Feature |
GrayscaleContent
The PDF contains text, shading or vector graphics (anything but bitmap images)
that are in Grayscale, ie. they include a shade of gray that is not black or white.
|
static OutputProfile.Feature |
GrayscaleImage
The PDF contains a bitmap image that could be in Grayscale.
|
static OutputProfile.Feature |
Hairline
The PDF contains a "hairline" (not part of basic profile).
|
static OutputProfile.Feature |
HalftoneName
The PDF contains a named Halftone pattern (not part of basic profile).
|
static OutputProfile.Feature |
HalftoneNot1or5
The PDF contains a Halftone pattern not of type 1 or 5 (not part of basic profile).
|
static OutputProfile.Feature |
HasAuthor
The PDF Info dictionary has an Author set
|
static OutputProfile.Feature |
HasCMYKOutputIntent
The PDF contains an OutputIntent defining a CMYK ColorSpace.
|
static OutputProfile.Feature |
HasCreationDate
The PDF Info dictionary has a Creation Date set
|
static OutputProfile.Feature |
HasCreator
The PDF Info dictionary has a Creator set
|
static OutputProfile.Feature |
HasDocID
The PDF has a Document ID set.
|
static OutputProfile.Feature |
HasGrayOutputIntent
The PDF contains an OutputIntent defining a Grayscale ColorSpace.
|
static OutputProfile.Feature |
HasModDate
The PDF Info dictionary has a Modification Date set.
|
static OutputProfile.Feature |
HasMultipleDifferentOutputIntents
The PDF contains multiple Output Intents with different ICC profiles.
|
static OutputProfile.Feature |
HasMultipleOutputIntents
The PDF contains multiple Output Intents.
|
static OutputProfile.Feature |
HasOutputIntent
The PDF contains an OutputIntent.
|
static OutputProfile.Feature |
HasOutputIntentGTS_PDFA
The PDF contains an OutputIntent of GTS_PDFA.
|
static OutputProfile.Feature |
HasOutputIntentGTS_PDFA1
The PDF contains an OutputIntent of GTS_PDFA1.
|
static OutputProfile.Feature |
HasOutputIntentGTS_PDFX
The PDF contains an OutputIntent of GTS_PDFX.
|
static OutputProfile.Feature |
HasProducer
The PDF Info dictionary has a Producer set
|
static OutputProfile.Feature |
HasReferenceOutputIntent
The PDF contains an OutputIntent which references an external ICC profile.
|
static OutputProfile.Feature |
HasRGBOutputIntent
The PDF contains an OutputIntent defining an RGB ColorSpace.
|
static OutputProfile.Feature |
HasSubject
The PDF Info dictionary has a Subject set
|
static OutputProfile.Feature |
HasTitle
The PDF Info dictionary has a Title set
|
static OutputProfile.Feature |
HasTrapped
The PDF Info dictionary has a Trapped key.
|
static OutputProfile.Feature |
HasUnembeddedOutputIntent
The PDF contains an OutputIntent which does not contain an embedded ICC profile
|
static OutputProfile.Feature |
HasUnknownOutputIntent
The PDF contains an OutputIntent which is not GrayScale, RGB or CMYK.
|
static OutputProfile.Feature |
HeaderNotAtStart
There is junk in the PDF file before the "%PDF-" marker
|
static OutputProfile.Feature |
HintsAreDamaged
The linearized PDF contains a hints table that is damaged.
|
static OutputProfile.Feature |
ICCProfileBadColorComponentCount
The PDF contains an ICC ColorProfile where the specified number of Colors does not
match the actual number specified by the profile
(not part of basic profile).
|
static OutputProfile.Feature |
ICCProfileNotOutput
The PDF contains an OutputIntent with an embedded ICC profile that's not an Output
(class=prtr) ICC Profile.
|
static OutputProfile.Feature |
ICCProfileNotOutputOrDisplay
The PDF contains an OutputIntent with an embedded ICC profile that's not an Output
(class=prtr) or Display (class=mntr) ICC Profile.
|
static OutputProfile.Feature |
ICCProfileUnusualColorSpace
The PDF contains an OutputIntent with an embedded ICC profile that's not Gray, RGB or
CMYK.
|
static OutputProfile.Feature |
ICCProfileVersion1
The PDF uses an embedded ICC profile version 1 (not part of basic profile).
|
static OutputProfile.Feature |
ICCProfileVersion2
The PDF uses an embedded ICC profile version 2 (not part of basic profile).
|
static OutputProfile.Feature |
ICCProfileVersion3
The PDF uses an embedded ICC profile version 3 (not part of basic profile).
|
static OutputProfile.Feature |
ICCProfileVersion4
The PDF uses an embedded ICC profile version 4 (not part of basic profile).
|
static OutputProfile.Feature |
ImageDepth1
The PDF contains 1-bit images (not part of basic profile)
|
static OutputProfile.Feature |
ImageDepth16
The PDF contains 16-bit images (not part of basic profile). 16-bit images were added
in Acrobat 6.0 and are not accepted by PDF/X
|
static OutputProfile.Feature |
ImageDepth2
The PDF contains 2-bit images (not part of basic profile)
|
static OutputProfile.Feature |
ImageDepth4
The PDF contains 4-bit images (not part of basic profile)
|
static OutputProfile.Feature |
ImageDepth8
The PDF contains 8-bit images (not part of basic profile)
|
static OutputProfile.Feature |
ImageLengthIncorrect
The PDF contains an image which has less data than its width and height demand.
|
static OutputProfile.Feature |
ImagePluginHeader
The PDF should be marked as "image only".
|
static OutputProfile.Feature |
ImageTransparency
The PDF contains images with Transparency (not part of basic profile).
|
static OutputProfile.Feature |
ImperfectWhitespace
The PDF contains whitespace which is valid, but does not meet the stricter requirements
for PDF/A.
|
static OutputProfile.Feature |
IndirectObjectOverflow
The PDF contains more than 8388607 indirect objects.
|
static OutputProfile.Feature |
InfoMeetsPDFA1a_2005
The PDF Info Dictionary meets the requirements for PDF/A-1a:2005
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA1b_2005
The PDF Info Dictionary meets the requirements for PDF/A-1b:2005 (not
part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA1b_2005_Acrobat7
The PDF Info Dictionary meets the requirements for the incorrect variation of
PDF/A-1b:2005 created and required by Acrobat 7 (not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA2a
The PDF Info Dictionary meets the requirements for PDF/A-2a
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA2b
The PDF Info Dictionary meets the requirements for PDF/A-2b
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA2u
The PDF Info Dictionary meets the requirements for PDF/A-2u
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA3a
The PDF Info Dictionary meets the requirements for PDF/A-3a
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA3b
The PDF Info Dictionary meets the requirements for PDF/A-3b
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFA3u
The PDF Info Dictionary meets the requirements for PDF/A-3u
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFUA1
The PDF XMP Metadata meets the requirements for PDF/UA-1
(not part of basic profile).
|
static OutputProfile.Feature |
InfoMeetsPDFX1a_2001
The PDF Info Dictionary meets the requirements for PDF/X-1a:2001.
|
static OutputProfile.Feature |
InfoMeetsPDFX1a_2003
The PDF Info Dictionary meets the requirements for PDF/X-1a:2003.
|
static OutputProfile.Feature |
InfoMeetsPDFX3_2002
The PDF Info Dictionary meets the requirements for PDF/X-3:2002.
|
static OutputProfile.Feature |
InfoMeetsPDFX3_2003
The PDF Info Dictionary meets the requirements for PDF/X-3:2003.
|
static OutputProfile.Feature |
InlineImage
The PDF contains an inline image (not part of basic profile).
|
static OutputProfile.Feature |
IntegerOverflow
The PDF contains an Integer > ±231-1.
|
static OutputProfile.Feature |
InterpolatedImage
The PDF contains at least one interpolated image
(not part of basic profile)
|
static OutputProfile.Feature |
InvalidColorProfile
The PDF contains an invalid ICC ColorProfile.
|
static OutputProfile.Feature |
InvalidFont
The PDF contains a Font that is damaged or otherwise invalid.
|
static OutputProfile.Feature |
JavaScript
The PDF has JavaScript (not part of basic profile).
|
static OutputProfile.Feature |
JPXColorSpaceLab
The PDF contains a JPX stream that uses a L*a*b* ColorSpace.
|
static OutputProfile.Feature |
JPXContentMismatch
The PDF contains a JPX stream where the external values (for width, height or colorspace)
don't match the values defined by the stream.
|
static OutputProfile.Feature |
JPXNotBaseline
The PDF contains a JPX stream that is does not mee the "baseline" requirements for JPX in PDF.
|
static OutputProfile.Feature |
JunkAfterHeader
There is junk in the PDF file immmediately after the header line.
|
static OutputProfile.Feature |
LanguageSpecified
The PDF has a Language tag, indicating the natural language of the document
|
static OutputProfile.Feature |
LegacyNamedActions
The PDF contains an old-style Map of
PDFAction referenced by name. |
static OutputProfile.Feature |
Linearized
The PDF is Linearized (also known as web ready).
|
static OutputProfile.Feature |
LinearizedLoader
The PDF is
Linearized and has been loaded using the Linearized Loader. |
static OutputProfile.Feature |
LinkWithoutContents
The PDF contains an
AnnotationLink that does not specify the Contents . |
static OutputProfile.Feature |
MagentaSeparation
The PDF uses a Separation colorspace with an ink name of Magenta (not part
of basic profile).
|
static OutputProfile.Feature |
MarkedProperty
The PDF contains marked-content operators - a DP, BDC or BMC
|
static OutputProfile.Feature |
MaximumCompression
The PDF should be compressed using the maximum level of compression.
|
static OutputProfile.Feature |
MergeResources
When merging multiple PDFs, if this feature is set then the PDF will be scanned
on
render and duplicate resources (such as fonts and images)
merged if possible. |
static OutputProfile.Feature |
MergeResourcesFast
As for
MergeResources , but skips most of the work and just picks off
the items that are literally identical. |
static OutputProfile.Feature |
MissingTrimAndArtBox
The PDF has pages missing both Art and Trim boxes (not part of basic profile).
|
static OutputProfile.Feature |
MultipleRevisions
The PDF has multiple revisions.
|
static OutputProfile.Feature |
NamedActions
The PDF contains a Map of
PDFAction referenced by name. |
static OutputProfile.Feature |
NameNotUTF8
The PDF contains a Name representing a String which is not a valid UTF-8 byte sequence.
|
static OutputProfile.Feature |
NameOverflow
The PDF contains a Name > 127 bytes.
|
static OutputProfile.Feature |
NeedAppearancesNotFalse
The NeedAppearances flag of the Form dictionary is set.
|
static OutputProfile.Feature |
NestingOverflow
The PDF contains q/Q operations that nest more than 28 deep.
|
static OutputProfile.Feature |
NoEOLStream
The PDF contains a Stream without a traling EOL character.
|
static OutputProfile.Feature |
NoFourByteComment
The four-byte binary comment immediately after the "%PDF-" marker and recommended
by Adobe is missing
|
static OutputProfile.Feature |
NoMediaBox
The PDF contains a page with no media box.
|
static OutputProfile.Feature |
NonPopupAnnotationPrintFlagNotSet
The PDF contains a non-popup Annotation that is set not to print.
|
static OutputProfile.Feature |
NonStandardEncryption
The PDF is encrypted with a handler other than the
StandardEncryptionHandler |
static OutputProfile.Feature |
NonSymbolicTrueTypeWithoutCMap
The PDF embeds a non-symbolic TrueType font with no CMap
This is not allowed in PDF/A-2 or later (not part of basic profile).
|
static OutputProfile.Feature |
NonSymbolicTrueTypeWithoutMacRomanOrWinAnsiEncoding
The PDF embeds a non-symbolic TrueType font without a MacRoman or WinAnsi Encoding.
|
static OutputProfile.Feature |
NonSymbolicTrueTypeWithoutPureMacRomanOrWinAnsiEncoding
The PDF embeds a non-symbolic TrueType font that is a valid variation on MacRoman or WinAnsi Encoding.
|
static OutputProfile.Feature |
NotdefGlyph
The PDF contains a reference to the .notdef named glyph
This is not allowed in PDF/A-2 and later
(not part of basic profile).
|
static OutputProfile.Feature |
OddHexString
The PDF contains a Hex string with an odd length.
|
static OutputProfile.Feature |
OPI
An image or Form XObject contains OPI (Open Prepress Interface) comments.
|
static OutputProfile.Feature |
OptionalContent
The PDF has pages with optional content (not part of basic profile).
|
static OutputProfile.Feature |
OptionalContentOrderIncomplete
The PDF contains an Optional Content Configuration dictionary which specifies an Order,
but the Order doesn't list every Optional Content Group in the PDF.
|
static OutputProfile.Feature |
OptionalContentUsageApplication
The PDF contains an Optional Content Configuration dictionary which specifies the AS
(Usage Application) Dictionary.
|
static OutputProfile.Feature |
OptionalContentWithDuplicateName
The PDF contains an Optional Content Configuration Dictionary which duplicates the name
of another dictionary.
|
static OutputProfile.Feature |
OptionalContentWithoutName
The PDF contains an Optional Content Configuration Dictionary with no name.
|
static OutputProfile.Feature |
OutputIntentReferenceProfile
The PDF contains an OutputIntent where ColorSpace is referenced rather than embedded.
|
static OutputProfile.Feature |
Overprint
The PDF uses Overprinting, which usually requires special settings to reproduce correctly
on a subtractive output device such as a screen.
|
static OutputProfile.Feature |
OverprintInICCCMYK
The PDF uses overprinting in an ICC-based CMYK profile.
|
static OutputProfile.Feature |
PageAnnotationsNotInStructureOrder
A PDF has a Structure Tree and a PDFPage containing Annotations, but does not specify the Tab order for those annotations as Structure Order
This is disallowed for PDF/UA (not part of basic profile)
|
static OutputProfile.Feature |
PageDimensionsOutOfBounds
|
static OutputProfile.Feature |
PageLabels
The PDF has page labels.
|
static OutputProfile.Feature |
PageTemplates
The PDF has Page Templates - named pages which are not visibile in the document,
but which can be used to create other pages dynamically using JavaScript.
|
static OutputProfile.Feature |
PDFAExtensionSchemaBadPrefix
The XMP metadata contains a PDF/A extension schema which has a bad prefix.
|
static OutputProfile.Feature |
PDFAExtensionSchemaBadSchema
The XMP metadata contains a PDF/A extension schema which has a bad prefix.
|
static OutputProfile.Feature |
PDFAExtensionSchemaNamespaceInvalid
The XMP metadata contains a PDF/A extension schema which has a namespace URI that doesn't
end in '#' or '/'.
|
static OutputProfile.Feature |
PDFAExtensionSchemaNoDescription
The XMP metadata contains a PDF/A extension schema which has no description
for a property.
|
static OutputProfile.Feature |
PDFAExtensionSchemaNoValueType
The XMP metadata contains a PDF/A extension schema which has a valueType for
a property.
|
static OutputProfile.Feature |
PDFAExtensionSchemaUndefined
The PDF contains XMP metadata with an extension schema that is undefined.
|
static OutputProfile.Feature |
PDFAExtensionSchemaUndefinedValueType
The XMP metadata contains a PDF/A extension schema which has an undefined
value type for a property.
|
static OutputProfile.Feature |
PDFAExtensionSchemaValueTypeMismatch
The XMP metadata contains a PDF/A extension schema which has an incompatible
type for a property.
|
static OutputProfile.Feature |
PDFVersion10
The PDF header describes it as version 1.0
|
static OutputProfile.Feature |
PDFVersion11
The PDF header describes it as version 1.1
|
static OutputProfile.Feature |
PDFVersion12
The PDF header describes it as version 1.2 (compatible with Acrobat 3.x).
|
static OutputProfile.Feature |
PDFVersion13
The PDF header describes it as version 1.3 (compatible with Acrobat 4.x).
|
static OutputProfile.Feature |
PDFVersion14
The PDF header describes it as version 1.4 (compatible with Acrobat 5.x).
|
static OutputProfile.Feature |
PDFVersion15
The PDF header describes it as version 1.5 (compatible with Acrobat 6.x).
|
static OutputProfile.Feature |
PDFVersion16
The PDF header describes it as version 1.6 (compatible with Acrobat 7.x).
|
static OutputProfile.Feature |
PDFVersion17
The PDF header describes it as version 1.7 with no extension level
(compatible with Acrobat 8.x and ISO 32000-1:2008).
|
static OutputProfile.Feature |
PDFVersion17e3
The PDF header describes it as version 1.7 with an ExtensionLevel of 3
(compatible with Acrobat 9.x and ISO 32000-1:2008 extension 3).
|
static OutputProfile.Feature |
PDFVersion17e5
The PDF header describes it as version 1.7 with an ExtensionLevel of 5
(compatible with Acrobat 9.1 and ISO 32000-1:2008 extension 5).
|
static OutputProfile.Feature |
PDFVersion17e8
The PDF header describes it as version 1.7 with an ExtensionLevel of 8
(compatible with Acrobat X).
|
static OutputProfile.Feature |
PDFVersion20
The PDF header describes it as version 2.0
If this feature is denied when an OutputProfile is applied,
then the version number will be downgraded
|
static OutputProfile.Feature |
PermissionsWithDocMDPAndDigest
The PDF contains a permissions dictionary with a DocMDP entry
containing signature references with a digest
(not part of basic profile).
|
static OutputProfile.Feature |
PermissionsWithUnknownEntry
The PDF contains a permissions dictionary with an entry other
than DocMDP or UR3
(not part of basic profile).
|
static OutputProfile.Feature |
PopupAnnotationPrintFlagNotSet
The PDF contains a popup annotation that is set not to print.
|
static OutputProfile.Feature |
Portfolio
The PDF is a PDF Portfolio, a collection of PDF documents stored as attachments to the parent.
|
static OutputProfile.Feature |
PortfolioFolders
The PDF is a PDF
Portfolio and contains subfolders. |
static OutputProfile.Feature |
PostScriptXObject
The PDF contains a PostScript XObject (not part of basic profile).
|
static OutputProfile.Feature |
PublicKeyEncryption
The PDF is encrypted with a Public Key.
|
static OutputProfile.Feature |
PurgeResources
When saving a modified PDF, in general the PDF API will not include items that
have been removed from the document.
|
static OutputProfile.Feature |
PushButtonAppearanceIsDictionary
The PDF contains a push-button annotation with an N entry that is a Dictionary
containing a Stream.
|
static OutputProfile.Feature |
PushButtonAppearanceIsStream
The PDF contains a push-button annotation with an N entry that is a Stream.
|
static OutputProfile.Feature |
RadioButtonAppearanceIsDictionary
The PDF contains a radio-button or checkbox annotation with an N entry that is a Dictionary
containing a Stream.
|
static OutputProfile.Feature |
RadioButtonAppearanceIsStream
The PDF contains a radio-button or checkbox annotation with an N entry that is a Stream.
|
static OutputProfile.Feature |
ReaderExtensions
The PDF contains Reader Extensions.
|
static OutputProfile.Feature |
RealOverflow
The PDF contains a real number > ±3.4028234 × 1038, which is
the maximum size for a 32-bit float under IEEE754.
|
static OutputProfile.Feature |
RealOverflow14
The PDF contains a real number greater than 32767 or less than
-32767.
|
static OutputProfile.Feature |
RealOverflowPDFA
The PDF contains a real number > ±3.403 × 1038 - this is
not recommended in PDF and disallowed by PDF/A-2 and later.
|
static OutputProfile.Feature |
RealUnderflow
The PDF contains a real number < ±1.175 × 10-38.
|
static OutputProfile.Feature |
RedGreenBlueSeparation
The PDF uses a Separation colorspace with an ink name of Red, Green or Blue.
|
static OutputProfile.Feature |
ReferenceXObject
The PDF contains a Reference XObject (not part of basic profile).
|
static OutputProfile.Feature |
RegularCompression
The PDF should be compressed.
|
static OutputProfile.Feature |
RenderingIntent
The PDF contains operations to set the Rendering Intent (not part of basic profile).
|
static OutputProfile.Feature |
RenderingIntentUnknown
The PDF contains a Rendering Intent that is not one of the values defined in the
PDF specification
(not part of basic profile)
|
static OutputProfile.Feature |
ShadingPattern
The PDF contains a shading pattern (not part of basic profile).
|
static OutputProfile.Feature |
SignatureCoverageIncomplete
The PDF contains a digital signature which does not cover a full revision of the file.
|
static OutputProfile.Feature |
SignatureHasMultipleSigners
The PDF contains a digital signature with multiple signers.
|
static OutputProfile.Feature |
SignaturePAdES
The PDF contains a digital siganture which matches the PAdES standards.
|
static OutputProfile.Feature |
SignaturePKCS7Invalid
The PDF contains a digital signature which claims to be PKCS#7 but has either:
An invalid PKCS#7 object
A valid PKCS#7 object but with multiple
SignerInfo objects
A valid PKCS#7 object but with the signer certificate not included
This is not allowed in PDF/A-2 and later (not part of basic profile) |
static OutputProfile.Feature |
SignatureWithECDSA
The PDF contains a Digital Signature that makes use of the ECDSA (elliptic curve) algorithm somewhere.
|
static OutputProfile.Feature |
SignatureWithMD5
The PDF contains a Digital Signature that makes use of the MD5 algorithm somewhere.
|
static OutputProfile.Feature |
SignatureWithRIPEMD160
The PDF contains a Digital Signature that makes use of the RIPEMD-160 algorithm somewhere.
|
static OutputProfile.Feature |
SignatureWithRSA
The PDF contains a Digital Signature that makes use of the RSA encryption algorithm somewhere.
|
static OutputProfile.Feature |
SignatureWithSHA1
The PDF contains a Digital Signature that makes use of the SHA1 algorithm somewhere.
|
static OutputProfile.Feature |
SignatureWithSHA256
The PDF contains a Digital Signature that makes use of the SHA-256 (more properly, SHA-2 256bit) algorithm.
|
static OutputProfile.Feature |
SignatureWithSHA384
The PDF contains a Digital Signature that makes use of the SHA-384 (more properly, SHA-2 384bit) algorithm.
|
static OutputProfile.Feature |
SignatureWithSHA512
The PDF contains a Digital Signature that makes use of the SHA-512 (more properly, SHA-2 512bit) algorithm.
|
static OutputProfile.Feature |
SignatureWithUnknownHash
The PDF contains a Digital Signature that makes use of an unrecognised algorithm somewhere.
|
static OutputProfile.Feature |
SinglePixelImage
The PDF contains a 1x1 pixel bitmap image.
|
static OutputProfile.Feature |
Slideshow
The PDF defines a Slideshow or another type of alternate presentation.
|
static OutputProfile.Feature |
StreamContainsFormXObject
The PDF contains a stream with a Form XObject (not part of basic profile)
|
static OutputProfile.Feature |
StreamContainsPathOperators
The PDF contains a stream with path operations (not part of basic profile)
|
static OutputProfile.Feature |
StreamContainsText
The PDF contains a stream with text operations (not part of basic profile)
|
static OutputProfile.Feature |
StreamLengthIncorrect
The PDF contains a Stream with an invalid Length.
|
static OutputProfile.Feature |
StringOverflow
The PDF contains a String > 65535 bytes.
|
static OutputProfile.Feature |
StructureTree
The PDF has a Structure Tree, which may or may not claim conformance to
the "Tagged PDF" convention.
|
static OutputProfile.Feature |
StructureTreeXObjectRepeat
The PDF contains an XObject which is referenced more than once in the Structure Tree.
|
static OutputProfile.Feature |
SubPageNavigation
Ths PDF contains sub-page navigation on a Page, by means of the "PresSteps" key.
|
static OutputProfile.Feature |
SymbolicTrueTypeEncodingAmbiguous
The PDF embeds a symbolic TrueType font with a single encoding, but that
encoding is not 3/0.
|
static OutputProfile.Feature |
SymbolicTrueTypeWithEncodingEntry
The PDF embeds a symbolic TrueType font with an Encoding entry specified.
|
static OutputProfile.Feature |
SymbolicTrueTypeWithoutOneEncoding
The PDF embeds a symbolic TrueType with more than one Encoding.
|
static OutputProfile.Feature |
TagAnnotationNoteIDNotUnique
The PDF contains a Note Tag which has an ID that is used elsewhere, or it has no ID at all.
|
static OutputProfile.Feature |
TagAnnotationNotInAnnot
The PDF contains a
PDFAnnotation (other than a Widget, Popup or Link) that is not inside an Annot Tag. |
static OutputProfile.Feature |
TagAnnotationWithoutAlt
The PDF contains an Annot Tag that has no Alt attribute.
|
static OutputProfile.Feature |
TagArtifactInStructureTree
The PDF contains an "Artifact" tag inside a non-artifact tag.
|
static OutputProfile.Feature |
TagBadHeadingNumber
The PDF contains some "weak" heading Tag (H1..H6) that do not start from H1.
|
static OutputProfile.Feature |
TagBadListElement
The PDF contains a List, LI or Lbl Tag that is incorrectly placed according to the hierarchy rules in ISO32000.
|
static OutputProfile.Feature |
TagBadRubyElement
The PDF contains a Ruby Tag that is incorrectly placed according to the hierarchy rules in ISO32000.
|
static OutputProfile.Feature |
TagBadTableElement
The PDF contains a Table, TH, TD, TR, TBody, THead or TFoot Tag that is incorrectly
placed according to the hierarchy rules in ISO32000 - for example, a TD is not contained
inside a TR.
|
static OutputProfile.Feature |
TagBadTOCElement
The PDF contains a TOC or TOCI Tag that is incorrectly placed according to the hierarchy rules in ISO32000.
|
static OutputProfile.Feature |
TagBadWarichuElement
The PDF contains a Warichu Tag that is incorrectly placed according to the hierarchy rules in ISO32000.
|
static OutputProfile.Feature |
TagBothWeaklyAndStronglyStructured
The PDF contains both "weak" and "strong" heading Tags in a Section.
|
static OutputProfile.Feature |
TagCircularMapping
The PDF contains Tag RoleMap which forms a circular mappping.
|
static OutputProfile.Feature |
TagDuplicateH
The PDF contains a "strong" heading Tag (H) that is repeated in a Section.
|
static OutputProfile.Feature |
TagFieldWithoutAlt
The PDF contains a Field Tag that has no Alt attribute.
|
static OutputProfile.Feature |
TagFigureAlternativeMissing
The PDF contains a Figure Tag with no Alt attribute or replacement text.
|
static OutputProfile.Feature |
TagFormulaWithoutAlt
The PDF contains a Formula Tag with no Alt attribute.
|
static OutputProfile.Feature |
TaggedPDF
The PDF is a "Tagged PDF", which means it not only contains a Structure Tree,
but that the Structure Tree claims to conform to the "Tagged PDF"
conventions.
|
static OutputProfile.Feature |
TaggedPDFHasSuspects
The PDF contains a MarkInfo dictionary that sets "Suspects" to true.
|
static OutputProfile.Feature |
TagLinkOutsideLink
The PDF contains an
AnnotationLink that is not inside a Link Tag. |
static OutputProfile.Feature |
TagNoLanguage
The PDF contains text content, including the content of an Alt, ActualText or E
attribute, that has no natural language specified.
|
static OutputProfile.Feature |
TagNonStandard
The PDF contains a Tag which is not one of the standard tags described in ISO32000,
or it contains a standard tag that is mapped to a tag that meets this description.
|
static OutputProfile.Feature |
TagNonStandard14
The PDF contains a Tag which is not one of the standard tags described in PDF Reference 1.4,
or it contains a standard tag that is mapped to a tag that meets this description.
|
static OutputProfile.Feature |
TagNoScope
The PDF contains a TH Tag that doesn't define whether it's a horizontal or vertial TH..
|
static OutputProfile.Feature |
TagPrinterMarkNotArtifact
The PDF contains an "PrinterMark" annotation that is referenced from the Structure Tree.
|
static OutputProfile.Feature |
TagRemappedStandardType
The PDF contains Tag RoleMap which remaps a standard tag.
|
static OutputProfile.Feature |
TagSkippedHeadingNumber
The PDF contains some "weak" heading Tag (H1..H6) that do not progress sequentially (from H1 to H2 to H3 and so on).
|
static OutputProfile.Feature |
TagTaggedContentInsideArtifact
The PDF contains a non-artifact tag inside an "Artifact" tag.
|
static OutputProfile.Feature |
TagUnmarkedContent
The PDF contains visible content that is unmarked - i.e. it is neither an Artifact or part of the Structure Tree.
|
static OutputProfile.Feature |
TagWidgetOutsideForm
The PDF contains a
WidgetAnnotation that is not inside a Form Tag. |
static OutputProfile.Feature |
Thumbnails
The PDF has Thumbnails included with the document.
|
static OutputProfile.Feature |
TooManyCIDs
The PDF contains a CMap which has > 65535 CIDs.
|
static OutputProfile.Feature |
ToUnicodeValueInvalid
A ToUnicode map in the PDF maps a value to 0, 0xFFFE or 0xFFFF.
|
static OutputProfile.Feature |
TrailerNotAtEnd
There is junk in the PDF file following the %%EOF marker
|
static OutputProfile.Feature |
TransferFunction
The PDF contains a Transfer function (not part of basic profile).
|
static OutputProfile.Feature |
TransferFunctionIsDefault
The PDF contains a Transfer function of Default (not part of basic profile).
|
static OutputProfile.Feature |
TransferFunctionIsIdentity
The PDF contains a Transfer function of Identity (not part of basic profile).
|
static OutputProfile.Feature |
TransferFunctionIsOther
The PDF contains a Transfer function (not part of basic profile).
|
static OutputProfile.Feature |
Transparency
The PDF contains transparency (not part of basic profile).
|
static OutputProfile.Feature |
TransparencyGroup
The PDF contains a Transparency Group (not part of basic profile).
|
static OutputProfile.Feature |
TrueTypeIsTricky
The PDF embeds a TrueType font which using the hinting program to shape the glyphs.
|
static OutputProfile.Feature |
UncompressedXRef
The PDF has the regular old-style XRef table.
|
static OutputProfile.Feature |
UnembeddedCMap
The PDF contains a CID font with an unembedded CMap not listed in the PDF specification.
|
static OutputProfile.Feature |
UnembeddedNonStandardSymbolicFont
The PDF contains an unembedded font which is marked as Symbolic and which is not one of
the ones guaranteed to be available to Acrobat.
|
static OutputProfile.Feature |
UnembeddedStandardCMap
The PDF contains a CID font with an unembedded CMap listed in the PDF specification
other than Identity-H or Identity-V.
|
static OutputProfile.Feature |
UnknownBlendMode
The PDF specifies an unknown blend mode.
|
static OutputProfile.Feature |
UnknownOutputIntentRegistry
The PDF contains an OutputIntent which is not in the http://www.color.org Registry
|
static OutputProfile.Feature |
UnknownOutputIntentRegistryWithoutProfile
The PDF contains an OutputIntent which is not in the http://www.color.org Registry
and does not reference an embedded ICC profile
|
static OutputProfile.Feature |
UnknownStreamOperator
The PDF contains a content stream with an unknown operator
(not part of basic profile)
|
static OutputProfile.Feature |
UTF16Encoding
The PDF embeds a font that requires UTF-16 encoding.
|
static OutputProfile.Feature |
VerticalText
The PDF contains text in a font with a vertical writing direction
(not part of basic profile)
|
static OutputProfile.Feature |
ViewBoxNotBleedBox
If BleedBox is present and if the ViewerPreferences dictionary contains the
ViewArea, ViewClip, PrintArea or PrintClip keys, each of these keys present
must be MediaBox or BleedBox for PDF/X-1:2003 and PDF/X-3:2003 (not part of
basic profile)
|
static OutputProfile.Feature |
WeakAES256Encryption
The PDF is encrypted with the deprecated form of 256-bit AES encryption defined in
ISO 32000-1:2008 extension 3.
|
static OutputProfile.Feature |
XFAForm
The PDF contains an XFA Form.
|
static OutputProfile.Feature |
XFAForm20
The PDF contains an XFA Form matching version 2.0 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm22
The PDF contains an XFA Form matching version 2.2 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm24
The PDF contains an XFA Form matching version 2.4 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm25
The PDF contains an XFA Form matching version 2.5 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm26
The PDF contains an XFA Form matching version 2.6 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm27
The PDF contains an XFA Form matching version 2.7 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm28
The PDF contains an XFA Form matching version 2.8 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm30
The PDF contains an XFA Form matching version 3.0 of the XFA specification.
|
static OutputProfile.Feature |
XFAForm31
The PDF contains an XFA Form matching version 3.1 of the XFA specification.
|
static OutputProfile.Feature |
XFAFormIsStream
The PDF contains an XFA Form which is stored as a single stream.
|
static OutputProfile.Feature |
XMPMetaData
The PDF has XMP Metadata.
|
static OutputProfile.Feature |
XMPMetaDataDescribesMultipleResources
The PDF contains XMP metadata containing RDF resource descriptors for multiple objects.
|
static OutputProfile.Feature |
XMPMetaDataHasMixedResourceDescriptors
The PDF contains XMP metadata containing RDF resource descriptors which are a mix of
the empty string and the non-empty string.
|
static OutputProfile.Feature |
XMPMetaDataInfoMismatch
The PDF contains entries in its information dictionary that do
not match the corresponding entries in its XMP metadata.
|
static OutputProfile.Feature |
XMPMetaDataInfoMismatchTrailingZero
The PDF contains entries in its information dictionary that do
not match exactly the corresponding entries in its XMP metadata -
the values in the Information dictionary have a single additional trailing NUL byte.
|
static OutputProfile.Feature |
XMPMetaDataIsFiltered
The PDF contains XMPMetadata that is encoded using a filter.
|
static OutputProfile.Feature |
XMPMetaDataXpacketDeprecatedAttributes
The PDF contains XMP metadata which makes use of the deprecated
attributes "bytes" or "encoding" in the xpacket header.
|
static OutputProfile.Feature |
XMPMetaDataXpacketFormatError
The PDF contains a malformed xpacket header in its XMP metadata.
|
static OutputProfile.Feature |
XMPMetaDataXpacketUnknownAttributes
The PDF contains XMP metadata with an xpacket that contains unknown
attributes.
|
static OutputProfile.Feature |
YellowSeparation
The PDF uses a Separation colorspace with an ink name of Yellow (not part of
basic profile).
|
static OutputProfile.Feature |
ZeroWidthLine
The PDF contains a zero-width line (not part of basic profile).
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get a brief textual description of the Feature
|
String |
getFieldName()
Return the name of the field this feature is declared as in this class,
eg "PDFVersion15" for
PDFVersion15 |
String |
toString() |
public static final OutputProfile.Feature[] ALL
public static final OutputProfile.Feature PDFVersion10
public static final OutputProfile.Feature PDFVersion11
public static final OutputProfile.Feature PDFVersion12
public static final OutputProfile.Feature PDFVersion13
public static final OutputProfile.Feature PDFVersion14
public static final OutputProfile.Feature PDFVersion15
public static final OutputProfile.Feature PDFVersion16
public static final OutputProfile.Feature PDFVersion17
public static final OutputProfile.Feature PDFVersion17e3
public static final OutputProfile.Feature PDFVersion17e5
public static final OutputProfile.Feature PDFVersion17e8
public static final OutputProfile.Feature PDFVersion20
public static final OutputProfile.Feature HasDocID
public static final OutputProfile.Feature DocIDMismatch
public static final OutputProfile.Feature DocIDMissing
public static final OutputProfile.Feature HasTitle
public static final OutputProfile.Feature HasAuthor
public static final OutputProfile.Feature HasSubject
public static final OutputProfile.Feature HasProducer
public static final OutputProfile.Feature HasCreator
public static final OutputProfile.Feature HasCreationDate
public static final OutputProfile.Feature HasModDate
public static final OutputProfile.Feature HasTrapped
public static final OutputProfile.Feature Linearized
public static final OutputProfile.Feature LinearizedLoader
Linearized
and has been loaded using the Linearized Loader.
This implies the PDF may still be loading.public static final OutputProfile.Feature MultipleRevisions
The PDF has multiple revisions. Typically this applies only to documents that have been digitally signed and then amended.
Setting this feature to "required" will cause the document to be rendered with
revisions, even if they are not required by the Document structure. Although rendering
with revisions does increase the size of the document marginally, it does mean that
the PDF file will only be appended to - any existing objects in the PDF will remain
in the same file position. The only time this really matters is when a PDF has been
read in using the PDFReader(File)
constructor, and you want to write back to
the same file. In this case the PDF file is used as a buffer, which means if your
code looks like this...
File file = new File("file.pdf"); PDF pdf = new PDF(new PDFReader(file)); File tempfile = new File("temp.pdf"); OutputStream out = new FileOutputStream(tempfile); pdf.render(out); out.close(); tempfile.renameTo(file);... you need to use this approach. You should always use a temporary file if you're doing this - writing to the same file you're reading from is not guaranteed to work, even with this setting.
public static final OutputProfile.Feature UncompressedXRef
public static final OutputProfile.Feature CompressedXRef
public static final OutputProfile.Feature Bookmarks
PDF.getBookmarks()
.
If this feature is denied when an OutputProfile is applied,
then the Bookmarks will be removed.public static final OutputProfile.Feature Thumbnails
public static final OutputProfile.Feature PageLabels
public static final OutputProfile.Feature Articles
public static final OutputProfile.Feature StructureTree
PDFParser.getStructureTree()
method will
return a not-null value.TaggedPDF
,
PDFParser.getStructureTree()
,
PDF.rebuildStructureTree()
,
PDFPage.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
,
PDFCanvas.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
,
LayoutBox.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
public static final OutputProfile.Feature TaggedPDF
StructureTree
feature
If this feature is set the PDFParser.getStructureTree()
method will
return a not-null value.StructureTree
,
PDFParser.getStructureTree()
,
PDF.rebuildStructureTree()
,
PDFPage.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
,
PDFCanvas.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
,
LayoutBox.beginTag(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)
public static final OutputProfile.Feature LanguageSpecified
public static final OutputProfile.Feature ReaderExtensions
public static final OutputProfile.Feature XMPMetaData
public static final OutputProfile.Feature BadXMPMetaData
public static final OutputProfile.Feature XMPMetaDataIsFiltered
public static final OutputProfile.Feature XMPMetaDataInfoMismatch
public static final OutputProfile.Feature XMPMetaDataInfoMismatchTrailingZero
public static final OutputProfile.Feature XMPMetaDataDescribesMultipleResources
public static final OutputProfile.Feature XMPMetaDataHasMixedResourceDescriptors
PDF.setMetaData(java.lang.String)
with your own custom XMP metadata will allow you to bypass
this test. If you want to be sure when you do this, set the feature as denied on
your OutputProfile, eg:
PDF pdf = new PDF(); OutputProfile profile = new OutputProfile(OutputProfile.PDFA1b_2005, ...); profile.setDenied(OutputProfile.Feature.XMPMetaDataHasMixedResourceDescriptors); pdf.setOutputProfile(profile); pdf.setMetaData(yourdata);
public static final OutputProfile.Feature XMPMetaDataXpacketFormatError
public static final OutputProfile.Feature XMPMetaDataXpacketDeprecatedAttributes
public static final OutputProfile.Feature XMPMetaDataXpacketUnknownAttributes
public static final OutputProfile.Feature PDFAExtensionSchemaUndefined
public static final OutputProfile.Feature PDFAExtensionSchemaNamespaceInvalid
public static final OutputProfile.Feature PDFAExtensionSchemaBadPrefix
public static final OutputProfile.Feature PDFAExtensionSchemaBadSchema
public static final OutputProfile.Feature PDFAExtensionSchemaNoValueType
public static final OutputProfile.Feature PDFAExtensionSchemaNoDescription
public static final OutputProfile.Feature PDFAExtensionSchemaUndefinedValueType
public static final OutputProfile.Feature PDFAExtensionSchemaValueTypeMismatch
public static final OutputProfile.Feature Actions
public static final OutputProfile.Feature AdditionalActions
public static final OutputProfile.Feature ActionsOnDocument
public static final OutputProfile.Feature ActionsOnPages
public static final OutputProfile.Feature ActionsOnWidgets
public static final OutputProfile.Feature ActionsOnFields
public static final OutputProfile.Feature ActionsInBookmarks
public static final OutputProfile.Feature JavaScript
public static final OutputProfile.Feature ActionLaunch
public static final OutputProfile.Feature ActionSound
public static final OutputProfile.Feature ActionMovie
public static final OutputProfile.Feature ActionImportData
public static final OutputProfile.Feature ActionResetForm
public static final OutputProfile.Feature ActionNamedOther
public static final OutputProfile.Feature ActionUnknown
public static final OutputProfile.Feature ActionGoToBadPage
public static final OutputProfile.Feature ActionSetOCGState
public static final OutputProfile.Feature ActionRendition
public static final OutputProfile.Feature ActionTrans
public static final OutputProfile.Feature ActionHide
public static final OutputProfile.Feature ActionGoTo3DView
public static final OutputProfile.Feature NamedActions
PDFAction
referenced by name. This can
be retrieved from the PDF by calling PDF.getNamedActions()
public static final OutputProfile.Feature LegacyNamedActions
PDFAction
referenced by name. The old
approach is still valid, but was replaced by the newer "named action" map represented
by the NamedActions
feature in PDF 1.2. This legacy map will be silently
upgraded to the newer type of Map on the first call to PDF.getNamedActions()
.public static final OutputProfile.Feature Annotations
public static final OutputProfile.Feature AnnotationsInPage
public static final OutputProfile.Feature AnnotationMovie
public static final OutputProfile.Feature AnnotationSound
public static final OutputProfile.Feature AnnotationNote
Note
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationLink
Link
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationText
Text
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationLine
public static final OutputProfile.Feature AnnotationSquare
public static final OutputProfile.Feature AnnotationCircle
public static final OutputProfile.Feature AnnotationPolygon
public static final OutputProfile.Feature AnnotationPolyLine
public static final OutputProfile.Feature AnnotationHighlight
Highlight
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationUnderline
Underline
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationSquiggly
Squiggly
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationStrikeOut
StrikeOut
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationStamp
Stamp
annotation
(not part of basic profile).public static final OutputProfile.Feature AnnotationCaret
public static final OutputProfile.Feature AnnotationInk
public static final OutputProfile.Feature AnnotationPopup
public static final OutputProfile.Feature AnnotationFile
FileAttachment
annotation
(not part of basic profile)public static final OutputProfile.Feature AnnotationWidget
public static final OutputProfile.Feature AnnotationScreen
public static final OutputProfile.Feature AnnotationPrinterMark
public static final OutputProfile.Feature AnnotationTrapNet
public static final OutputProfile.Feature AnnotationWatermark
public static final OutputProfile.Feature Annotation3D
public static final OutputProfile.Feature AnnotationRedact
public static final OutputProfile.Feature AnnotationProjection
public static final OutputProfile.Feature AnnotationRichMedia
public static final OutputProfile.Feature AnnotationUnknown
public static final OutputProfile.Feature BadTrapNetAnnotation
public static final OutputProfile.Feature AnnotationTransparency
public static final OutputProfile.Feature TransparencyGroup
public static final OutputProfile.Feature NonPopupAnnotationPrintFlagNotSet
public static final OutputProfile.Feature PopupAnnotationPrintFlagNotSet
public static final OutputProfile.Feature AnnotationHiddenFlagSet
public static final OutputProfile.Feature AnnotationInvisibleFlagSet
public static final OutputProfile.Feature AnnotationNoViewFlagSet
public static final OutputProfile.Feature AnnotationToggleNoViewFlagSet
public static final OutputProfile.Feature AnnotationNoteNoZoomFlagNotSet
public static final OutputProfile.Feature AnnotationNoteNoRotateFlagNotSet
public static final OutputProfile.Feature AnnotationWithUnpredictableAppearance
public static final OutputProfile.Feature PushButtonAppearanceIsStream
The PDF contains a push-button annotation with an N entry that is a Stream. This is allowed in PDF/A-1, not allowed in PDF/A-2 or 3, but is normal in PDF. (not part of basic profile).
PushButtonAppearanceIsStream
and RadioButtonAppearanceIsDictionary
are set.PushButtonAppearanceIsStream
is OK but
RadioButtonAppearanceIsDictionary
is disallowed. No working radio buttons are possible.RadioButtonAppearanceIsDictionary
is OK but
PushButtonAppearanceIsStream
is disallowed. Push buttons are possible but must be created
in a non-standard manner.RadioButtonAppearanceIsStream
feature (for PDF/A-1) or PushButtonAppearanceIsDictionary
feature (for PDF/A-2 and 3) to required on the profile. This will attempt to convert the structures
into a form that is acceptable to PDF/A, although the document may not render correctly. A better
option is always to delete the field, but this cannot be done automatically.
public static final OutputProfile.Feature PushButtonAppearanceIsDictionary
PushButtonAppearanceIsStream
PushButtonAppearanceIsStream
public static final OutputProfile.Feature RadioButtonAppearanceIsStream
PushButtonAppearanceIsStream
PushButtonAppearanceIsStream
public static final OutputProfile.Feature RadioButtonAppearanceIsDictionary
PushButtonAppearanceIsStream
PushButtonAppearanceIsStream
public static final OutputProfile.Feature FreeFormLink
public static final OutputProfile.Feature EmbeddedFiles
public static final OutputProfile.Feature EmbeddedFileNotPDFA
public static final OutputProfile.Feature MissingTrimAndArtBox
public static final OutputProfile.Feature BothTrimAndArtBox
public static final OutputProfile.Feature OptionalContent
public static final OutputProfile.Feature BadBoxNesting
public static final OutputProfile.Feature PageTemplates
public static final OutputProfile.Feature FileBased
File
. The File is used as a backing
store for the PDF contents, and must remain unmodified for the life of this objectpublic static final OutputProfile.Feature FilterFlate
public static final OutputProfile.Feature FilterCCITT
public static final OutputProfile.Feature FilterASCII85
public static final OutputProfile.Feature FilterASCIIHex
public static final OutputProfile.Feature FilterRLE
public static final OutputProfile.Feature FilterLZW
public static final OutputProfile.Feature FilterInlineFlate
public static final OutputProfile.Feature FilterInlineCCITT
public static final OutputProfile.Feature FilterInlineASCII85
public static final OutputProfile.Feature FilterInlineASCIIHex
public static final OutputProfile.Feature FilterInlineRLE
public static final OutputProfile.Feature FilterInlineLZW
public static final OutputProfile.Feature FilterInlineDCT
public static final OutputProfile.Feature FFilter
public static final OutputProfile.Feature FilterDCT
public static final OutputProfile.Feature FilterJPX
public static final OutputProfile.Feature FilterJBIG2
RegularCompression
attribute is set then all existing CCITT streams
will be recompressed with JBIG2. Alternatively, if this feature is denied any
existing JBIG2 images will be recompressed with CCITT.
See http://bfo.com/products/pdf/jbig2/ for more information.public static final OutputProfile.Feature FilterNoneOnLargeStream
public static final OutputProfile.Feature FilterUnknown
public static final OutputProfile.Feature ImageDepth1
public static final OutputProfile.Feature ImageDepth2
public static final OutputProfile.Feature ImageDepth4
public static final OutputProfile.Feature ImageDepth8
public static final OutputProfile.Feature ImageDepth16
public static final OutputProfile.Feature ImageTransparency
public static final OutputProfile.Feature ComplexBlendMode
public static final OutputProfile.Feature UnknownBlendMode
public static final OutputProfile.Feature CMYKJPEG
java.awt
methods do not parse CMYK JPEG images, and so these will
not display correctly with this library prior to Java 1.4public static final OutputProfile.Feature FullPageImage
public static final OutputProfile.Feature Encryption
public static final OutputProfile.Feature Acrobat5Encryption
public static final OutputProfile.Feature Acrobat6Encryption
public static final OutputProfile.Feature AESEncryption
AES256Encryption
or
WeakAES256Encryption
is also set.
This requires Acrobat 7.0 or later to load.public static final OutputProfile.Feature WeakAES256Encryption
public static final OutputProfile.Feature AES256Encryption
public static final OutputProfile.Feature PublicKeyEncryption
public static final OutputProfile.Feature NonStandardEncryption
StandardEncryptionHandler
public static final OutputProfile.Feature ColorSpaceICC
public static final OutputProfile.Feature ICCProfileVersion4
public static final OutputProfile.Feature ICCProfileVersion3
public static final OutputProfile.Feature ICCProfileVersion2
public static final OutputProfile.Feature ICCProfileVersion1
public static final OutputProfile.Feature ICCProfileNotOutput
public static final OutputProfile.Feature ICCProfileNotOutputOrDisplay
public static final OutputProfile.Feature ICCProfileUnusualColorSpace
public static final OutputProfile.Feature ICCProfileBadColorComponentCount
public static final OutputProfile.Feature ColorSpaceDeviceGray
public static final OutputProfile.Feature ColorSpaceDeviceRGB
public static final OutputProfile.Feature ColorSpaceDeviceCMYK
public static final OutputProfile.Feature ColorSpaceCalGray
public static final OutputProfile.Feature ColorSpaceCalRGB
public static final OutputProfile.Feature ColorSpaceDeviceN
public static final OutputProfile.Feature ColorSpaceNChannel
public static final OutputProfile.Feature ColorSpaceDeviceNMissingColorants
public static final OutputProfile.Feature ColorSpaceSeparation
public static final OutputProfile.Feature ColorSpaceIndexed
public static final OutputProfile.Feature ColorSpaceLab
public static final OutputProfile.Feature ColorSpacePattern
public static final OutputProfile.Feature AltColorSpaceDeviceGray
public static final OutputProfile.Feature AltColorSpaceDeviceRGB
public static final OutputProfile.Feature AltColorSpaceDeviceCMYK
public static final OutputProfile.Feature AltColorSpaceCalRGB
public static final OutputProfile.Feature AltColorSpaceCalGray
public static final OutputProfile.Feature AltColorSpaceLab
public static final OutputProfile.Feature AltColorSpaceICC
public static final OutputProfile.Feature RedGreenBlueSeparation
public static final OutputProfile.Feature JPXColorSpaceLab
public static final OutputProfile.Feature JPXNotBaseline
public static final OutputProfile.Feature CyanSeparation
public static final OutputProfile.Feature MagentaSeparation
public static final OutputProfile.Feature YellowSeparation
public static final OutputProfile.Feature BlackSeparation
public static final OutputProfile.Feature DuplicateSeparation
public static final OutputProfile.Feature AnnotationColorTransparent
public static final OutputProfile.Feature AnnotationColorDeviceGray
public static final OutputProfile.Feature AnnotationColorDeviceRGB
public static final OutputProfile.Feature AnnotationColorDeviceCMYK
public static final OutputProfile.Feature DeviceGrayWithRGBIntent
public static final OutputProfile.Feature DeviceGrayWithCMYKIntent
public static final OutputProfile.Feature DeviceRGBWithGrayIntent
public static final OutputProfile.Feature DeviceRGBWithCMYKIntent
public static final OutputProfile.Feature DeviceCMYKWithGrayIntent
public static final OutputProfile.Feature DeviceCMYKWithRGBIntent
public static final OutputProfile.Feature AnnotationColorMismatchesIntent
public static final OutputProfile.Feature DeviceDependentColor
public static final OutputProfile.Feature FontStandard14
public static final OutputProfile.Feature FontCompactEmbedded
public static final OutputProfile.Feature FontType1Embedded
public static final OutputProfile.Feature FontTrueTypeEmbedded
public static final OutputProfile.Feature FontOpenTypeEmbedded
public static final OutputProfile.Feature FontType3
public static final OutputProfile.Feature FontMultipleMaster
public static final OutputProfile.Feature FontType1Unembedded
public static final OutputProfile.Feature FontTrueTypeUnembedded
public static final OutputProfile.Feature FontType1WithoutToUnicode
public static final OutputProfile.Feature UnembeddedNonStandardSymbolicFont
public static final OutputProfile.Feature FontType0
public static final OutputProfile.Feature CIDFontType1Embedded
public static final OutputProfile.Feature CIDSystemInfoAndCMapNotCompatible
public static final OutputProfile.Feature UnembeddedCMap
public static final OutputProfile.Feature UnembeddedStandardCMap
public static final OutputProfile.Feature CIDFontType1Unembedded
public static final OutputProfile.Feature CIDFontTrueTypeEmbedded
public static final OutputProfile.Feature CIDFontTrueTypeUnembedded
StandardCJKFont
are this type of font.public static final OutputProfile.Feature CIDFontCompactEmbedded
public static final OutputProfile.Feature CIDFontOpenTypeEmbedded
public static final OutputProfile.Feature FontEmbeddingRestrictions
public static final OutputProfile.Feature CMapEmbeddedWithInvalidWMode
public static final OutputProfile.Feature FontType1SubsetWithoutCharset
public static final OutputProfile.Feature FontType1SubsetWithIncompleteCharset
public static final OutputProfile.Feature FontWidthsNotConsistent
public static final OutputProfile.Feature NonSymbolicTrueTypeWithoutMacRomanOrWinAnsiEncoding
public static final OutputProfile.Feature NonSymbolicTrueTypeWithoutPureMacRomanOrWinAnsiEncoding
public static final OutputProfile.Feature NonSymbolicTrueTypeWithoutCMap
public static final OutputProfile.Feature SymbolicTrueTypeWithEncodingEntry
public static final OutputProfile.Feature SymbolicTrueTypeWithoutOneEncoding
public static final OutputProfile.Feature SymbolicTrueTypeEncodingAmbiguous
public static final OutputProfile.Feature TrueTypeIsTricky
public static final OutputProfile.Feature CIDFontSubsetWithoutCIDSet
public static final OutputProfile.Feature CIDSetCoverageIncomplete
public static final OutputProfile.Feature CIDSetCoverageIncompleteTolerant
CIDSetCoverageIncomplete
, this feature is not set when the CIDSet doesn't
list a glyph that has no content (which is how removed glyphs are represented in a
TrueType font).
This feature is not currently denied in our {link #PDFA2b} and OutputProfile.PDFA3b
profiles,
but can be used instead of CIDSetCoverageIncomplete
to match the behaviour of
other toolkits.public static final OutputProfile.Feature UTF16Encoding
public static final OutputProfile.Feature FontWithMissingGlyphs
public static final OutputProfile.Feature FontSymbolicStatusUndefined
public static final OutputProfile.Feature NotdefGlyph
public static final OutputProfile.Feature InvalidFont
public static final OutputProfile.Feature FontWithoutMetadata
public static final OutputProfile.Feature CIDFontTrueTypeWithoutCIDToGIDMap
public static final OutputProfile.Feature Transparency
public static final OutputProfile.Feature BXEXOperator
public static final OutputProfile.Feature InlineImage
public static final OutputProfile.Feature Hairline
OutputProfiler.setHairlineWidth(float)
public static final OutputProfile.Feature ZeroWidthLine
public static final OutputProfile.Feature ShadingPattern
public static final OutputProfile.Feature PostScriptXObject
public static final OutputProfile.Feature ReferenceXObject
public static final OutputProfile.Feature HalftoneName
public static final OutputProfile.Feature HalftoneNot1or5
public static final OutputProfile.Feature TransferFunctionIsIdentity
public static final OutputProfile.Feature TransferFunctionIsDefault
TransferFunction
feature from the denied list.public static final OutputProfile.Feature TransferFunctionIsOther
public static final OutputProfile.Feature TransferFunction
public static final OutputProfile.Feature OPI
public static final OutputProfile.Feature RenderingIntent
public static final OutputProfile.Feature AlternateImagePrints
public static final OutputProfile.Feature StreamContainsFormXObject
public static final OutputProfile.Feature StreamContainsPathOperators
public static final OutputProfile.Feature StreamContainsText
public static final OutputProfile.Feature RenderingIntentUnknown
public static final OutputProfile.Feature UnknownStreamOperator
public static final OutputProfile.Feature AlternateImage
public static final OutputProfile.Feature InterpolatedImage
public static final OutputProfile.Feature VerticalText
public static final OutputProfile.Feature ColorContent
public static final OutputProfile.Feature GrayscaleContent
public static final OutputProfile.Feature ColorImage
public static final OutputProfile.Feature GrayscaleImage
public static final OutputProfile.Feature BlackAndWhiteImage
ImageDepth1
as that doesn't require grayscale.public static final OutputProfile.Feature Form
public static final OutputProfile.Feature NeedAppearancesNotFalse
public static final OutputProfile.Feature DigitallySigned
public static final OutputProfile.Feature AuthorSignature
public static final OutputProfile.Feature PermissionsWithUnknownEntry
public static final OutputProfile.Feature PermissionsWithDocMDPAndDigest
public static final OutputProfile.Feature XFAForm
public static final OutputProfile.Feature XFAFormIsStream
public static final OutputProfile.Feature XFAForm20
public static final OutputProfile.Feature XFAForm22
public static final OutputProfile.Feature XFAForm24
public static final OutputProfile.Feature XFAForm25
public static final OutputProfile.Feature XFAForm26
public static final OutputProfile.Feature XFAForm27
public static final OutputProfile.Feature XFAForm28
public static final OutputProfile.Feature XFAForm30
public static final OutputProfile.Feature XFAForm31
public static final OutputProfile.Feature Portfolio
pagemode
option on the PDF: if it's "UseAttachments", it's likely
a PDF Portfolio.public static final OutputProfile.Feature PortfolioFolders
Portfolio
and contains subfolders. This is a new feature
added in ISO 32000-1:2008 extension 3 (Acroabt X).public static final OutputProfile.Feature HasOutputIntent
public static final OutputProfile.Feature HasOutputIntentGTS_PDFX
public static final OutputProfile.Feature HasOutputIntentGTS_PDFA1
public static final OutputProfile.Feature HasOutputIntentGTS_PDFA
GTS_PDFA1
. Part of OutputProfile.PDFA1b_2005_Acrobat
public static final OutputProfile.Feature HasGrayOutputIntent
public static final OutputProfile.Feature HasRGBOutputIntent
public static final OutputProfile.Feature HasCMYKOutputIntent
public static final OutputProfile.Feature HasUnknownOutputIntent
public static final OutputProfile.Feature UnknownOutputIntentRegistry
public static final OutputProfile.Feature HasUnembeddedOutputIntent
public static final OutputProfile.Feature HasReferenceOutputIntent
public static final OutputProfile.Feature UnknownOutputIntentRegistryWithoutProfile
public static final OutputProfile.Feature HasMultipleOutputIntents
public static final OutputProfile.Feature HasMultipleDifferentOutputIntents
public static final OutputProfile.Feature InfoMeetsPDFX1a_2001
public static final OutputProfile.Feature InfoMeetsPDFX1a_2003
public static final OutputProfile.Feature InfoMeetsPDFX3_2002
public static final OutputProfile.Feature InfoMeetsPDFX3_2003
public static final OutputProfile.Feature InfoMeetsPDFA1b_2005
public static final OutputProfile.Feature InfoMeetsPDFA1b_2005_Acrobat7
InfoMeetsPDFA1b_2005
will produce a valid PDF/A document, unfortunately Acrobat 8.0 will still flag
it as being incorrect. For that reason this feature is not part of the
OutputProfile.PDFA1b_2005
Output Profile, and we recommend not including this feature
unless you have a specific reason to target Acrobat 7.0.public static final OutputProfile.Feature InfoMeetsPDFA1a_2005
public static final OutputProfile.Feature InfoMeetsPDFA2a
public static final OutputProfile.Feature InfoMeetsPDFA2b
public static final OutputProfile.Feature InfoMeetsPDFA2u
public static final OutputProfile.Feature InfoMeetsPDFA3a
public static final OutputProfile.Feature InfoMeetsPDFA3b
public static final OutputProfile.Feature InfoMeetsPDFA3u
public static final OutputProfile.Feature ViewBoxNotBleedBox
public static final OutputProfile.Feature ImagePluginHeader
public static final OutputProfile.Feature RegularCompression
public static final OutputProfile.Feature MaximumCompression
Deflater.BEST_COMPRESSION
setting to be used.
This can slow things down a fair bit so is off by default. Setting it typically
works best when recompressing a file using the RegularCompression
feature as well.public static final OutputProfile.Feature MergeResources
render
and duplicate resources (such as fonts and images)
merged if possible. This process may be time consuming but can reduce the size
of the resulting PDF. Performing this action on a signed PDF will almost certainly
invalidate the signature. Here's an example:
PDF pdf1 = new PDF(new PDFReader(new File("file1.pdf"))); pdf1.getOutputProfile().setRequired(OutputProfile.Feature.MergeResources); PDF pdf2 = new PDF(new PDFReader(new File("file2.pdf"))); pdf1.getPages().addAll(pdf2.getPages()); pdf1.render(new FileOutputStream("out.pdf"));As a result of this feature being set on "pdf1", when it's rendered it will be scanned looking for duplicate objects. If both PDFs embedded the same image, for example, these will be consolidated down to a single bitmap.
MergeResourcesFast
public static final OutputProfile.Feature MergeResourcesFast
MergeResources
, but skips most of the work and just picks off
the items that are literally identical. This can have a big impact quite quickly
for file that have been joined together from lots of smaller parts that contain
identical information, for example colorspaces or images. However it will not
be as effectice as the full, slower merge run with MergeResources
is set.public static final OutputProfile.Feature PurgeResources
public static final OutputProfile.Feature FileIsDamaged
public static final OutputProfile.Feature ContentIsDamaged
public static final OutputProfile.Feature HintsAreDamaged
public static final OutputProfile.Feature ImperfectWhitespace
public static final OutputProfile.Feature StreamLengthIncorrect
public static final OutputProfile.Feature ImageLengthIncorrect
public static final OutputProfile.Feature NoEOLStream
public static final OutputProfile.Feature OddHexString
public static final OutputProfile.Feature HeaderNotAtStart
public static final OutputProfile.Feature JunkAfterHeader
public static final OutputProfile.Feature TrailerNotAtEnd
public static final OutputProfile.Feature NoFourByteComment
public static final OutputProfile.Feature ArrayOverflow
public static final OutputProfile.Feature DictionaryOverflow
public static final OutputProfile.Feature IntegerOverflow
Integer.MAX_VALUE
or Integer.MIN_VALUE
.
(not part of basic profile)public static final OutputProfile.Feature RealUnderflow
RealOverflow
public static final OutputProfile.Feature RealOverflow
RealOverflowPDFA
, we recommend the condition defined by this feature to be met for
any PDF/A documents, to ensure the document has a better chance of being reliably loaded on
other environments.
RealOverflowPDFA
public static final OutputProfile.Feature RealOverflow14
RealOverflow
public static final OutputProfile.Feature RealOverflowPDFA
RealOverflow
RealUnderflow
,
RealOverflow
public static final OutputProfile.Feature NameOverflow
public static final OutputProfile.Feature NameNotUTF8
public static final OutputProfile.Feature StringOverflow
public static final OutputProfile.Feature IndirectObjectOverflow
public static final OutputProfile.Feature Device9ColorSpace
public static final OutputProfile.Feature Device33ColorSpace
public static final OutputProfile.Feature NestingOverflow
public static final OutputProfile.Feature Overprint
public static final OutputProfile.Feature OverprintInICCCMYK
public static final OutputProfile.Feature InvalidColorProfile
public static final OutputProfile.Feature SinglePixelImage
public static final OutputProfile.Feature SignatureHasMultipleSigners
public static final OutputProfile.Feature SignatureCoverageIncomplete
public static final OutputProfile.Feature SignaturePKCS7Invalid
SignerInfo
objectspublic static final OutputProfile.Feature SignaturePAdES
public static final OutputProfile.Feature BlendingColorSpaceUndefined
BlendingColorSpaceUndefinedNoIntent
public static final OutputProfile.Feature BlendingColorSpaceUndefinedNoIntent
BlendingColorSpaceUndefined
and the GTS_PDFA1 OutputIntent is also not specified. This
is disallowed in PDF/A-2 and later (not part of basic profile).public static final OutputProfile.Feature JPXContentMismatch
public static final OutputProfile.Feature EmbeddedFileWithoutName
public static final OutputProfile.Feature EmbeddedFileWithoutUnicodeName
public static final OutputProfile.Feature EmbeddedFileWithoutAFRelationship
public static final OutputProfile.Feature EmbeddedFileWithoutSubtype
public static final OutputProfile.Feature EmbeddedFileSubtypeNotContentType
public static final OutputProfile.Feature EmbeddedFileWithoutParams
public static final OutputProfile.Feature EmbeddedFileWithoutModDate
public static final OutputProfile.Feature PageDimensionsOutOfBounds
PDFPage
which has a box
that
has a width or height < 3 or > 14440. These limits are recommended in PDF and
required in PDF/A
(not part of basic profile).public static final OutputProfile.Feature TooManyCIDs
public static final OutputProfile.Feature SubPageNavigation
public static final OutputProfile.Feature DocumentNeedsRendering
public static final OutputProfile.Feature CatalogRequirements
public static final OutputProfile.Feature Slideshow
public static final OutputProfile.Feature NoMediaBox
public static final OutputProfile.Feature OutputIntentReferenceProfile
public static final OutputProfile.Feature OptionalContentWithoutName
public static final OutputProfile.Feature OptionalContentWithDuplicateName
public static final OutputProfile.Feature OptionalContentUsageApplication
public static final OutputProfile.Feature OptionalContentOrderIncomplete
public static final OutputProfile.Feature MarkedProperty
public static final OutputProfile.Feature CIDCompactFontNotCID
public static final OutputProfile.Feature InfoMeetsPDFUA1
public static final OutputProfile.Feature DisplayDocTitle
public static final OutputProfile.Feature ToUnicodeValueInvalid
public static final OutputProfile.Feature PageAnnotationsNotInStructureOrder
public static final OutputProfile.Feature EncryptionDeniesAccessibility
public static final OutputProfile.Feature TagArtifactInStructureTree
public static final OutputProfile.Feature TagTaggedContentInsideArtifact
public static final OutputProfile.Feature TagUnmarkedContent
public static final OutputProfile.Feature TaggedPDFHasSuspects
public static final OutputProfile.Feature TagNonStandard
public static final OutputProfile.Feature TagNonStandard14
TagNonStandard
.
It is disallowed in PDF/A-1a (not part of basic profile)public static final OutputProfile.Feature TagCircularMapping
public static final OutputProfile.Feature TagRemappedStandardType
public static final OutputProfile.Feature TagBadTableElement
public static final OutputProfile.Feature TagBadListElement
public static final OutputProfile.Feature TagBadTOCElement
public static final OutputProfile.Feature TagBadRubyElement
public static final OutputProfile.Feature TagBadWarichuElement
public static final OutputProfile.Feature TagNoLanguage
public static final OutputProfile.Feature TagFigureAlternativeMissing
public static final OutputProfile.Feature TagBadHeadingNumber
public static final OutputProfile.Feature TagSkippedHeadingNumber
public static final OutputProfile.Feature TagDuplicateH
public static final OutputProfile.Feature TagBothWeaklyAndStronglyStructured
public static final OutputProfile.Feature TagNoScope
public static final OutputProfile.Feature TagFormulaWithoutAlt
public static final OutputProfile.Feature TagAnnotationNotInAnnot
PDFAnnotation
(other than a Widget, Popup or Link) that is not inside an Annot Tag.
This is disallowed in PDF/UA (not part of basic profile)public static final OutputProfile.Feature TagAnnotationWithoutAlt
public static final OutputProfile.Feature TagFieldWithoutAlt
public static final OutputProfile.Feature TagWidgetOutsideForm
WidgetAnnotation
that is not inside a Form Tag.
This is disallowed in PDF/UA (not part of basic profile)public static final OutputProfile.Feature TagLinkOutsideLink
AnnotationLink
that is not inside a Link Tag.
This is disallowed in PDF/UA (not part of basic profile)public static final OutputProfile.Feature LinkWithoutContents
AnnotationLink
that does not specify the Contents
.
This is disallowed in PDF/UA (not part of basic profile)public static final OutputProfile.Feature TagPrinterMarkNotArtifact
public static final OutputProfile.Feature StructureTreeXObjectRepeat
public static final OutputProfile.Feature TagAnnotationNoteIDNotUnique
public static final OutputProfile.Feature SignatureWithUnknownHash
public static final OutputProfile.Feature SignatureWithMD5
public static final OutputProfile.Feature SignatureWithRIPEMD160
public static final OutputProfile.Feature SignatureWithSHA1
public static final OutputProfile.Feature SignatureWithSHA256
public static final OutputProfile.Feature SignatureWithSHA384
public static final OutputProfile.Feature SignatureWithSHA512
public static final OutputProfile.Feature SignatureWithRSA
public static final OutputProfile.Feature SignatureWithECDSA
public String getFieldName()
PDFVersion15
public final String getDescription()
Copyright © 2001-2017 Big Faceless Organization