final LineArea lineArea = (LineArea) lineOutput;
GraftingPoint graftingPoint = null;
LineNonText nonTextToUse = nonText;
if (nonTextToUse instanceof org.axsl.fo.FoLineNonText) {
final FoLineNonText foLineNonText = (FoLineNonText) nonTextToUse;
graftingPoint = foLineNonText.getGraftingPoint();
nonTextToUse = foLineNonText.getWrapped();
}
LineContentFactory factory = lineArea;
if (this.areaStack.size() > 0) {
factory = this.areaStack.peek();