fop 0.95

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

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

public class ObjectAreaDescriptor
extends AbstractDescriptor

The Object Area Descriptor structured field specifies the size and attributes of an object area presentation space.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractDescriptor
height, heightResolution, width, widthResolution
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
log
 
Constructor Summary
ObjectAreaDescriptor(int width, int height, int widthResolution, int heightResolution)
          Construct an object area descriptor for the specified object width and object height.
 
Method Summary
 void writeDataStream(java.io.OutputStream os)
          Accessor method to write the AFP datastream for the Object Area Descriptor
 
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

ObjectAreaDescriptor

public ObjectAreaDescriptor(int width,
                            int height,
                            int widthResolution,
                            int heightResolution)
Construct an object area descriptor for the specified object width and object height.

Parameters:
width - The page width.
height - The page height.
widthResolution - The page width resolution.
heightResolution - The page height resolution.
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 Descriptor

Specified by:
writeDataStream in class AbstractAFPObject
Parameters:
os - The stream to write to
Throws:
java.io.IOException - thrown if an I/O exception of some sort has occurred

fop 0.95

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