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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addPicture(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject ximage, float cursorX, float cursorY, int width, int height)
     
    protected abstract org.apache.pdfbox.pdmodel.PDDocument
     
    protected org.apache.pdfbox.pdmodel.graphics.image.PDImage
    loadPicture(String nameJPGFile)
     
    protected abstract float
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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