Package org.apache.padaf.preflight.graphics

Examples of org.apache.padaf.preflight.graphics.ExtGStateContainer


   */
  protected boolean validateTransparency(PDPage page, DocumentHandler handler,
      List<ValidationError> result) throws ValidationException {
    PDResources resources = page.getResources();
    COSDocument cDoc = handler.getDocument().getDocument();
    ExtGStateContainer extGStates = new ExtGStateContainer(resources
        .getCOSDictionary(), cDoc);
    return extGStates.validateTransparencyRules(result);
    // ---- Even if a Group entry is possible in the Page dictionary, No
    // restrictions are defined by PDF/A
  }
View Full Code Here


        }
      }
    }

    List<ValidationError> errors = new ArrayList<ValidationError>();
    ExtGStateContainer extGStates = new ExtGStateContainer(dictionary, cDoc);
    boolean res = extGStates.validateTransparencyRules(errors);
    for (ValidationError err : errors) {
      this.fontContainer.addError(err);
    }

    return res && validateShadingPattern(dictionary, errors);
View Full Code Here

TOP

Related Classes of org.apache.padaf.preflight.graphics.ExtGStateContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.