org.apache.fop.render.afp.modca

Class ImageInputDescriptor


public class ImageInputDescriptor
extends AbstractAFPObject

The IM Image Input Descriptor structured field contains the descriptor data for an IM image data object. This data specifies the resolution, size, and color of the IM image.

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Method Summary

void
setResolution(int resolution)
Sets the resolution information for the raster image the default value is a resolution of 240 dpi.
void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the Image Input Descriptor

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Method Details

setResolution

public void setResolution(int resolution)
Sets the resolution information for the raster image the default value is a resolution of 240 dpi.
Parameters:
resolution - The resolution value

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to write the AFP datastream for the Image Input Descriptor
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.