public class PresentationTextDescriptor extends AbstractDescriptor
AbstractAFPObject.Category, AbstractAFPObject.Type
height, heightRes, width, widthRes
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
PresentationTextDescriptor(int width,
int height,
int widthRes,
int heightRes)
Constructor a PresentationTextDescriptor for the specified
width and height.
|
Modifier and Type | Method and Description |
---|---|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getHeight, getWidth, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copySF, copySF, truncate, writeChunksToStream, writeObjects
public PresentationTextDescriptor(int width, int height, int widthRes, int heightRes)
width
- The width of the page.height
- The height of the page.widthRes
- The width resolution of the page.heightRes
- The height resolution of the page.public void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.