Table cellTable = new Table("appendixcells", "tableid", "row", "column", "value", "center", "country");
for (Factbook.Appendix app : doc.getAppendix()) {
int appendixId = appendixTable.insert(app.getLetter(), html(app.getName()));
// list
AppendixList lst = app.getList();
{
int tableId = tableTable.insert("" + appendixId, lst.getLettergrouped() == null ? "0" : "1", "", "0");
int row = 0;
for (AppendixList.Entry entry : lst.getEntry()) {
StringBuilder sb = new StringBuilder();
boolean written = false;
for (Serializable content : entry.getValue().getContent())
{
if (content instanceof String) {