children.add(formattedTextReadHandler);
return formattedTextReadHandler;
}
if (OfficeToken.IMAGE.equals(tagName))
{
final ImageReadHandler imageReadHandler = new ImageReadHandler();
children.add(imageReadHandler);
return imageReadHandler;
}
if ("sub-document".equals(tagName))
{
final SubDocumentReadHandler subDocReadHandler = new SubDocumentReadHandler(section);
// children.add(subDocReadHandler);
return subDocReadHandler;
}
}
if (OfficeNamespaces.DRAWING_NS.equals(uri))
{
final XmlReadHandler readHandler;
if (OfficeToken.IMAGE.equals(tagName))
{
readHandler = new ImageReadHandler();
}
else
{
readHandler = new NoCDATATextContentReadHandler();
}