Package be.quodlibet.boxable
Class AbstractPageTemplate
java.lang.Object
org.apache.pdfbox.pdmodel.PDPage
be.quodlibet.boxable.AbstractPageTemplate
- All Implemented Interfaces:
org.apache.pdfbox.contentstream.PDContentStream,org.apache.pdfbox.pdmodel.common.COSObjectable
public abstract class AbstractPageTemplate
extends org.apache.pdfbox.pdmodel.PDPage
Created by dgautier on 3/18/2015.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPicture(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject ximage, float cursorX, float cursorY, int width, int height) protected abstract org.apache.pdfbox.pdmodel.PDDocumentprotected org.apache.pdfbox.pdmodel.graphics.image.PDImageloadPicture(String nameJPGFile) protected abstract floatyStart()Methods inherited from class org.apache.pdfbox.pdmodel.PDPage
equals, getActions, getAnnotations, getAnnotations, getArtBox, getBBox, getBleedBox, getContents, getContentsForRandomAccess, getContentsForStreamParsing, getContentStreams, getCOSObject, getCropBox, getMatrix, getMediaBox, getMetadata, getResourceCache, getResources, getRotation, getStructParents, getThreadBeads, getTransition, getTrimBox, getUserUnit, getViewports, hasContents, hashCode, removePageResourceFromCache, setActions, setAnnotations, setArtBox, setBleedBox, setContents, setContents, setCropBox, setMediaBox, setMetadata, setResources, setRotation, setStructParents, setThreadBeads, setTransition, setTransition, setTrimBox, setUserUnit, setViewports
-
Constructor Details
-
AbstractPageTemplate
public AbstractPageTemplate()
-
-
Method Details
-
getDocument
protected abstract org.apache.pdfbox.pdmodel.PDDocument getDocument() -
yStart
protected abstract float yStart() -
addPicture
protected void addPicture(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject ximage, float cursorX, float cursorY, int width, int height) throws IOException - Throws:
IOException
-
loadPicture
protected org.apache.pdfbox.pdmodel.graphics.image.PDImage loadPicture(String nameJPGFile) throws IOException - Throws:
IOException
-