fop 0.95

org.apache.fop.render.afp.modca
Class ObjectAreaPosition

java.lang.Object
  extended by org.apache.fop.render.afp.modca.AbstractAFPObject
      extended by org.apache.fop.render.afp.modca.ObjectAreaPosition

public class ObjectAreaPosition
extends AbstractAFPObject

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.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
log
 
Constructor Summary
ObjectAreaPosition(int x, int y, int rotation)
          Construct an object area position for the specified object y, y position.
 
Method Summary
 void writeDataStream(java.io.OutputStream os)
          Accessor method to write the AFP datastream for the Object Area Position
 
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

ObjectAreaPosition

public ObjectAreaPosition(int x,
                          int y,
                          int rotation)
Construct an object area position for the specified object y, y position.

Parameters:
x - The x coordinate.
y - The y coordinate.
rotation - The coordinate system rotation (must be 0, 90, 180, 270).
Method Detail

writeDataStream

public void writeDataStream(java.io.OutputStream os)
                     throws java.io.IOException
Accessor method to write the AFP datastream for the Object Area Position

Specified by:
writeDataStream in class AbstractAFPObject
Parameters:
os - The stream to write to
Throws:
java.io.IOException

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.