final SvgElement svgElement = (SvgElement) foreign;
final SVGArea svgArea = SVGArea.makeSvgArea(svgElement, newFoArea,
graftingPoint);
newFoArea.foreignContent = svgArea;
} else if (foreign instanceof MathElement) {
final MathElement mathElement = (MathElement) foreign;
final MathArea mathArea = MathArea.makeMathArea(mathElement,
newFoArea, graftingPoint);
newFoArea.foreignContent = mathArea;
}
newFoArea.ancestorLineArea().lineContentChanged();