List of usage examples for org.apache.pdfbox.contentstream.operator OperatorProcessor setContext
public void setContext(PDFStreamEngine context)
From source file:at.knowcenter.wag.egov.egiz.pdfbox2.pdf.PDFPage.java
License:EUPL
/** * Constructor.// w ww.j a va 2s. c o m * * @param effectivePageHeight * The height of the page to be evaluated. PDF elements outside * this height will not be considered. * * @throws java.io.IOException */ public PDFPage(float effectivePageHeight, boolean legacy32, boolean legacy40) throws IOException { super(); this.legacy40 = legacy40; this.effectivePageHeight = effectivePageHeight; OperatorProcessor newInvoke = new MyInvoke(this); newInvoke.setContext(this); this.registerOperatorProcessor("Do", newInvoke); if (!legacy32) { registerCustomPathOperators(); } }