if (hd == null) {
final String alternativeText = findAlternativeToHD(unknownObjects);
if (alternativeText == null) {
throw new RuntimeException("Could not find a header text for subchapter");
}
content.addContent(alternativeText);
} else {
content.addContent(hd);
}
return content.getContentText();