org.apache.fop.render.afp.modca
public class PageObject extends AbstractPageObject
activeEnvironmentGroup, objects, segments, tagLogicalElementsname, nameByteslog| Constructor and Description |
|---|
PageObject(java.lang.String name,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution)
Construct a new page object for the specified name argument, the page
name should be an 8 character identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlay(Overlay overlay)
Adds an overlay to the page resources
|
void |
createIncludePageOverlay(java.lang.String name,
int x,
int y,
int orientation)
Creates an IncludePageOverlay on the page.
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to write the AFP datastream for the page.
|
createFont, createIncludePageSegment, createLine, createNoOperation, createShading, createTagLogicalElement, createText, endPage, getActiveEnvironmentGroup, getHeight, getImageObject, getRotation, getWidth, isCompletewriteObjectListpublic PageObject(java.lang.String name,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution)
name - the name of the page.width - the width of the page.height - the height of the page.rotation - the rotation of the page.widthResolution - the width resolution of the page.heightResolution - the height resolution of the page.public void addOverlay(Overlay overlay)
overlay - the overlay to addpublic void createIncludePageOverlay(java.lang.String name,
int x,
int y,
int orientation)
name - the name of the overlayx - the x position of the overlayy - the y position of the overlayorientation - the orientation required for the overlaypublic void writeDataStream(java.io.OutputStream os)
throws java.io.IOException
writeDataStream in class AbstractAFPObjectos - The stream to write tojava.io.IOException - thrown if an I/O exception of some sort has occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.