|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.OutputProfile.Feature
public static class OutputProfile.Feature
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.
Field Summary | |
---|---|
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 |
ActionGoToBadPage
The PDF contains a GoTo action that references a non-existant page (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 |
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 |
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 |
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 |
AnnotationColorMismatchesIntent
The PDF contains an annotation that specifies a device color which doesn't match the OutputIntent. |
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 |
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 |
AnnotationPrintFlagNotSet
The PDF contains an Annotation that is set not to print. |
static OutputProfile.Feature |
AnnotationProjection
The PDF contains a Projection annotation, as defined in PDF32000 ext3. |
static OutputProfile.Feature |
AnnotationRichMedia
The PDF contains a RichMedia annotation, as defined in PDF32000 ext3. |
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 |
AnnotationTextNoRotateFlagNotSet
The PDF contains a Text Annotation that does not have the NoRotate flag set. |
static OutputProfile.Feature |
AnnotationTextNoZoomFlagNotSet
The PDF contains a Text Annotation that does not have the NoZoom 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 (not part of basic profile). |
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 |
BlackSeparation
The PDF uses a Separation colorspace with an ink name of Black (not part of basic profile). |
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 |
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 |
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 |
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 |
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 |
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 images with colours composited using complex blend modes 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 |
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 |
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 |
EmbeddedFiles
The PDF has Embedded files (not part of basic profile). |
static OutputProfile.Feature |
Encryption
The PDF is encrypted. |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 > 2^31-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 |
LanguageSpecified
The PDF has a Language tag, indicating the natural language of the document |
static OutputProfile.Feature |
Linearized
The PDF is Linearized (also known as web ready). |
static OutputProfile.Feature |
MagentaSeparation
The PDF uses a Separation colorspace with an ink name of Magenta (not part of basic profile). |
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 |
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 |
NameOverflow
The PDF contains a Name > 127 bytes. |
static OutputProfile.Feature |
NeedAppearancesNotFalse
The NeedAppearances flag of the Form dictionary is set. |
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 |
NonStandardEncryption
The PDF is encrypted with a handler other than the StandardEncryptionHandler |
static OutputProfile.Feature |
NonSymbolicTrueTypeWithoutMacRomanOrWinAnsiEncoding
The PDF embeds a non-symbolic TrueType font without a MacRoman or WinAnsi Encoding. |
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 |
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 |
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 |
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 |
ReaderExtensions
The PDF contains Reader Extensions. |
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 |
SinglePixelImage
The PDF contains a 1x1 pixel bitmap image. |
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 |
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 |
TaggedPDF
The PDF is a "Tagged PDF". |
static OutputProfile.Feature |
Thumbnails
The PDF has Thumbnails included with the document. |
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 |
UncompressedXRef
The PDF has the regular old-style XRef table. |
static OutputProfile.Feature |
UnembeddedCMap
The PDF contains a CID font with an unembedded CMap other than Identity-H or Identity-V. |
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 |
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:2008ext3. |
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 |
XMPMetaData
The PDF has XMP Metadata. |
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 |
XMPMetaDataIsFiltered
The PDF contains XMPMetadata that is encoded using a filter. |
static OutputProfile.Feature |
XMPMetaDataXpacketFormatError
The PDF contains a malformed xpacket header in its XMP metadata. |
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). |
Method Summary | |
---|---|
String |
getDescription()
Get a brief textual description of the Feature |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 HasDocID
public static final OutputProfile.Feature DocIDMismatch
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 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 TaggedPDF
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 XMPMetaDataXpacketFormatError
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 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 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 AnnotationPrintFlagNotSet
public static final OutputProfile.Feature AnnotationHiddenFlagSet
public static final OutputProfile.Feature AnnotationInvisibleFlagSet
public static final OutputProfile.Feature AnnotationNoViewFlagSet
public static final OutputProfile.Feature AnnotationTextNoZoomFlagNotSet
public static final OutputProfile.Feature AnnotationTextNoRotateFlagNotSet
public static final OutputProfile.Feature AnnotationWithUnpredictableAppearance
public static final OutputProfile.Feature FreeFormLink
public static final OutputProfile.Feature EmbeddedFiles
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 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 and a 3rd
party BIG2 decoder is present, 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 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 CMYKJPEG
java.awt
methods do not parse CMYK JPEG images, and so these will
not display correctly with this library prior to Java 1.4
public 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 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 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 CyanSeparation
public static final OutputProfile.Feature MagentaSeparation
public static final OutputProfile.Feature YellowSeparation
public static final OutputProfile.Feature BlackSeparation
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 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 FontType0
public static final OutputProfile.Feature CIDFontType1Embedded
public static final OutputProfile.Feature CIDSystemInfoAndCMapNotCompatible
public static final OutputProfile.Feature UnembeddedCMap
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 FontWidthsNotConsistent
public static final OutputProfile.Feature NonSymbolicTrueTypeWithoutMacRomanOrWinAnsiEncoding
public static final OutputProfile.Feature SymbolicTrueTypeWithEncodingEntry
public static final OutputProfile.Feature SymbolicTrueTypeWithoutOneEncoding
public static final OutputProfile.Feature CIDFontSubsetWithoutCIDSet
public static final OutputProfile.Feature UTF16Encoding
public static final OutputProfile.Feature FontWithMissingGlyphs
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
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 Form
public static final OutputProfile.Feature NeedAppearancesNotFalse
public static final OutputProfile.Feature DigitallySigned
public static final OutputProfile.Feature AuthorSignature
public static final OutputProfile.Feature XFAForm
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 HasOutputIntent
public static final OutputProfile.Feature HasOutputIntentGTS_PDFX
public static final OutputProfile.Feature HasOutputIntentGTS_PDFA1
GTS_PDFA
instead. Part of OutputProfile.PDFA1b_2005
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 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 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.
public static final OutputProfile.Feature PurgeResources
public static final OutputProfile.Feature FileIsDamaged
public static final OutputProfile.Feature ContentIsDamaged
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 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
public static final OutputProfile.Feature NameOverflow
public static final OutputProfile.Feature StringOverflow
public static final OutputProfile.Feature Device9ColorSpace
public static final OutputProfile.Feature Device33ColorSpace
public static final OutputProfile.Feature InvalidColorProfile
public static final OutputProfile.Feature SinglePixelImage
Method Detail |
---|
public String toString()
toString
in class Object
public final String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |