IntroLink link = (IntroLink) element;
c = createImageHyperlink(parent, link);
updateLayoutData(c, element);
break;
case AbstractIntroElement.TEXT:
IntroText text = (IntroText) element;
c = createText(parent, text);
updateLayoutData(c, element);
break;
case AbstractIntroElement.IMAGE:
IntroImage image = (IntroImage) element;
c = createImage(parent, image);
if (c!=null)
updateLayoutData(c, element);
break;
case AbstractIntroElement.HTML:
IntroHTML html = (IntroHTML) element;
if (html.isInlined()) {
IntroText htmlText = html.getIntroText();
if (htmlText != null)
c = createText(parent, htmlText);
else {
IntroImage htmlImage = html.getIntroImage();
if (htmlImage != null)