edu.stanford.hci.r3.paper.sheets
Class PDFSheet
java.lang.Object
edu.stanford.hci.r3.paper.Sheet
edu.stanford.hci.r3.paper.sheets.PDFSheet
public class PDFSheet
- extends Sheet
Create a Sheet that is based on a single page of a PDF file. Since a sheet is one page, if we
have a multipage PDF, we can only access one page of it. Later on, we will add support for
Bundles to read multipage PDFs.
This software is distributed under the BSD License.
Constructor Summary |
PDFSheet(java.io.File pdfFile)
This will create a Sheet out of page 1 of the PDF File. |
PDFSheet(java.io.File pdfFile,
int pageNumber)
|
Methods inherited from class edu.stanford.hci.r3.paper.Sheet |
addConfigurationPath, addRegion, addRegion, addRegions, containsRegion, getConfigurationPaths, getHeight, getName, getParentApplication, getPatternLocationToSheetLocationMapping, getPatternLocationToSheetLocationMapping, getRegion, getRegionNames, getRegionOffset, getRegions, getSize, getWidth, setName, setParentApplication, setPatternLocationToSheetLocationMapping, setRegionOffset, setSize, toDetailedString, toString, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PDFSheet
public PDFSheet(java.io.File pdfFile)
- This will create a Sheet out of page 1 of the PDF File.
- Parameters:
pdfFile
-
PDFSheet
public PDFSheet(java.io.File pdfFile,
int pageNumber)
- Parameters:
pdfFile
- pageNumber
- Which page should we create this sheet out of?
getRenderer
public SheetRenderer getRenderer()
- Overrides:
getRenderer
in class Sheet
- Returns:
- a new Renderer for this object.
- See Also:
Sheet.getRenderer()
getReader
public PdfReader getReader()
- Returns: