Class XObjFormValidator

    • Field Detail

      • pdXObj

        PDFormXObject pdXObj
        High level object which represents the XObjectForm
    • Method Detail

      • validateXObjectContent

        protected void validateXObjectContent()
                                       throws ValidationException
        An Form XObject is a ContentStream. This method method uses an instance of ContentStreamWrapper to check the Stream of this Form XObject.
        Throws:
        ValidationException
      • checkGroup

        protected void checkGroup()
        A Form XObject may contain a Group object (Key =" Group"). If a Group object is present, this method checks if the S entry is present and if its value is different from "Transparency".
      • checkPS

        protected void checkPS()
        Check if there are no PS entry in the Form XObject dictionary
      • checkSubtype2Value

        protected void checkSubtype2Value()
        Check the SUbtype2 entry according to the §6.2.5 of the ISO 190005-1:2005 specification.