|
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.ObjectAreaPosition
public class ObjectAreaPosition
The Object Area Position structured field specifies the origin and orientation of the object area, and the origin and orientation of the object content within the 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 |
REFCSYS_PAGE_RELATIVE
Object areas will be positioned with respect to the standard origin |
static byte |
REFCSYS_PAGE_SEGMENT_RELATIVE
Object areas will be positioned with respect to a point that is define by the Include Page Segment (IPS) structured field. |
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject |
---|
log, SF_CLASS, SF_HEADER |
Constructor Summary | |
---|---|
ObjectAreaPosition(int x,
int y,
int rotation)
Construct an object area position for the specified object y, y position. |
|
ObjectAreaPosition(int x,
int y,
int rotation,
byte refCSys)
Construct an object area position for the specified object y, y position. |
Method Summary | |
---|---|
void |
setReferenceCoordinateSystem(byte refCSys)
Sets the reference coordinate system. |
java.lang.String |
toString()
|
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.AbstractAFPObject |
---|
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte REFCSYS_PAGE_SEGMENT_RELATIVE
public static final byte REFCSYS_PAGE_RELATIVE
Constructor Detail |
---|
public ObjectAreaPosition(int x, int y, int rotation)
x
- The x coordinate.y
- The y coordinate.rotation
- The coordinate system rotation (must be 0, 90, 180, 270).public ObjectAreaPosition(int x, int y, int rotation, byte refCSys)
x
- The x coordinate.y
- The y coordinate.rotation
- The coordinate system rotation (must be 0, 90, 180, 270).refCSys
- the reference coordinate system (normally 0x01)Method Detail |
---|
public void setReferenceCoordinateSystem(byte refCSys)
refCSys
- the reference coordinate system (normally 0x01)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.public java.lang.String toString()
toString
in class java.lang.Object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |