org.apache.fop.render.afp.modca

Class ObjectAreaDescriptor


public class ObjectAreaDescriptor
extends AbstractAFPObject

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.AbstractAFPObject

log

Constructor Summary

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

Method Summary

void
writeDataStream(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

writeDataStream, writeObjectList

Constructor Details

ObjectAreaDescriptor

public ObjectAreaDescriptor(int width,
                            int height)
Construct an object area descriptor for the specified object width and object height.
Parameters:
width - The page width.
height - The page height.

Method Details

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to write the AFP datastream for the Object Area Descriptor
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

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