public class RegionReference extends Area
| Modifier and Type | Field and Description |
|---|---|
protected RegionViewport |
regionViewport
the parent
RegionViewport for this object |
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, effectiveIPD, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traitsextensionAttachments, foreignAttributes| Constructor and Description |
|---|
RegionReference(int regionClass,
java.lang.String regionName,
RegionViewport parent)
Create a new region reference area.
|
RegionReference(Region regionFO,
RegionViewport parent)
Create a new region reference area.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBlock(Block block)
Add a block area to this region reference area.
|
void |
addChildArea(Area child)
Add a child to this area.
|
java.lang.Object |
clone() |
java.util.List<Area> |
getBlocks()
Get the block in this region.
|
CTM |
getCTM()
Get the current transform of this region.
|
int |
getRegionClass()
Get the region class of this region.
|
java.lang.String |
getRegionName() |
RegionViewport |
getRegionViewport() |
boolean |
isEmpty()
indicates whether the main reference area has any child areas added to it
|
void |
setCTM(CTM ctm)
Set the Coordinate Transformation Matrix which transforms content
coordinates in this region reference area which are specified in
terms of "start" and "before" into coordinates in a system which
is positioned in "absolute" directions (with origin at lower left of
the region reference area.
|
java.lang.String |
toString() |
activateEffectiveIPD, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getChangeBarList, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setIPD, setTraits, setWritingModeTraitsaddExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributesprotected RegionViewport regionViewport
RegionViewport for this objectpublic RegionReference(Region regionFO, RegionViewport parent)
regionFO - the region.parent - the viewport for this region.public RegionReference(int regionClass,
java.lang.String regionName,
RegionViewport parent)
regionClass - the region class (as returned by Region.getNameId())regionName - the name of the region (as returned by Region.getRegionName())parent - the viewport for this region.public void addChildArea(Area child)
addChildArea in class Areachild - the child area to addpublic void setCTM(CTM ctm)
ctm - the current transform to position this regionpublic RegionViewport getRegionViewport()
public CTM getCTM()
public java.util.List<Area> getBlocks()
public int getRegionClass()
public java.lang.String getRegionName()
public void addBlock(Block block)
block - the block area to addpublic boolean isEmpty()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.