fop 0.95

org.apache.fop.render.afp.modca
Class PresentationTextDescriptor

java.lang.Object
  extended by org.apache.fop.render.afp.modca.AbstractAFPObject
      extended by org.apache.fop.render.afp.modca.AbstractDescriptor
          extended by org.apache.fop.render.afp.modca.PresentationTextDescriptor

public class PresentationTextDescriptor
extends AbstractDescriptor

The Presentation Text Descriptor specifies the units of measure for the Presentation Text object space, the size of the Presentation Text object space, and the initial values for modal parameters, called initial text conditions. Initial values not provided are defaulted by the controlling environment or the receiving device. The Presentation Text Descriptor provides the following initial values: - Unit base - Xp-units per unit base - Yp-units per unit base - Xp-extent of the presentation space - Yp-extent of the presentation space - Initial text conditions. The initial text conditions are values provided by the Presentation Text Descriptor to initialize the modal parameters of the control sequences. Modal control sequences typically are characterized by the word set in the name of the control sequence. Modal parameters are identified as such in their semantic descriptions.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractDescriptor
height, heightResolution, width, widthResolution
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
log
 
Constructor Summary
PresentationTextDescriptor(int width, int height, int widthResolution, int heightResolution)
          Constructor a PresentationTextDescriptor for the specified width and height.
 
Method Summary
 void writeDataStream(java.io.OutputStream os)
          Accessor method to write the AFP datastream for the Presentation Text Descriptor
 
Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
writeObjectList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationTextDescriptor

public PresentationTextDescriptor(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.
Method Detail

writeDataStream

public void writeDataStream(java.io.OutputStream os)
                     throws java.io.IOException
Accessor method to write the AFP datastream for the Presentation Text Descriptor

Specified by:
writeDataStream in class AbstractAFPObject
Parameters:
os - The stream to write to
Throws:
java.io.IOException - thrown if an I/O exception of some sort has occurred

fop 0.95

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