org.apache.fop.render.afp.modca
Class PresentationTextDescriptor
public class PresentationTextDescriptor
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.
void | writeDataStream(OutputStream os) - Accessor method to write the AFP datastream for the Presentation Text Descriptor
|
PresentationTextDescriptor
public PresentationTextDescriptor(int width,
int height)
Constructor a PresentationTextDescriptor for the specified
width and height.
width
- The width of the page.height
- The height of the page.
writeDataStream
public void writeDataStream(OutputStream os)
throws IOException
Accessor method to write the AFP datastream for the Presentation Text Descriptor
- writeDataStream in interface AbstractAFPObject
os
- The stream to write to
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.