Class HideAction

java.lang.Object
org.apache.pdfbox.preflight.action.AbstractActionManager
org.apache.pdfbox.preflight.action.HideAction

public class HideAction extends AbstractActionManager
ActionManager for the Hide action. The Hide action isn't specifically prohibited by PDF/A-1, but should have been. So this action manager isn't an instance of InvalidAction but authorized only the H entry with the false value.
  • Constructor Details

    • HideAction

      public HideAction(ActionManagerFactory amFact, COSDictionary adict, PreflightContext ctx, String aaKey)
      Parameters:
      amFact - Instance of ActionManagerFactory used to create ActionManager to check Next actions.
      adict - the COSDictionary of the action wrapped by this class.
      ctx - the DocumentHandler from which the action comes from.
      aaKey - The name of the key which identify the action in a additional action dictionary.
  • Method Details

    • innerValid

      protected boolean innerValid()
      Description copied from class: AbstractActionManager
      This method must be implemented by inherited classes to process specific validation.
      Specified by:
      innerValid in class AbstractActionManager
      Returns:
      True if the action is valid, false otherwise.