|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.AbstractStructuredObject
org.apache.fop.afp.ioca.ImageContent
An IOCA Image Content
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
AbstractAFPObject.Category, AbstractAFPObject.Type |
| Field Summary | |
static byte |
COMPID_G3_MH
The CCITT T.4 Group 3 Coding Standard (G3 MH-Modified Huffman) is a compression method standardized by the International Telegraph and Telephone Consultative Committee (CCITT) for facsimile. |
static byte |
COMPID_G3_MMR
The CCITT T.6 Group 4 Coding Standard (G4 MMR-Modified Modified READ) is a compression method standardized by the International Telegraph and Telephone Consultative Committee (CCITT) for facsimile. |
static byte |
COMPID_G3_MR
The CCITT T.4 Group 3 Coding Option (G3 MR-Modified READ) is a compression method standardized by the International Telegraph and Telephone Consultative Committee (CCITT) for facsimile. |
| Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
log, SF_CLASS, SF_HEADER |
| Constructor Summary | |
ImageContent()
Main Constructor |
|
| Method Summary | |
IDEStructureParameter |
getIDEStructureParameter()
Returns the (optional) IDE Structure parameter |
IDEStructureParameter |
needIDEStructureParameter()
Returns the (optional) IDE Structure parameter. |
void |
setIDEStructureParameter(IDEStructureParameter parameter)
Sets the IDE Structure parameter. |
void |
setImageCompression(byte comp)
Sets the image compression. |
void |
setImageData(byte[] imageData)
Set the image data (can be byte array or inputstream) |
void |
setImageEncoding(byte enc)
Sets the image encoding. |
void |
setImageIDEColorModel(byte color)
Deprecated. use setIDEStructureParameter(IDEStructureParameter) instead |
void |
setImageIDESize(byte s)
Sets the image IDE size. |
void |
setImageSizeParameter(ImageSizeParameter imageSizeParameter)
Sets the image size parameter |
void |
setSubtractive(boolean subtractive)
Deprecated. use setIDEStructureParameter(IDEStructureParameter) instead |
protected void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object. |
protected void |
writeEnd(java.io.OutputStream os)
Helper method to write the end of the Object. |
protected void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object. |
| Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
writeToStream |
| Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte COMPID_G3_MH
public static final byte COMPID_G3_MR
public static final byte COMPID_G3_MMR
| Constructor Detail |
public ImageContent()
| Method Detail |
public void setImageSizeParameter(ImageSizeParameter imageSizeParameter)
imageSizeParameter - the image size parameter.public void setIDEStructureParameter(IDEStructureParameter parameter)
parameter - the IDE Structure parameterpublic IDEStructureParameter getIDEStructureParameter()
public IDEStructureParameter needIDEStructureParameter()
public void setImageEncoding(byte enc)
enc - The image encoding.public void setImageCompression(byte comp)
comp - The image compression.public void setImageIDESize(byte s)
s - The IDE size.public void setImageIDEColorModel(byte color)
setIDEStructureParameter(IDEStructureParameter) instead
color - the IDE color model.public void setSubtractive(boolean subtractive)
setIDEStructureParameter(IDEStructureParameter) instead
subtractive - true for subtractive mode, false for additive modepublic void setImageData(byte[] imageData)
imageData - the image data
protected void writeContent(java.io.OutputStream os)
throws java.io.IOException
writeContent in class AbstractStructuredObjectos - The stream to write to
java.io.IOException - throws an I/O exception if one occurred
protected void writeStart(java.io.OutputStream os)
throws java.io.IOException
writeStart in class AbstractStructuredObjectos - The stream to write to
java.io.IOException - throws an I/O exception if one occurred
protected void writeEnd(java.io.OutputStream os)
throws java.io.IOException
writeEnd in class AbstractStructuredObjectos - The stream to write to
java.io.IOException - an I/O exception if one occurred
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||