org.apache.fop.area.inline
Class InlineParent
- Serializable
public class InlineParent
Inline parent area.
This is an inline area that can have other inlines as children.
protected boolean | autoSize - Controls whether the IPD is automatically adjusted based on the area's children.
|
protected List | inlines - The list of inline areas added to this inline parent.
|
BT , CLASS_ABSOLUTE , CLASS_BEFORE_FLOAT , CLASS_FIXED , CLASS_FOOTNOTE , CLASS_MAX , CLASS_NORMAL , CLASS_SIDE_FLOAT , LR , ORIENT_0 , ORIENT_180 , ORIENT_270 , ORIENT_90 , RL , TB , bpd , ipd , log , props |
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
|
List | getChildAreas() - Get the child areas for this inline parent.
|
addChildArea , applyVariationFactor , getAdjustingInfo , getOffset , getParentArea , handleIPDVariation , hasLineThrough , hasOverline , hasUnderline , increaseIPD , isBlinking , notifyIPDVariation , setAdjustingInfo , setAdjustment , setOffset , setParentArea |
addChildArea , addTrait , addTrait , getAllocBPD , getAllocIPD , getAreaClass , getBPD , getBooleanTrait , getBorderAndPaddingWidthAfter , getBorderAndPaddingWidthBefore , getBorderAndPaddingWidthEnd , getBorderAndPaddingWidthStart , getIPD , getSpaceAfter , getSpaceBefore , getSpaceEnd , getSpaceStart , getTrait , getTraitAsInteger , getTraits , hasTrait , hasTraits , setAreaClass , setBPD , setIPD , toString |
autoSize
protected boolean autoSize
Controls whether the IPD is automatically adjusted based on the area's children.
inlines
protected List inlines
The list of inline areas added to this inline parent.
InlineParent
public InlineParent()
Create a new inline parent to add areas to.
addChildArea
public void addChildArea(Area childArea)
Override generic Area method.
- addChildArea in interface InlineArea
childArea
- the child area to add
applyVariationFactor
public boolean applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
recursively apply the variation factor to all descendant areas
- applyVariationFactor in interface InlineArea
variationFactor
- the variation factor that must be applied to adjustmentslineStretch
- the total stretch of the linelineShrink
- the total shrink of the line
- true if there is an UnresolvedArea descendant
getChildAreas
public List getChildAreas()
Get the child areas for this inline parent.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.