public class Overlay extends PageObject
AbstractAFPObject.Category, AbstractAFPObject.Type
resourceGroup, started
activeEnvironmentGroup, complete, factory, objects, rotation
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
Overlay(Factory factory,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object.
|
addObject, canWrite, createIncludePageOverlay, createShading, toString
getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStream
createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, isComplete, setComplete
copySF, getName, getNameBytes, getNameLength, setName
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets
copySF, truncate, writeChunksToStream
public Overlay(Factory factory, java.lang.String name, int width, int height, int rotation, int widthResolution, int heightResolution)
factory
- the resource manager of the page.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.protected void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class PageObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class PageObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
writeEnd
in class PageObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.