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 TypeMethodDescriptionvoid
void
decodePage
(int page) int
getDPI()
getPageAsImage
(int pageIndex) int
void
openPdfFile
(String filename) void
setBackground
(Color color) void
setPageParameters
(float scaling, int pageNumber) void
useHiResScreenDisplay
(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
-