Uses of Class
org.apache.pdfbox.preflight.PreflightContext
Packages that use PreflightContext
Package
Description
-
Uses of PreflightContext in org.apache.pdfbox.preflight
Fields in org.apache.pdfbox.preflight declared as PreflightContextMethods in org.apache.pdfbox.preflight that return PreflightContextMethods in org.apache.pdfbox.preflight with parameters of type PreflightContext -
Uses of PreflightContext in org.apache.pdfbox.preflight.action
Fields in org.apache.pdfbox.preflight.action declared as PreflightContextModifier and TypeFieldDescriptionprotected PreflightContextAbstractActionManager.contextThe validation contextMethods in org.apache.pdfbox.preflight.action with parameters of type PreflightContextModifier and TypeMethodDescriptionprivate voidActionManagerFactory.callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, String additionActionKey, Map<COSObjectKey, Boolean> alreadyCreated) Call the create action to add the ActionManager to the result list.private voidActionManagerFactory.callCreateAction(COSBase aDict, PreflightContext ctx, List<AbstractActionManager> result, Map<COSObjectKey, Boolean> alreadyCreated) Call the callCreateAction(COSBase, COSDocument, List, String) method with null as isAA parameter. protected AbstractActionManagerActionManagerFactory.createActionManager(PreflightContext ctx, COSDictionary action, String aaKey) Create an instance of ActionManager according to the value of the S entry.final List<AbstractActionManager>ActionManagerFactory.getActionManagers(PreflightContext ctx, COSDictionary dictionary) This method extract actions from the given dictionary.final List<AbstractActionManager>ActionManagerFactory.getNextActions(PreflightContext ctx, COSDictionary actionDictionary) Returns all actions contained by the Next entry.Constructors in org.apache.pdfbox.preflight.action with parameters of type PreflightContextModifierConstructorDescription(package private)AbstractActionManager(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) GoToAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) GoToRemoteAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) HideAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) InvalidAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey, String name) NamedAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) SubmitAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) ThreadAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) UndefAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey, String name) UriAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey) -
Uses of PreflightContext in org.apache.pdfbox.preflight.annotation
Fields in org.apache.pdfbox.preflight.annotation declared as PreflightContextMethods in org.apache.pdfbox.preflight.annotation with parameters of type PreflightContextModifier and TypeMethodDescriptionfinal AnnotationValidatorAnnotationValidatorFactory.getAnnotationValidator(PreflightContext ctx, COSDictionary annotDic) Return an instance of AnnotationValidator.Constructors in org.apache.pdfbox.preflight.annotation with parameters of type PreflightContextModifierConstructorDescriptionAnnotationValidator(PreflightContext context, COSDictionary annotDictionary) FreeTextAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) InkAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) LineAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) LinkAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) MarkupAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) PopupAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) PrintMarkAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) RubberStampAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) SquareCircleAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) TextAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) TrapNetAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) WidgetAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) -
Uses of PreflightContext in org.apache.pdfbox.preflight.content
Fields in org.apache.pdfbox.preflight.content declared as PreflightContextConstructors in org.apache.pdfbox.preflight.content with parameters of type PreflightContextModifierConstructorDescriptionPreflightContentStream(PreflightContext _context, PDPage _page) PreflightStreamEngine(PreflightContext context, PDPage page) -
Uses of PreflightContext in org.apache.pdfbox.preflight.font
Fields in org.apache.pdfbox.preflight.font declared as PreflightContextConstructors in org.apache.pdfbox.preflight.font with parameters of type PreflightContextModifierConstructorDescriptionCIDType0FontValidator(PreflightContext context, PDCIDFontType0 font) CIDType2FontValidator(PreflightContext context, PDCIDFontType2 font) DescendantFontValidator(PreflightContext context, PDCIDFont font, T fContainer) FontValidator(PreflightContext context, COSDictionary dict, T fContainer) SimpleFontValidator(PreflightContext context, PDFontLike font, COSDictionary fontDictionary, T fContainer) TrueTypeFontValidator(PreflightContext context, PDTrueTypeFont font) Type0FontValidator(PreflightContext context, PDFont font) Type1FontValidator(PreflightContext context, PDSimpleFont font) Type3FontValidator(PreflightContext context, PDType3Font font) -
Uses of PreflightContext in org.apache.pdfbox.preflight.font.descriptor
Fields in org.apache.pdfbox.preflight.font.descriptor declared as PreflightContextConstructors in org.apache.pdfbox.preflight.font.descriptor with parameters of type PreflightContextModifierConstructorDescriptionCIDType0DescriptorHelper(PreflightContext context, PDFontLike font, CIDType0Container fontContainer) CIDType2DescriptorHelper(PreflightContext context, PDFontLike font, CIDType2Container fontContainer) FontDescriptorHelper(PreflightContext context, PDFontLike font, T fontContainer) TrueTypeDescriptorHelper(PreflightContext context, PDTrueTypeFont font, TrueTypeContainer fontContainer) Type1DescriptorHelper(PreflightContext context, PDSimpleFont font, Type1Container fontContainer) -
Uses of PreflightContext in org.apache.pdfbox.preflight.font.util
Constructors in org.apache.pdfbox.preflight.font.util with parameters of type PreflightContextModifierConstructorDescriptionPreflightType3Stream(PreflightContext context, PDPage page, PDType3CharProc charProc) -
Uses of PreflightContext in org.apache.pdfbox.preflight.graphic
Fields in org.apache.pdfbox.preflight.graphic declared as PreflightContextModifier and TypeFieldDescriptionprotected PreflightContextStandardColorSpaceHelper.contextThe context which contains useful information to process the validation.Methods in org.apache.pdfbox.preflight.graphic with parameters of type PreflightContextModifier and TypeMethodDescriptionColorSpaceHelperFactory.getColorSpaceHelper(PreflightContext context, PDColorSpace cs, ColorSpaceHelperFactory.ColorSpaceRestriction csr) Return an instance of ColorSpaceHelper according to the ColorSpaceRestriction value.static ICCProfileWrapperICCProfileWrapper.getOrSearchICCProfile(PreflightContext context) private static ICCProfileWrapperICCProfileWrapper.searchFirstICCProfile(PreflightContext context) This method read all outputIntent dictionary until on of them have a destOutputProfile stream.Constructors in org.apache.pdfbox.preflight.graphic with parameters of type PreflightContextModifierConstructorDescriptionDeviceColorSpaceHelper(PreflightContext _context, PDColorSpace _cs) NoPatternColorSpaceHelper(PreflightContext _context, PDColorSpace _cs) protectedStandardColorSpaceHelper(PreflightContext _context, PDColorSpace _cs) -
Uses of PreflightContext in org.apache.pdfbox.preflight.parser
Fields in org.apache.pdfbox.preflight.parser declared as PreflightContext -
Uses of PreflightContext in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process with parameters of type PreflightContextModifier and TypeMethodDescriptionprotected voidAbstractProcess.addFontError(COSDictionary dictionary, PreflightContext context, IOException e) PDFont loads embedded fonts in its constructor so we have to handle IOExceptions from PDFont and translate them into validation errors.private voidStreamValidationProcess.addStreamLengthValidationError(PreflightContext context, COSObject cObj, int length, String endStream) protected voidAbstractProcess.addValidationError(PreflightContext ctx, ValidationResult.ValidationError error) protected voidAbstractProcess.addValidationErrors(PreflightContext ctx, List<ValidationResult.ValidationError> errors) protected voidStreamValidationProcess.checkDictionaryEntries(PreflightContext context, COSStream streamObj) Check dictionary entries.protected voidStreamValidationProcess.checkFilters(COSStream stream, PreflightContext context) This method checks if one of declared Filter is LZWdecode.private booleanBookmarkValidationProcess.checkIndirectObject(PreflightContext ctx, COSDictionary dictionary, COSName name) private booleanBookmarkValidationProcess.checkIndirectObjects(PreflightContext ctx, COSDictionary dictionary) protected voidTrailerValidationProcess.checkLinearizedDictionnary(PreflightContext ctx, COSDictionary linearizedDict) Check if mandatory keys of linearized dictionary are present.protected voidTrailerValidationProcess.checkMainTrailer(PreflightContext ctx, COSDictionary trailer) check if all keys are authorized in a trailer dictionary and if the type is valid.protected voidAcroFormValidationProcess.checkNeedAppearences(PreflightContext ctx, PDAcroForm acroForm) This method checks if the NeedAppearances entry is present.protected voidStreamValidationProcess.checkStreamLength(PreflightContext context, COSObject cObj) private voidMetadataValidationProcess.checkThumbnail(ThumbnailType tb, PreflightContext ctx) private voidMetadataValidationProcess.checkThumbnails(PreflightContext ctx, XMPMetadata metadata) protected voidTrailerValidationProcess.checkTrailersForLinearizedPDF14(PreflightContext ctx) Extracts and compares first and last trailers for PDF version between 1.1 and 1.4.protected voidTrailerValidationProcess.checkTrailersForLinearizedPDF15(PreflightContext ctx) Accesses and compares First and Last trailers for a PDF version higher than 1.4.protected booleanAcroFormValidationProcess.exploreFields(PreflightContext ctx, List<PDField> fields) This function explores all fields and their children to validate them.protected booleanBookmarkValidationProcess.exploreOutlineLevel(PreflightContext ctx, PDOutlineItem inputItem, COSObject firstObj, COSObject lastObj) This method explores the Outline Item Level and calls a validation method on each Outline Item.protected booleanAcroFormValidationProcess.exploreWidgets(PreflightContext ctx, List<PDAnnotationWidget> widgets) This function explores all fields and their children to validate them.private booleanBookmarkValidationProcess.isCountEntryPositive(PreflightContext ctx, COSDictionary outline) return true if Count entry > 0voidAcroFormValidationProcess.validate(PreflightContext ctx) voidBookmarkValidationProcess.validate(PreflightContext ctx) voidCatalogValidationProcess.validate(PreflightContext ctx) voidEmptyValidationProcess.validate(PreflightContext context) voidFileSpecificationValidationProcess.validate(PreflightContext ctx) voidMetadataValidationProcess.validate(PreflightContext ctx) voidPageTreeValidationProcess.validate(PreflightContext context) voidStreamValidationProcess.validate(PreflightContext ctx) voidTrailerValidationProcess.validate(PreflightContext ctx) voidValidationProcess.validate(PreflightContext ctx) voidXRefValidationProcess.validate(PreflightContext ctx) protected voidCatalogValidationProcess.validateActions(PreflightContext ctx) This method validates if OpenAction entry contains forbidden action type.protected booleanAcroFormValidationProcess.validateField(PreflightContext ctx, PDField field) A and AA field are forbidden, this method checks if they are present and checks all children of this field.FileSpecificationValidationProcess.validateFileSpecification(PreflightContext ctx, COSDictionary fileSpec) Validate a FileSpec dictionary, a FileSpec dictionary mustn't have the EF (EmbeddedFile) entry.protected voidCatalogValidationProcess.validateICCProfile(COSBase destOutputProfile, Map<COSObjectKey, Boolean> mapDestOutputProfile, PreflightContext ctx) This method checks the destOutputProfile which must be a valid ICCProfile.protected booleanBookmarkValidationProcess.validateItem(PreflightContext ctx, PDOutlineItem inputItem) This method checks the inputItem dictionary and call the exploreOutlineLevel method on the first child if it is not null.protected voidCatalogValidationProcess.validateLang(PreflightContext ctx) The Lang element is optional but it is recommended.protected voidCatalogValidationProcess.validateNames(PreflightContext ctx) A Catalog shall not contain the EmbeddedFiles entry.protected voidCatalogValidationProcess.validateOCProperties(PreflightContext ctx) A Catalog shall not contain the OCPProperties (Optional Content Properties) entry.voidCatalogValidationProcess.validateOutputIntent(PreflightContext ctx) This method checks the content of each OutputIntent.protected voidPageTreeValidationProcess.validatePage(PreflightContext context, PDPage page) voidStreamValidationProcess.validateStreamObject(PreflightContext context, COSObject cObj) -
Uses of PreflightContext in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect with parameters of type PreflightContextModifier and TypeMethodDescriptionprivate voidExtGStateValidationProcess.checkBlendMode(PreflightContext context, COSDictionary egs) This method checks the BM value of the ExtGState dictionary.protected voidShadingPatternValidationProcess.checkColorSpace(PreflightContext context, PDPage page, PDShading shadingRes) Checks if the ColorSapce entry is consistent which rules of the PDF Reference and the ISO 190005-1:2005 Specification.private voidExtGStateValidationProcess.checkFont(PreflightContext context, COSDictionary egs) This method checks a Font array in the ExtGState dictionary.protected voidShadingPatternValidationProcess.checkGraphicState(PreflightContext context, PDPage page, PDShading shadingRes) Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.private voidExtGStateValidationProcess.checkLowerCA(PreflightContext context, COSDictionary egs) This method checks the "ca" value of the ExtGState dictionary.protected voidTilingPatternValidationProcess.checkMandatoryFields(PreflightContext context, PDPage page, PDTilingPattern pattern) This method checks if required fields are present.private voidExtGStateValidationProcess.checkSoftMask(PreflightContext context, COSDictionary egs) This method checks the SMask value of the ExtGState dictionary.protected voidExtGStateValidationProcess.checkTR2Key(PreflightContext context, COSDictionary egs) Check the TR2 entry.protected voidExtGStateValidationProcess.checkTRKey(PreflightContext context, COSDictionary egs) Check the TR entry.private voidExtGStateValidationProcess.checkUpperCA(PreflightContext context, COSDictionary egs) This method checks the "CA" value of the ExtGState dictionary.ExtGStateValidationProcess.extractExtGStateDictionaries(PreflightContext context, COSDictionary egsEntry) Create a list of ExtGState dictionaries using the given Resource dictionary and the COSDocument.ResourcesValidationProcess.getFonts(COSDictionary resources, PreflightContext context) This will get the map of fonts.protected FontValidator<? extends FontContainer<? extends PDFont>>FontValidationProcess.getFontValidator(PreflightContext context, PDFont font) Create the right "Validator" object for the given font typeprotected voidTilingPatternValidationProcess.parsePatternContent(PreflightContext context, PDPage page, PDTilingPattern pattern) Validate the Pattern content like Color and Show Text Operators using an instance of ContentStreamWrapper.protected voidTilingPatternValidationProcess.parseResources(PreflightContext context, PDPage page, PDTilingPattern pattern) voidActionsValidationProcess.validate(PreflightContext context) voidAnnotationValidationProcess.validate(PreflightContext context) voidDestinationValidationProcess.validate(PreflightContext ctx) voidExtGStateValidationProcess.validate(PreflightContext context) Validate the ExtGState dictionaries.voidFontValidationProcess.validate(PreflightContext context) voidGraphicObjectPageValidationProcess.validate(PreflightContext context) voidResourcesValidationProcess.validate(PreflightContext ctx) voidShadingPatternValidationProcess.validate(PreflightContext context) voidSinglePageValidationProcess.validate(PreflightContext context) voidTilingPatternValidationProcess.validate(PreflightContext context) protected voidSinglePageValidationProcess.validateActions(PreflightContext context, PDPage page) This method checks additional actions contained in the given Page object.protected voidSinglePageValidationProcess.validateAnnotation(PreflightContext context, PDPage page) protected voidSinglePageValidationProcess.validateColorSpaces(PreflightContext context, PDPage page) Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1 specification.protected voidSinglePageValidationProcess.validateContent(PreflightContext context, PDPage page) (package private) voidDestinationValidationProcess.validateExplicitDestination(PreflightContext ctx, COSArray ar) protected voidResourcesValidationProcess.validateExtGStates(PreflightContext context, PDResources resources) protected voidExtGStateValidationProcess.validateFonts(PreflightContext context, List<COSDictionary> listOfExtGState) Validate fonts in all ExtGState dictionaries of this container.protected voidResourcesValidationProcess.validateFonts(PreflightContext context, PDResources resources) Check that fonts present in the Resources dictionary match with PDF/A-1 rulesprotected voidSinglePageValidationProcess.validateGraphicObjects(PreflightContext context, PDPage page) Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.protected voidSinglePageValidationProcess.validateGroupTransparency(PreflightContext context, PDPage page) Check that the group dictionary doesn't have a Transparency attributeprotected voidSinglePageValidationProcess.validateResources(PreflightContext context, PDPage page) protected voidResourcesValidationProcess.validateShadingPattern(PreflightContext context, PDResources resources) This method check the Shading entry of the resource dictionary if exists.protected voidResourcesValidationProcess.validateTilingPattern(PreflightContext context, PDResources resources) This method check the Shading entry of the resource dictionary if exists.protected voidExtGStateValidationProcess.validateTransparencyRules(PreflightContext context, List<COSDictionary> listOfExtGState) Validate transparency rules in all ExtGState dictionaries of this container.protected voidResourcesValidationProcess.validateXObjects(PreflightContext context, PDResources resources) -
Uses of PreflightContext in org.apache.pdfbox.preflight.utils
Methods in org.apache.pdfbox.preflight.utils with parameters of type PreflightContextModifier and TypeMethodDescriptionprivate static voidContextHelper.callValidation(PreflightContext context, Object element, String processName) Put the element to check on the top of the ValidationPath and call the validation method on the Process.private static booleanContextHelper.hasRecursion(PreflightContext context, Object element, PreflightPath validationPath) static voidFilterHelper.isAuthorizedFilter(PreflightContext context, String filter) This method checks if the filter is authorized for the PDF file according to the preflight document specification attribute.static voidFilterHelper.isAuthorizedFilterInPDFA(PreflightContext context, String filter) This method checks if the filter is authorized for a PDF/A file.static voidContextHelper.validateElement(PreflightContext context, Object element, String processName) Check that the element parameter isn't null before calling theContextHelper.callValidation(PreflightContext, Object, String)method.static voidContextHelper.validateElement(PreflightContext context, String processName) call directly theContextHelper.callValidation(PreflightContext, Object, String) -
Uses of PreflightContext in org.apache.pdfbox.preflight.xobject
Fields in org.apache.pdfbox.preflight.xobject declared as PreflightContextModifier and TypeFieldDescriptionprotected PreflightContextAbstractXObjValidator.contextThe validation context which contains useful information to process validation.Constructors in org.apache.pdfbox.preflight.xobject with parameters of type PreflightContextModifierConstructorDescriptionAbstractXObjValidator(PreflightContext context, COSStream xobj) XObjFormValidator(PreflightContext context, PDFormXObject xobj) XObjImageValidator(PreflightContext context, PDImageXObject xobj) XObjPostscriptValidator(PreflightContext context, PDPostScriptXObject xobj)