final int sizeInline, final boolean hasDiscretionaryHyphen,
final boolean hasFauxSmallCaps, final boolean isLastItemOnLine)
throws TextException {
checkLayoutTarget(lineOutput);
final LineArea lineArea = (LineArea) lineOutput;
GraftingPoint graftingPoint = null;
LineText textToUse = text;
if (textToUse instanceof org.axsl.fo.FoLineText) {
final FoLineText foLineText = (FoLineText) textToUse;
graftingPoint = foLineText.getGraftingPoint();