|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.AreaTreeObject
org.apache.fop.area.Area
org.apache.fop.area.inline.InlineArea
org.apache.fop.area.inline.InlineParent
public class InlineParent
Inline parent area. This is an inline area that can have other inlines as children.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.area.inline.InlineArea |
---|
InlineArea.InlineAdjustingInfo |
Field Summary | |
---|---|
protected boolean |
autoSize
Controls whether the IPD is automatically adjusted based on the area's children. |
protected java.util.List<InlineArea> |
inlines
The list of inline areas added to this inline parent. |
protected int |
minChildOffset
The offset of the beforestchild area of this area. |
Fields inherited from class org.apache.fop.area.inline.InlineArea |
---|
adjustingInfo, blockProgressionOffset |
Fields inherited from class org.apache.fop.area.Area |
---|
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, traits |
Fields inherited from class org.apache.fop.area.AreaTreeObject |
---|
extensionAttachments, foreignAttributes |
Constructor Summary | |
---|---|
InlineParent()
|
Method Summary | |
---|---|
void |
addChildArea(Area c)
Set the parent for the child area. |
boolean |
applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
recursively apply the variation factor to all descendant areas |
java.util.List |
collectInlineRuns(java.util.List runs)
Collection bidi inline runs. |
java.util.List<InlineArea> |
getChildAreas()
Get the child areas for this inline parent. |
void |
resetChildrenLevel()
Reset bidirectionality level of all children to default (-1), signalling that they will inherit the level of their parent text area. |
Methods inherited from class org.apache.fop.area.inline.InlineArea |
---|
getAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentArea |
Methods inherited from class org.apache.fop.area.Area |
---|
activateEffectiveIPD, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setIPD, setTraits, setWritingModeTraits, toString |
Methods inherited from class org.apache.fop.area.AreaTreeObject |
---|
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List<InlineArea> inlines
protected transient boolean autoSize
protected int minChildOffset
beforestchild area of this area.
Constructor Detail |
---|
public InlineParent()
Method Detail |
---|
public void addChildArea(Area c)
InlineArea
addChildArea
in class InlineArea
c
- the child area to addpublic java.util.List<InlineArea> getChildAreas()
public boolean applyVariationFactor(double variationFactor, int lineStretch, int lineShrink)
applyVariationFactor
in class InlineArea
variationFactor
- the variation factor that must be applied to adjustmentslineStretch
- the total stretch of the linelineShrink
- the total shrink of the line
public java.util.List collectInlineRuns(java.util.List runs)
InlineArea
collectInlineRuns
in class InlineArea
runs
- current list of inline runs
public void resetChildrenLevel()
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |