Package com.reportmill.graphics
Class RMPDFImageReader
java.lang.Object
com.reportmill.graphics.RMPDFImageReader
- All Implemented Interfaces:
- RMImageData.ImageReader
Provides info for an ecapsulated PDF (a PDF used as an image).
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancanRead(byte[] data) Returns whether PDF image reader can read the file provided in the byte array.static booleanReturns whether PDF image reader can read files with given extension.getImage(int page) getImageShape(int page) Returns a PDF file for the PDF image data (creating if necessary).voidReads the basic info from PDF data.voidImageReader method - just a stub, since PDF images don't have image bytes.
- 
Field Details- 
_pdfFile
 
- 
- 
Constructor Details- 
RMPDFImageReaderCreates a new PDF image reader.
 
- 
- 
Method Details- 
canReadReturns whether PDF image reader can read files with given extension.
- 
canReadpublic static boolean canRead(byte[] data) Returns whether PDF image reader can read the file provided in the byte array.
- 
readBasicInfopublic void readBasicInfo()Reads the basic info from PDF data.- Specified by:
- readBasicInfoin interface- RMImageData.ImageReader
 
- 
readBytesDecodedpublic void readBytesDecoded()ImageReader method - just a stub, since PDF images don't have image bytes.- Specified by:
- readBytesDecodedin interface- RMImageData.ImageReader
 
- 
getPDFFileReturns a PDF file for the PDF image data (creating if necessary).
- 
getImageShape
- 
getImage
 
-