|
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.triplets.AbstractTriplet
org.apache.fop.afp.modca.triplets.MappingOptionTriplet
public class MappingOptionTriplet
Specifies the mapping of data object presentation space to object area
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
static byte |
CENTER_AND_TRIM
the data object is centred, all data that falls within the object area extents will be presented but data that falls outside will not be presented |
static byte |
IMAGE_POINT_TO_PEL
Migration mapping option: Image point-to-pel. |
static byte |
IMAGE_POINT_TO_PEL_DOUBLE_DOT
Migration mapping option: Image point-to-pel with double dot. |
static byte |
POSITION
the data object is placed in the upper left corner, all data must be presented within the object area extents |
static byte |
POSITION_AND_TRIM
the data object is placed in the upper left corner, all data that falls within the object area extents will be presented but data that falls outside will not be presented |
static byte |
REPLICATE_AND_TRIM
Migration mapping option: Replicate and trim. |
static byte |
SCALE_TO_FILL
the data object is centred, aspect ratio is not always preserved |
static byte |
SCALE_TO_FIT
the data object is centred and symmetrically scaled up or down while preserving aspect ratio |
static byte |
UP3I_PRINT_DATA
used to map ip3i print data objects |
Fields inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet |
---|
id |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
MappingOptionTriplet(byte mapValue)
Main constructor |
Method Summary | |
---|---|
int |
getDataLength()
Returns the data length of this structured field |
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream |
Methods inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet |
---|
getData, getId |
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 POSITION
public static final byte POSITION_AND_TRIM
public static final byte SCALE_TO_FIT
public static final byte CENTER_AND_TRIM
public static final byte IMAGE_POINT_TO_PEL
public static final byte IMAGE_POINT_TO_PEL_DOUBLE_DOT
public static final byte REPLICATE_AND_TRIM
public static final byte SCALE_TO_FILL
public static final byte UP3I_PRINT_DATA
Constructor Detail |
---|
public MappingOptionTriplet(byte mapValue)
mapValue
- the mapping option to useMethod Detail |
---|
public int getDataLength()
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
os
- the outputsteam stream
java.io.IOException
- an I/O exception of some sort has occurred.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |