org.apache.fop.render.afp.modca
Class IncludeObject
public class IncludeObject
An Include Object structured field references an object on a page or overlay.
It optionally contains parameters that identify the object and that specify
presentation parameters such as object position, size, orientation, mapping,
and default color.
Where the presentation parameters conflict with parameters specified in the
object's environment group (OEG), the parameters in the Include Object
structured field override. If the referenced object is a page segment, the
IOB parameters override the corresponding environment group parameters on all
data objects in the page segment.
IncludeObject(String name) - Constructor for the include object with the specified name, the name must
be a fixed length of eight characters and is the name of the referenced
object.
|
void | setOrientation(int orientation) - Sets the orientation to use for the Include Object.
|
void | writeDataStream(OutputStream os) - Accessor method to write the AFP datastream for the Include Object
|
IncludeObject
public IncludeObject(String name)
Constructor for the include object with the specified name, the name must
be a fixed length of eight characters and is the name of the referenced
object.
name
- the name of the image
setOrientation
public void setOrientation(int orientation)
Sets the orientation to use for the Include Object.
orientation
- The orientation (0,90, 180, 270)
writeDataStream
public void writeDataStream(OutputStream os)
throws IOException
Accessor method to write the AFP datastream for the Include Object
- writeDataStream in interface AbstractAFPObject
os
- The stream to write to
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.