|
fop 1.1 | |||||||||
| 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
public class 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 InlineArea.InlineAdjustingInfo |
adjustingInfo
The adjustment information object |
protected int |
blockProgressionOffset
offset position from before edge of parent area |
| 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, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traits |
| Fields inherited from class org.apache.fop.area.AreaTreeObject |
|---|
extensionAttachments, foreignAttributes |
| Constructor Summary | |
|---|---|
|
InlineArea()
Default constructor for inline area. |
protected |
InlineArea(int blockProgressionOffset,
int bidiLevel)
Instantiate inline area. |
| 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 |
java.util.List |
collectInlineRuns(java.util.List runs)
Collection bidi inline runs. |
InlineArea.InlineAdjustingInfo |
getAdjustingInfo()
|
int |
getBlockProgressionOffset()
Get the block progression offset of this inline area. |
Area |
getParentArea()
|
void |
handleIPDVariation(int ipdVariation)
Apply IPD variation. |
boolean |
hasLineThrough()
|
boolean |
hasOverline()
|
boolean |
hasUnderline()
|
void |
increaseIPD(int ipd)
Increase the inline progression dimensions of this area. |
boolean |
isAncestor(InlineArea ia)
Determine if inline area IA is an ancestor inline area of this area. |
boolean |
isAncestorOrSelf(InlineArea ia)
Determine if inline area IA is an ancestor inline area or same as 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 |
setAdjustingInfo(int stretch,
int shrink,
int adjustment)
Create a new adjustment information object |
void |
setAdjustment(int adjustment)
Modify the adjustment value in the adjustment information object |
void |
setBlockProgressionOffset(int blockProgressionOffset)
Set the block progression offset of this inline area. |
void |
setParentArea(Area parentArea)
|
| Methods inherited from class org.apache.fop.area.Area |
|---|
addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, 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 int blockProgressionOffset
protected InlineArea.InlineAdjustingInfo adjustingInfo
| Constructor Detail |
|---|
public InlineArea()
protected InlineArea(int blockProgressionOffset,
int bidiLevel)
blockProgressionOffset - a block progression offset or zerobidiLevel - a resolved bidi level or -1| Method Detail |
|---|
public InlineArea.InlineAdjustingInfo getAdjustingInfo()
public void setAdjustingInfo(int stretch,
int shrink,
int adjustment)
stretch - the available space for stretchingshrink - the available space for shrinkingadjustment - space adjustment typepublic void setAdjustment(int adjustment)
adjustment - the new adjustment valuepublic void increaseIPD(int ipd)
ipd - the inline progression to increase bypublic void setBlockProgressionOffset(int blockProgressionOffset)
blockProgressionOffset - the offsetpublic int getBlockProgressionOffset()
public void setParentArea(Area parentArea)
parentArea - The parentArea to set.public Area getParentArea()
public void addChildArea(Area childArea)
addChildArea in class AreachildArea - the child area to addpublic boolean hasUnderline()
public boolean hasOverline()
public boolean hasLineThrough()
public boolean isBlinking()
public 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
public void handleIPDVariation(int ipdVariation)
ipdVariation - the variationprotected void notifyIPDVariation(int ipdVariation)
ipdVariation - the difference between new and old ipdpublic java.util.List collectInlineRuns(java.util.List runs)
runs - current list of inline runs
public boolean isAncestorOrSelf(InlineArea ia)
ia - inline area to test
public boolean isAncestor(InlineArea ia)
ia - inline area to test
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||