org.apache.fop.area.inline
public class InlineParent extends InlineArea
InlineArea.InlineAdjustingInfo| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoSize
Controls whether the IPD is automatically adjusted based on the area's children.
|
protected java.util.List |
inlines
The list of inline areas added to this inline parent.
|
adjustingInfo, offsetbpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TBforeignAttributes| Constructor and Description |
|---|
InlineParent()
Create a new inline parent to add areas to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildArea(Area childArea)
Override generic Area method.
|
boolean |
applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
recursively apply the variation factor to all descendant areas
|
java.util.List |
getChildAreas()
Get the child areas for this inline parent.
|
getAdjustingInfo, getOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustment, setOffset, setParentAreaaddTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toStringgetForeignAttributes, getForeignAttributeValue, setForeignAttribute, setForeignAttributesprotected java.util.List inlines
protected transient boolean autoSize
public void addChildArea(Area childArea)
addChildArea in class InlineAreachildArea - the child area to addpublic java.util.List getChildAreas()
public boolean applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
applyVariationFactor in class InlineAreavariationFactor - the variation factor that must be applied to adjustmentslineStretch - the total stretch of the linelineShrink - the total shrink of the lineCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.