org.apache.fop.render.afp.modca
public class PageDescriptor extends AbstractDescriptor
height, heightResolution, width, widthResolution
log
Constructor and Description |
---|
PageDescriptor(int width,
int height,
int widthResolution,
int heightResolution)
Construct a page descriptor for the specified page width
and page height.
|
Modifier and Type | Method and Description |
---|---|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the Page Descriptor
|
writeObjectList
public PageDescriptor(int width, int height, int widthResolution, int heightResolution)
width
- The page width.height
- The page height.widthResolution
- The page width resolutionheightResolution
- The page height resolutionpublic void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
- in the event that an I/O Exception occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.