for (Theorem theorem : theoremList ){
progressBar.setValue(i++);
progressBar.repaint();
html.append("<tr>");
try {
DecodedLibraryItem decodedLibraryItem = ItemFactory.getItem(theoremsSignature, theorem, theoremId, theoremIdDef);
int nr = 0;
switch (theorem.getKind()){
case D :
nr = theoremIdDef.getId();
break;
case T :
nr = theoremId.getId();
break;
default :
}
if (theorem.getNr() != null) nr = theorem.getNr();
html.append("<td><b>");
try {
html.append(UniqueIdentifier.getInstance(theoremsSignature, article.getAid(), theorem.getKind(), nr).toString());
html.append("</b></td>");
html.append("<td>");
html.append(UniqueIdentifier.getInstance(theoremsSignature, article.getAid(), theorem.getKind(), nr).id);
html.append("</td>");
} catch (UniqueIdentifierException e) {}
html.append("<td>");
html.append(decodedLibraryItem.toString());
} catch (DliException e) {
html.append(e.toString());
}
html.append("</tr>");