|
fop 2.2 | |||||||||
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.modca.AbstractTripletStructuredObject
org.apache.fop.afp.modca.PreprocessPresentationObject
public class PreprocessPresentationObject
The Preprocess Presentation Object structured field specifies presentation parameters for a data object that has been mapped as a resource.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
AbstractAFPObject.Category, AbstractAFPObject.Type |
Field Summary | |
---|---|
static byte |
ORIENTATION_180_DEGREES
180 degrees orientation |
static byte |
ORIENTATION_270_DEGREES
270 degrees orientation |
static byte |
ORIENTATION_90_DEGREES
90 degrees orientation |
static byte |
ORIENTATION_ZERO_DEGREES
0 degrees orientation |
Fields inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
triplets |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
LOG, SF_CLASS, SF_HEADER_LENGTH |
Constructor Summary | |
---|---|
PreprocessPresentationObject(AbstractTripletStructuredObject prePresObj)
Main constructor |
Method Summary | |
---|---|
void |
setOrientation(byte orientation)
Sets the object orientations relative to media leading edge |
void |
setXOffset(int xOffset)
Sets the X axis origin for object content |
void |
setYOffset(int yOffset)
Sets the Y axis origin for object content |
void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object. |
void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object. |
Methods inherited from class org.apache.fop.afp.modca.AbstractTripletStructuredObject |
---|
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets |
Methods inherited from class org.apache.fop.afp.modca.AbstractStructuredObject |
---|
writeEnd, writeToStream |
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
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 ORIENTATION_ZERO_DEGREES
public static final byte ORIENTATION_90_DEGREES
public static final byte ORIENTATION_180_DEGREES
public static final byte ORIENTATION_270_DEGREES
Constructor Detail |
---|
public PreprocessPresentationObject(AbstractTripletStructuredObject prePresObj)
prePresObj
- the presentation object to be preprocessedMethod Detail |
---|
public void setOrientation(byte orientation)
orientation
- the object orientations relative to media leading edgepublic void setXOffset(int xOffset)
xOffset
- the X axis origin for object contentpublic void setYOffset(int yOffset)
yOffset
- the Y axis origin for object contentpublic void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class AbstractStructuredObject
os
- The stream to write to
java.io.IOException
- throws an I/O exception if one occurredpublic void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class AbstractStructuredObject
os
- The stream to write to
java.io.IOException
- throws an I/O exception if one occurred
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |