|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.render.afp.modca.AbstractAFPObject
org.apache.fop.render.afp.modca.AbstractNamedAFPObject
org.apache.fop.render.afp.modca.ImageObject
An IOCA Image Data Object
| Field Summary |
| Fields inherited from class org.apache.fop.render.afp.modca.AbstractNamedAFPObject |
name, nameBytes |
| Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject |
log |
| Constructor Summary | |
ImageObject(java.lang.String name)
Constructor for the image object with the specified name, the name must be a fixed length of eight characters. |
|
| Method Summary | |
void |
setImageCompression(byte compression)
Sets the image compression. |
void |
setImageData(byte[] data)
Set the data of the image. |
void |
setImageEncoding(byte encoding)
Sets the image encoding. |
void |
setImageIDEColorModel(byte colorModel)
Sets the image IDE color model. |
void |
setImageIDESize(byte size)
Sets the image IDE size. |
void |
setImageParameters(int xresol,
int yresol,
int width,
int height)
Set the dimensions of the image. |
void |
setImageViewport(int x,
int y,
int w,
int h,
int r,
int wr,
int hr)
Sets the image display area position and size. |
void |
setObjectEnvironmentGroup(ObjectEnvironmentGroup objectEnvironmentGroup)
Sets the ObjectEnvironmentGroup. |
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Image Object |
| Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject |
writeObjectList |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageObject(java.lang.String name)
name - The name of the image.| Method Detail |
public void setImageViewport(int x,
int y,
int w,
int h,
int r,
int wr,
int hr)
x - the x position of the imagey - the y position of the imagew - the width of the imageh - the height of the imager - the rotation of the imagewr - the width resolution of the imagehr - the height resolution of the image
public void setImageParameters(int xresol,
int yresol,
int width,
int height)
xresol - the x resolution of the imageyresol - the y resolution of the imagewidth - the image widthheight - the image heightpublic void setImageEncoding(byte encoding)
encoding - The image encoding.public void setImageCompression(byte compression)
compression - The image compression.public void setImageIDESize(byte size)
size - The IDE size.public void setImageIDEColorModel(byte colorModel)
colorModel - the IDE color model.public void setImageData(byte[] data)
data - The image datapublic void setObjectEnvironmentGroup(ObjectEnvironmentGroup objectEnvironmentGroup)
objectEnvironmentGroup - The objectEnvironmentGroup to set
public void writeDataStream(java.io.OutputStream os)
throws java.io.IOException
writeDataStream in class AbstractAFPObjectos - The stream to write to
java.io.IOException - thrown if an I/O exception of some sort has occurred
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||