org.apache.fop.render.afp.modca

Class AbstractDescriptor

Known Direct Subclasses:
ObjectAreaDescriptor, PageDescriptor, PresentationTextDescriptor

public abstract class AbstractDescriptor
extends AbstractAFPObject

Base class for AFP descriptor objects

Field Summary

protected int
height
height of this descriptor
protected int
heightResolution
height resolution of this descriptor
protected int
width
width of this descriptor
protected int
widthResolution
width resolution of this descriptor

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

log

Constructor Summary

AbstractDescriptor(int width, int height, int widthResolution, int heightResolution)
Constructor a PresentationTextDescriptor for the specified width and height.

Method Summary

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

writeDataStream, writeObjectList

Field Details

height

protected int height
height of this descriptor

heightResolution

protected int heightResolution
height resolution of this descriptor

width

protected int width
width of this descriptor

widthResolution

protected int widthResolution
width resolution of this descriptor

Constructor Details

AbstractDescriptor

public AbstractDescriptor(int width,
                          int height,
                          int widthResolution,
                          int heightResolution)
Constructor a PresentationTextDescriptor for the specified width and height.
Parameters:
width - The width of the page.
height - The height of the page.
widthResolution - The width resolution of the page.
heightResolution - The height resolution of the page.

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