org.apache.fop.render.afp.modca

Class PageDescriptor


public class PageDescriptor
extends AbstractAFPObject

The Page Descriptor structured field specifies the size and attributes of a page or overlay presentation space.

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Constructor Summary

PageDescriptor(int width, int height)
Construct a page descriptor for the specified page width and page height.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the Page Descriptor

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Constructor Details

PageDescriptor

public PageDescriptor(int width,
                      int height)
Construct a page descriptor for the specified page width and page 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 Page Descriptor
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

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