public class PDFBoxImageHandler extends AbstractPDFBoxHandler implements org.apache.fop.render.ImageHandler
ImageHandler interfaces
which can use PDFBox to parse an existing PDF file and write that to the
target PDF as a Form XObject.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
logging instance
|
| Constructor and Description |
|---|
PDFBoxImageHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
java.lang.Class |
getSupportedImageClass() |
org.apache.xmlgraphics.image.loader.ImageFlavor[] |
getSupportedImageFlavors() |
void |
handleImage(org.apache.fop.render.RenderingContext context,
org.apache.xmlgraphics.image.loader.Image image,
java.awt.Rectangle destRect) |
boolean |
isCompatible(org.apache.fop.render.RenderingContext targetContext,
org.apache.xmlgraphics.image.loader.Image image) |
createStreamForPDFpublic void handleImage(org.apache.fop.render.RenderingContext context,
org.apache.xmlgraphics.image.loader.Image image,
java.awt.Rectangle destRect)
throws java.io.IOException
handleImage in interface org.apache.fop.render.ImageHandlerjava.io.IOExceptionpublic boolean isCompatible(org.apache.fop.render.RenderingContext targetContext,
org.apache.xmlgraphics.image.loader.Image image)
isCompatible in interface org.apache.fop.render.ImageHandlerpublic int getPriority()
getPriority in interface org.apache.fop.render.ImageHandlerBasepublic java.lang.Class getSupportedImageClass()
getSupportedImageClass in interface org.apache.fop.render.ImageHandlerBasepublic org.apache.xmlgraphics.image.loader.ImageFlavor[] getSupportedImageFlavors()
getSupportedImageFlavors in interface org.apache.fop.render.ImageHandlerBaseCopyright 2007-2025 The Apache Software Foundation. All Rights Reserved.