Iterator<Integer> it = key.iterator();
while (it.hasNext()) {
Integer textOutlineLevelValue = it.next();
String textStyleNameValue = tocstyleList
.get(textOutlineLevelValue);
TextIndexSourceStylesElement textIndexSourceStyles = textTableOfContentSource
.newTextIndexSourceStylesElement(textOutlineLevelValue);
textIndexSourceStyles
.newTextIndexSourceStyleElement(textStyleNameValue);
}
}