|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.Area
org.apache.fop.area.inline.InlineArea
Inline Area This area is for all inline areas that can be placed in a line area.
Nested Class Summary | |
protected class |
InlineArea.InlineAdjustingInfo
this class stores information about potential adjustments that can be used in order to re-compute adjustments when a page-number or a page-number-citation is resolved |
Field Summary | |
protected int |
offset
offset position from before edge of parent area |
Fields inherited from class org.apache.fop.area.Area |
bpd, 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, TB |
Constructor Summary | |
InlineArea()
|
Method Summary | |
void |
addChildArea(Area childArea)
Set the parent for the child area. |
boolean |
applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
recursively apply the variation factor to all descendant areas |
int |
getOffset()
Get the offset of this inline area. |
Area |
getParentArea()
|
boolean |
hasLineThrough()
|
boolean |
hasOverline()
|
boolean |
hasUnderline()
|
void |
increaseIPD(int ipd)
Increase the inline progression dimensions of this area. |
boolean |
isBlinking()
|
protected void |
notifyIPDVariation(int ipdVariation)
notify the parent area about the ipd variation of this area or of a descendant area |
void |
setOffset(int offset)
Set the offset of this inline area. |
void |
setParentArea(Area parentArea)
|
void |
updateIPD(int newIPD)
set the ipd and notify the parent area about the variation; this happens when a page-number or a page-number-citation is resolved to its actual value |
Methods inherited from class org.apache.fop.area.Area |
addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int offset
Constructor Detail |
public InlineArea()
Method Detail |
public void increaseIPD(int ipd)
ipd
- the inline progression to increase bypublic void setOffset(int offset)
offset
- the offsetpublic int getOffset()
public void setParentArea(Area parentArea)
parentArea
- The parentArea to set.public Area getParentArea()
public void addChildArea(Area childArea)
addChildArea
in class Area
childArea
- the child area to addArea.addChildArea(Area)
public boolean hasUnderline()
public boolean hasOverline()
public boolean hasLineThrough()
public boolean isBlinking()
public void updateIPD(int newIPD)
newIPD
- the new ipd of the areapublic boolean applyVariationFactor(double variationFactor, int lineStretch, int lineShrink)
variationFactor
- the variation factor that must be applied to adjustmentslineStretch
- the total stretch of the linelineShrink
- the total shrink of the line
protected void notifyIPDVariation(int ipdVariation)
ipdVariation
- the difference between new and old ipd
|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |