public final class ActiveEnvironmentGroup extends AbstractEnvironmentGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
ActiveEnvironmentGroup.FontFullyQualifiedNameTriplet |
AbstractAFPObject.Category, AbstractAFPObject.TypemapDataResources, mapPageOverlaysnametripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
ActiveEnvironmentGroup(Factory factory,
String name,
int width,
int height,
int widthRes,
int heightRes)
Constructor for the ActiveEnvironmentGroup, this takes a
name parameter which must be 8 characters long.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMapPageSegment(String name)
Add map page segment.
|
void |
createFont(int fontRef,
AFPFont font,
int size,
int orientation)
Method to create a map coded font object
|
PageDescriptor |
getPageDescriptor()
Accessor method to obtain the PageDescriptor object of the
active environment group.
|
PresentationTextDescriptor |
getPresentationTextDataDescriptor()
Accessor method to obtain the PresentationTextDataDescriptor object of
the active environment group.
|
void |
setObjectAreaPosition(int x,
int y,
int rotation)
Set the position of the object area
|
static void |
setupTruetypeMDR(AbstractTripletStructuredObject mdr,
boolean res) |
void |
writeContent(OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(OutputStream os)
Helper method to write the start of the Object.
|
createOverlay, getLastElementcopySF, getName, getNameBytes, getNameLength, setName, toStringaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletswriteToStreamcopySF, truncate, writeChunksToStream, writeObjectspublic ActiveEnvironmentGroup(Factory factory, String name, int width, int height, int widthRes, int heightRes)
factory - the object factoryname - the active environment group namewidth - the page widthheight - the page heightwidthRes - the page width resolutionheightRes - the page height resolutionpublic void setObjectAreaPosition(int x,
int y,
int rotation)
x - the x offsety - the y offsetrotation - the rotationpublic PageDescriptor getPageDescriptor()
public PresentationTextDescriptor getPresentationTextDataDescriptor()
public void writeContent(OutputStream os) throws IOException
writeContent in class AbstractEnvironmentGroupos - The stream to write toIOException - throws an I/O exception if one occurredprotected void writeStart(OutputStream os) throws IOException
writeStart in class AbstractStructuredObjectos - The stream to write toIOException - throws an I/O exception if one occurredprotected void writeEnd(OutputStream os) throws IOException
writeEnd in class AbstractStructuredObjectos - The stream to write toIOException - an I/O exception if one occurredpublic void createFont(int fontRef,
AFPFont font,
int size,
int orientation)
fontRef - the font number used as the resource identifierfont - the fontsize - the point size of the fontorientation - the orientation of the font (e.g. 0, 90, 180, 270)public static void setupTruetypeMDR(AbstractTripletStructuredObject mdr, boolean res)
public void addMapPageSegment(String name)
name - of segment to addCopyright © 2025 Apache Software Foundation. All rights reserved.