org.apache.fop.render.afp.modca

Class Overlay


public class Overlay
extends AbstractPageObject

Field Summary

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

_activeEnvironmentGroup, _objects, _segments, _tagLogicalElements

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

_name, _nameBytes

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

log

Constructor Summary

Overlay(String name, int width, int height, int rotation)
Construct a new overlay object for the specified name argument, the overlay name should be an 8 character identifier.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the overlay.

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

createFont, createIncludePageSegment, createLine, createNoOperation, createShading, createTagLogicalElement, createText, endPage, getActiveEnvironmentGroup, getHeight, getImageObject, getRotation, getWidth, isComplete

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

writeDataStream, writeObjectList

Constructor Details

Overlay

public Overlay(String name,
               int width,
               int height,
               int rotation)
Construct a new overlay object for the specified name argument, the overlay name should be an 8 character identifier.
Parameters:
name - the name of the page.
width - the width of the page.
height - the height of the page.
rotation - the rotation of the page.

Method Details

writeDataStream

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

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