.getTextOutlineLevelAttribute();
stylename = "Contents_20_" + headingLevel;
ceateIndexBodyEntry(textIndexBody, stylename, text);
}
if (node instanceof TextTocMarkStartElement) {
TextTocMarkStartElement textTocMarkStartElement = (TextTocMarkStartElement) node;
Node tmp = node.getNextSibling();
while (!(tmp instanceof Text)) {
tmp = node.getNextSibling();
}
text = tmp.getTextContent();
int headingLevel = textTocMarkStartElement
.getTextOutlineLevelAttribute();
stylename = "Contents_20_" + headingLevel;
ceateIndexBodyEntry(textIndexBody, stylename, text);
}
}