org.apache.fop.render.afp.modca
Class Overlay
An overlay is a MO:DCA-P resource object.
It may be stored in an external resource library or it may be
carried in a resource group. An overlay is similar to a page in
that it defines its own environment and carries the same data objects.
Overlay(String name, int width, int height, int rotation, int widthResolution, int heightResolution) - Construct a new overlay object for the specified name argument, the overlay
name should be an 8 character identifier.
|
void | writeDataStream(OutputStream os) - Accessor method to write the AFP datastream for the overlay.
|
createFont , createIncludePageSegment , createLine , createNoOperation , createShading , createTagLogicalElement , createText , endPage , getActiveEnvironmentGroup , getHeight , getImageObject , getRotation , getWidth , isComplete |
Overlay
public Overlay(String name,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution)
Construct a new overlay object for the specified name argument, the overlay
name should be an 8 character identifier.
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.
writeDataStream
public void writeDataStream(OutputStream os)
throws IOException
Accessor method to write the AFP datastream for the overlay.
- writeDataStream in interface AbstractAFPObject
os
- The stream to write to
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.