org.apache.fop.area.inline
Class FilledArea
- Serializable
Filled area.
This inline area contains some inline areas.
When the renderer gets the child areas to render
the inline areas are repeated to fill the ipd of
this inline parent.
This extends InlineParent so that the renderer will render
this as a normal 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 |
boolean | applyVariationFactor(double variationFactor, int lineStretch, int lineShrink) - recursively apply the variation factor to all descendant areas
|
int | getBPD() -
|
List | getChildAreas() - Get the child areas for this filled area.
|
int | getUnitWidth() - Return the unit width for the areas to fill the full width.
|
void | setUnitWidth(int w) - Set the unit width for the areas to fill the full width.
|
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 |
FilledArea
public FilledArea()
Create a new filled area.
applyVariationFactor
public boolean applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
recursively apply the variation factor to all descendant areas
- applyVariationFactor in interface InlineParent
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
getBPD
public int getBPD()
- getBPD in interface Area
getChildAreas
public List getChildAreas()
Get the child areas for this filled area.
This copies the references of the inline areas so that
it fills the total width of the area a whole number of times
for the unit width.
- getChildAreas in interface InlineParent
- the list of child areas copied to fill the width
getUnitWidth
public int getUnitWidth()
Return the unit width for the areas to fill the full width.
setUnitWidth
public void setUnitWidth(int w)
Set the unit width for the areas to fill the full width.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.