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 List<InlineArea> |
inlines
The list of inline areas added to this inline parent.
|
protected int |
minChildOffset
The offset of the beforest child area of this area.
|
adjustingInfo, blockProgressionOffset
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
extensionAttachments, foreignAttributes
Constructor and Description |
---|
InlineParent() |
Modifier and Type | Method and Description |
---|---|
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
|
List |
collectInlineRuns(List runs)
Collection bidi inline runs.
|
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.
|
void |
setFromFootnote(boolean fromFootnote) |
getAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentArea
activateEffectiveIPD, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getChangeBarList, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, isFromFootnote, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setIPD, setTraits, setWritingModeTraits, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
protected List<InlineArea> inlines
protected transient boolean autoSize
protected int minChildOffset
public void addChildArea(Area c)
InlineArea
addChildArea
in class InlineArea
c
- the child area to addpublic 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 linepublic List collectInlineRuns(List runs)
InlineArea
collectInlineRuns
in class InlineArea
runs
- current list of inline runspublic void resetChildrenLevel()
public void setFromFootnote(boolean fromFootnote)
setFromFootnote
in class Area
Copyright © 2025 Apache Software Foundation. All rights reserved.