Package com.pixelmed.utils
Class PdfDecoder
java.lang.Object
com.pixelmed.utils.PdfDecoder
A class for to encapsulate JPedal PDF decoding capability if available at runtime without requiring it for compilation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddecodePage(int page) intgetDPI()getPageAsImage(int pageIndex) intvoidopenPdfFile(String filename) voidsetBackground(Color color) voidsetPageParameters(float scaling, int pageNumber) voiduseHiResScreenDisplay(boolean value)
-
Field Details
-
pdfDecoderClass
-
pdfDecoder
-
-
Constructor Details
-
PdfDecoder
- Throws:
PdfException
-
-
Method Details
-
useHiResScreenDisplay
- Throws:
PdfException
-
openPdfFile
- Throws:
PdfException
-
closePdfFile
- Throws:
PdfException
-
getPageCount
- Throws:
PdfException
-
getDPI
- Throws:
PdfException
-
setPageParameters
- Throws:
PdfException
-
decodePage
- Throws:
PdfException
-
setBackground
- Throws:
PdfException
-
getPageAsImage
- Throws:
PdfException
-
getComponent
-