public interface FoLineNonText extends LineNonText
LineNonText
that provides additional services to
XSL-FO systems.Modifier and Type | Method and Description |
---|---|
FoLineNonText |
getContextWrapper(FoContext context)
Allows the
FoContext to attach itself to a LineNonText
item as it passes through the line-breaking system, if that context is
necessary. |
GraftingPoint |
getGraftingPoint()
Return the grafting point (retrieve-marker or retrieve-table-marker)
associated with this item, if any.
|
FoLineNonText |
getWrapped()
If this instance wraps another (to provide context), return the wrapped
instance.
|
int |
inlineSizeMaximum(FoContext context,
int lineLength)
Context-aware version of
LineNonText.inlineSizeMaximum(int) . |
int |
inlineSizeMinimum(FoContext context,
int lineLength)
Context-aware version of
LineNonText.inlineSizeMinimum(int) . |
int |
inlineSizeOptimum(FoContext context,
int lineLength)
Context-aware version of
LineNonText.inlineSizeOptimum(int) . |
inlineSizeMaximum, inlineSizeMinimum, inlineSizeOptimum
isLastItemInBlock
FoLineNonText getContextWrapper(FoContext context)
FoContext
to attach itself to a LineNonText
item as it passes through the line-breaking system, if that context is
necessary.context
- An object that knows how to resolve FO Tree context
issues.FoLineNonText getWrapped()
GraftingPoint getGraftingPoint()
int inlineSizeOptimum(FoContext context, int lineLength)
LineNonText.inlineSizeOptimum(int)
.context
- An object that knows how to resolve FO Tree context
issues.lineLength
- The length of the line on which this non-text item will
be placed. This gives the non-text item the opportunity to compute its
size based on a percentage of the line length.int inlineSizeMinimum(FoContext context, int lineLength)
LineNonText.inlineSizeMinimum(int)
.context
- An object that knows how to resolve FO Tree context
issues.lineLength
- The length, in millipoints, of the line for which the
minimum length is being computed. This can be used by the implementation
to handle situations where the item should occupy a certain percentage
of the line.inlineSizeOptimum(org.axsl.fo.FoContext, int)
int inlineSizeMaximum(FoContext context, int lineLength)
LineNonText.inlineSizeMaximum(int)
.context
- An object that knows how to resolve FO Tree context
issues.lineLength
- The length, in millipoints, of the line for which the
maximum length is being computed. This can be used by the implementation
to handle situations where the item should occupy a certain percentage
of the line.inlineSizeOptimum(org.axsl.fo.FoContext, int)
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.