|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.render.afp.AFPImageHandler
A base abstract AFP image handler
| Constructor Summary | |
AFPImageHandler()
|
|
| Method Summary | |
protected abstract AFPDataObjectInfo |
createDataObjectInfo()
Creates the data object information object |
static AFPObjectAreaInfo |
createObjectAreaInfo(AFPPaintingState paintingState,
java.awt.Rectangle targetRect)
Creates and returns an AFPObjectAreaInfo instance for the placement of the image. |
AFPDataObjectInfo |
generateDataObjectInfo(AFPRendererImageInfo rendererImageInfo)
Generates an intermediate AFPDataObjectInfo that is later used to construct the appropriate data object in the AFP DataStream. |
protected void |
setResourceInformation(AFPDataObjectInfo dataObjectInfo,
java.lang.String uri,
java.util.Map foreignAttributes)
Sets resource information on the data object info. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.fop.render.ImageHandlerBase |
getPriority, getSupportedImageClass, getSupportedImageFlavors |
| Constructor Detail |
public AFPImageHandler()
| Method Detail |
public AFPDataObjectInfo generateDataObjectInfo(AFPRendererImageInfo rendererImageInfo)
throws java.io.IOException
rendererImageInfo - the renderer image info
java.io.IOException - thrown if an I/O exception of some sort has occurred.
protected void setResourceInformation(AFPDataObjectInfo dataObjectInfo,
java.lang.String uri,
java.util.Map foreignAttributes)
dataObjectInfo - the data object info instanceuri - the image's URI (or null if no URI is available)foreignAttributes - a Map of foreign attributes (or null)
public static AFPObjectAreaInfo createObjectAreaInfo(AFPPaintingState paintingState,
java.awt.Rectangle targetRect)
AFPObjectAreaInfo instance for the placement of the image.
paintingState - the painting statetargetRect - the target rectangle in which to place the image (coordinates in mpt)
protected abstract AFPDataObjectInfo createDataObjectInfo()
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||