org.faceless.pdf2
Class OutputProfile.Feature

java.lang.Object
  extended by org.faceless.pdf2.OutputProfile.Feature
Enclosing class:
OutputProfile

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.

Since:
2.6.1

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 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 AdditionalActions
          The PDF has Additional Actions (not part of basic profile).
static OutputProfile.Feature AESEncryption
          The PDF is encrypted with AES encryption.
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
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 AnnotationHiddenFlagSet
          The PDF contains an Annotation that is hidden.
static OutputProfile.Feature AnnotationInvisibleFlagSet
          The PDF contains an Annotation that is invisible.
static OutputProfile.Feature AnnotationMovie
          The PDF contains at least one Movie annotation.
static OutputProfile.Feature AnnotationNoViewFlagSet
          The PDF contains an Annotation that has the NoView flag set.
static OutputProfile.Feature AnnotationPrintFlagNotSet
          The PDF contains an Annotation that is set not to print.
static OutputProfile.Feature Annotations
          The PDF has Annotations (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 AnnotationTextNoRotateFlagNotSet
          The PDF contains a Text Annotation that has the NoRotate flag set.
static OutputProfile.Feature AnnotationTextNoZoomFlagNotSet
          The PDF contains a Text Annotation that has the NoZoom flag set.
static OutputProfile.Feature AnnotationTransparency
          The PDF contains annotations with Transparency (not part of basic profile).
static OutputProfile.Feature AnnotationWithMultipleAppearances
          The PDF contains an Annotation with multiple appearance streams.
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 CIDFontSubsetWithoutCIDSet
          The PDF embeds a Type1 font subset 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 CompressedXRef
          The PDF has a Compressed XRef table.
static OutputProfile.Feature CyanSeparation
          The PDF uses a Separation colorspace with an ink name of Cyan (not part of basic profile).
static OutputProfile.Feature DigitallySigned
          The PDF contains at least one Digital Signature.
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 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 FullPageImage
          The PDF contains a full page image (not part of basic profile)
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 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 HasModDate
          The PDF Info dictionary has a Modification Date set.
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 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 HeaderNotAtStart
          There is junk in the PDF file before the "%PDF-" marker
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 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 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 InterpolatedImage
          The PDF contains at least one interpolated image
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 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 NeedAppearancesNotFalse
          The NeedAppearances flag of the Form dictionary is set.
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 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 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 (compatible with Acrobat 8.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 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
static OutputProfile.Feature ShadingPattern
          The PDF contains a shading pattern (not part of basic profile).
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 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 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 UncompressedXRef
          The PDF has the regular old-style XRef table.
static OutputProfile.Feature UnknownStreamOperator
          The PDF contains a content stream with an unknown operator
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 XFAForm
          The PDF contains an XFA Form.
static OutputProfile.Feature XMPMetaData
          The PDF has 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
protected  int removeAnnotationActions(PDF pdf, boolean keepnonaa, String[] keeplist, boolean widgetonly)
           
protected  int removeBookmarkActions(List l)
           
protected  int removeFieldActions(PDF pdf, boolean keepnonaa, String[] keeplist)
           
protected  int removePageActions(PDF pdf, boolean keepnonaa, String[] keeplist)
           
protected  int removePDFActions(PDF pdf, boolean keepnonaa, String[] keeplist)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final OutputProfile.Feature[] ALL
This array lists all the Features, for easy iteration.


PDFVersion10

public static final OutputProfile.Feature PDFVersion10
The PDF header describes it as version 1.0


PDFVersion11

public static final OutputProfile.Feature PDFVersion11
The PDF header describes it as version 1.1


PDFVersion12

public static final OutputProfile.Feature PDFVersion12
The PDF header describes it as version 1.2 (compatible with Acrobat 3.x).


PDFVersion13

public static final OutputProfile.Feature PDFVersion13
The PDF header describes it as version 1.3 (compatible with Acrobat 4.x). If this feature is denied when an OutputProfile is applied, then the version number will be downgraded


PDFVersion14

public static final OutputProfile.Feature PDFVersion14
The PDF header describes it as version 1.4 (compatible with Acrobat 5.x). If this feature is denied when an OutputProfile is applied, then the version number will be downgraded


PDFVersion15

public static final OutputProfile.Feature PDFVersion15
The PDF header describes it as version 1.5 (compatible with Acrobat 6.x). If this feature is denied when an OutputProfile is applied, then the version number will be downgraded


PDFVersion16

public static final OutputProfile.Feature PDFVersion16
The PDF header describes it as version 1.6 (compatible with Acrobat 7.x). If this feature is denied when an OutputProfile is applied, then the version number will be downgraded


PDFVersion17

public static final OutputProfile.Feature PDFVersion17
The PDF header describes it as version 1.7 (compatible with Acrobat 8.x). If this feature is denied when an OutputProfile is applied, then the version number will be downgraded


HasDocID

public static final OutputProfile.Feature HasDocID
The PDF has a Document ID set. All PDFs saved by this library have a Document ID, even if one isn't there when the PDF is read in.


HasTitle

public static final OutputProfile.Feature HasTitle
The PDF Info dictionary has a Title set


HasAuthor

public static final OutputProfile.Feature HasAuthor
The PDF Info dictionary has an Author set


HasSubject

public static final OutputProfile.Feature HasSubject
The PDF Info dictionary has a Subject set


HasProducer

public static final OutputProfile.Feature HasProducer
The PDF Info dictionary has a Producer set


HasCreator

public static final OutputProfile.Feature HasCreator
The PDF Info dictionary has a Creator set


HasCreationDate

public static final OutputProfile.Feature HasCreationDate
The PDF Info dictionary has a Creation Date set


HasModDate

public static final OutputProfile.Feature HasModDate
The PDF Info dictionary has a Modification Date set. When a PDF is written with the PDF library a modification date is always applied, but some documents read in may be missing one.


HasTrapped

public static final OutputProfile.Feature HasTrapped
The PDF Info dictionary has a Trapped key. PDF/X requires this to be set to "true" or "false - "unknown" is not allowed


Linearized

public static final OutputProfile.Feature Linearized
The PDF is Linearized (also known as web ready). Currently Linearized PDF may be read, but not written by the library.


MultipleRevisions

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


UncompressedXRef

public static final OutputProfile.Feature UncompressedXRef
The PDF has the regular old-style XRef table. This is required to load the document in Acrobat prior to Acrobat 6.0, and it may be stored alongside a Compressed XRef for compatibility.


CompressedXRef

public static final OutputProfile.Feature CompressedXRef
The PDF has a Compressed XRef table. These were added in Acrobat 6.0 and can drastically reduce the size of the file, unless they are used alongside the Normal XRef table (in which case they actually increase the file size). The PDF library can read both and will write on or the other, but currently not both, so settting this feature means the PDF will not load prior to Acrobat 6.0


Bookmarks

public static final OutputProfile.Feature Bookmarks
The PDF has a Bookmarks tree, as returned by PDF.getBookmarks(). If this feature is denied when an OutputProfile is applied, then the Bookmarks will be removed.


Articles

public static final OutputProfile.Feature Articles
The PDF contains "Articles" (sometimes known as Threads). If this feature is denied when an OutputProfile is applied, then all Articles will be removed from the PDF. Note articles cannot be added or edited with this API.

Since:
2.7.1

TaggedPDF

public static final OutputProfile.Feature TaggedPDF
The PDF is a "Tagged PDF"

Since:
2.8.3

LanguageSpecified

public static final OutputProfile.Feature LanguageSpecified
The PDF has a Language tag, indicating the natural language of the document


ReaderExtensions

public static final OutputProfile.Feature ReaderExtensions
The PDF contains Reader Extensions. These are added by LiveCycle or Acrobat to grant additional rights on the PDF in Acrobat Reader, such as the ability to complete forms. Modifying a Reader-extension enabled PDF can be done with the PDF library, but care must be taken not to invalidate the document during this process. Typically you should not alter the PDF in any way other than by setting the value of form fields or signing signature fields. If this feature is denied, the Reader Extensions will be removed and the document can be edited as normal.


XMPMetaData

public static final OutputProfile.Feature XMPMetaData
The PDF has XMP Metadata. XMP Metadata is added by default unless this feature is specifically denied, as it's a good idea and backwards compatible with Acrobat 4.0 and earlier. If this feature is denied when an OutputProfile is applied, then the Metadata will be removed.


BadXMPMetaData

public static final OutputProfile.Feature BadXMPMetaData
The PDF contains XMPMetadata that does not meet the XMP specification. This is not allowed in PDF/A

Since:
2.6.7

Actions

public static final OutputProfile.Feature Actions
The PDF has Actions (not part of basic profile). The PDF contains Actions, which may be on annotations, pages or the document as a whole. Actions are not allowed in PDF/X. If this feature is denied when an OutputProfile is applied, then any actions in the PDF, pages or annotations will be removed.


AdditionalActions

public static final OutputProfile.Feature AdditionalActions
The PDF has Additional Actions (not part of basic profile). Additional Actions are a subclass of Action, basically anything other than an open action on a PDF.


ActionsInBookmarks

public static final OutputProfile.Feature ActionsInBookmarks
The PDF has Actions in its Bookmarks (not part of basic profile). Actions are not allowed in PDF/X. If this feature is denied when an OutputProfile is applied, then any actions in the bookmarks wil be removed.


JavaScript

public static final OutputProfile.Feature JavaScript
The PDF has JavaScript (not part of basic profile). The PDF contains JavaScript, which may be document wide or as part of an action. JavaScript is not allowed in PDF/X or PDF/A. If this feature is denied when an OutputProfile is applied, then any JavaScript in the PDF or actions will be removed.


Annotations

public static final OutputProfile.Feature Annotations
The PDF has Annotations (not part of basic profile). At least one page in the PDF has annotations associated with it. If this feature is denied when an OutputProfile is applied, then any Annotations will be removed.


AnnotationsInPage

public static final OutputProfile.Feature AnnotationsInPage
The PDF has Annotations inside the Bleed box (not part of basic profile). At least one page in the PDF has annotations associated with it which display partly or completely inside the Trim box if specified, or if not the Bleed Box or Crop Box. Annotations inside the page are not allowed in PDF/X. If this feature is denied when an OutputProfile is applied, then any Annotations inside the pagebox will be removed.


AnnotationMovie

public static final OutputProfile.Feature AnnotationMovie
The PDF contains at least one Movie annotation. If this feature is denied when an OutputProfile is applied, any movie annotations will be removed (not part of basic profile).


AnnotationSound

public static final OutputProfile.Feature AnnotationSound
The PDF contains at least one Sound annotation. If this feature is denied when an OutputProfile is applied, any Sound annotations will be removed (not part of basic profile).


BadTrapNetAnnotation

public static final OutputProfile.Feature BadTrapNetAnnotation
The PDF has a Trap Annotation that does not meet PDF/X requirements (not part of basic profile).


AnnotationTransparency

public static final OutputProfile.Feature AnnotationTransparency
The PDF contains annotations with Transparency (not part of basic profile). Transparent annotations are not allowed in PDF/A

Since:
2.6.2

AnnotationPrintFlagNotSet

public static final OutputProfile.Feature AnnotationPrintFlagNotSet
The PDF contains an Annotation that is set not to print. This is not allowed in PDF/A. If this feature is denied when the OutputProfile is applied, then any matching annotations will be set as printable (not part of basic profile).

Since:
2.6.7

AnnotationHiddenFlagSet

public static final OutputProfile.Feature AnnotationHiddenFlagSet
The PDF contains an Annotation that is hidden. This is not allowed in PDF/A If this feature is denied when the OutputProfile is applied, then any matching annotations will be set to displayed (not part of basic profile).

Since:
2.6.7

AnnotationInvisibleFlagSet

public static final OutputProfile.Feature AnnotationInvisibleFlagSet
The PDF contains an Annotation that is invisible. This is not allowed in PDF/A. If this feature is denied when the OutputProfile is applied, then any matching annotations will be set to visible (not part of basic profile).

Since:
2.6.7

AnnotationNoViewFlagSet

public static final OutputProfile.Feature AnnotationNoViewFlagSet
The PDF contains an Annotation that has the NoView flag set. This is not allowed in PDF/A. If this feature is denied when the OutputProfile is applied, then any matching annotations will be set to viewable (not part of basic profile).

Since:
2.6.7

AnnotationTextNoZoomFlagNotSet

public static final OutputProfile.Feature AnnotationTextNoZoomFlagNotSet
The PDF contains a Text Annotation that has the NoZoom flag set. This is not allowed in PDF/A. If this feature is denied when the OutputProfile is applied, then any matching annotations will have this flag removed (not part of basic profile).

Since:
2.6.7

AnnotationTextNoRotateFlagNotSet

public static final OutputProfile.Feature AnnotationTextNoRotateFlagNotSet
The PDF contains a Text Annotation that has the NoRotate flag set. This is not allowed in PDF/A. If this feature is denied when the OutputProfile is applied, then any matching annotations will have this flag removed (not part of basic profile).

Since:
2.6.7

AnnotationWithMultipleAppearances

public static final OutputProfile.Feature AnnotationWithMultipleAppearances
The PDF contains an Annotatio