public interface LineBreakHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleLineBreakNonText(LineOutput lineOutput,
LineNonText nonText,
int sizeInline)
Handle the results of the line-breaking by placing the specified text
on the specified line.
|
void |
handleLineBreakText(LineOutput lineOutput,
LineText text,
int startOffset,
int sizeInChars,
int sizeInline,
boolean hasDiscretionaryHyphen,
boolean hasFauxSmallCaps,
boolean isLastItemOnLine)
Handle the results of the line-breaking by placing the specified text
on the specified line.
|
void handleLineBreakText(LineOutput lineOutput, LineText text, int startOffset, int sizeInChars, int sizeInline, boolean hasDiscretionaryHyphen, boolean hasFauxSmallCaps, boolean isLastItemOnLine) throws TextException
lineOutput - The line on which the text should be added.text - The item containing the text to be added.startOffset - The index to the first character in the text item
that should be included on the line.sizeInChars - The size, in characters, of the text in the text item
that should be included on the line.sizeInline - The size, in millipoints, that this result occupies
on the line.hasDiscretionaryHyphen - Indicates whether a discretionary hyphen
should be added to the text being added.hasFauxSmallCaps - Indicates whether faux small-caps should be
applied to the text being added.isLastItemOnLine - Indicates whether this text item is the last
item on this line.TextException - For errors handling the output.void handleLineBreakNonText(LineOutput lineOutput, LineNonText nonText, int sizeInline) throws TextException
lineOutput - The line on which the text should be added.nonText - The non-text item that should be added to the line.sizeInline - The size, in millipoints, that this result occupies
on the line.TextException - For errors handling the output.This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.